Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#176 Re: Pre-sale questions » New client unable to email » 2015-06-13 23:42:59

Hey

You can use this forum to get informations and some of users or Adrian will reply to you, Otherwise use one of this 2 Emails to contact him directly

adrian@adultscriptpro.com
adrian.teodor@gmail.com

#177 Bug Reports » [FIXED IN 2.0.6] Module delete » 2015-06-05 10:09:18

thiva7
Replies: 1

Module delete icon not working

#178 Re: Development » Graber Development » 2015-06-04 14:16:19

I can add  to porn5 to the graber if you want.

contact me to paris_thiva@yahoo.gr if you want

#179 Re: Development » Graber Development » 2015-05-19 09:49:19

symtab wrote:

I'm either thinking, you add a url from where the script will always add videos (like the mass embedder works now) or you add the urls one by one in the admin and the script will process these videos in the background (this means you have total control over what videos are added, but you need to invest more time).


Why not both method tongue . Will convert and host videos rigth?

#180 Re: Feature Requests » number of videos by resolution » 2015-04-29 16:48:37

Nuevolab wrote:

Mr thiva7, things are not that simple as you post in your example
using "doucument.write" you will only destroy current template. Javascript write result replaces rest of content,.
Have you tried it on a website with some content, not just blank page?

Display rules are defined in css, and this is the right place to manipulate display depending on screen size.
If something is breaking layout, it's always possible to fix from css or template level.


No i didnt test it since i dont know good coding yet..am trying  to learn yet .so i ask if is possible


symtab wrote:

@thiva7: it works for you, because its a php file and then on top of that its javascript. You cannot get the width/height from php itself, only with javascript and
then pass it to php (however this cannot be done in the same file). what could be done is after the resolution detect to hide the videos that dont display correctly.

am just asking if is posible.if you can do it pls add it in next versions

Thanks

#181 Re: Feature Requests » number of videos by resolution » 2015-04-29 09:25:19

hmm for me is work

here is

http://mathimata.byethost14.com/test1.php

is not show you resolution?

and the code

<?php
$width = '<script type="text/javascript">
document.write(screen.width);
</script>';
$height = '<script type="text/javascript">
document.write(screen.height);
</script>';

echo $width ."x". $height;

?>

#182 Re: Feature Requests » number of videos by resolution » 2015-04-28 17:53:29

symtab wrote:

Hmm...from what i know you need to get the resolution via javascript and then send it via ajax to php. Will research and see what i can do in 2.2.

Hey

Actually is not need ajax....and it is javascript inside php

<script type="text/javascript">
document.write(screen.height+screen.width+);
</script>

so this code i edit it and i made it simple Variables in php

$width = '<script type="text/javascript">
document.write(screen.width);
</script>';
$height = '<script type="text/javascript">
document.write(screen.height);
</script>';

so since you have $width and  $height you can do any thing you want smile

#183 Re: Feature Requests » number of videos by resolution » 2015-04-28 12:31:33

huh?

i have find way...pls check here
http://mathimata.byethost14.com/test1.php

if give u screen resolution i can send you the code.or if this not work in javascript?

Thank you

#184 Feature Requests » number of videos by resolution » 2015-04-27 19:42:31

thiva7
Replies: 10

Hey

Would be nice to have number of videos for
Being Watched Videos
Featured Videos
Most Recent Videos
Popular Models
and anything on front page by screen resolution

for example i have setop 32 videos for Most Recent Videos and in defrent resolution show up bad.

Thank you

#185 Bug Reports » [NOT A BUG] Like Unlike » 2015-04-13 15:46:33

thiva7
Replies: 1

When Unlike first time video its show 100%

#186 Feature Requests » Featured videos » 2015-04-03 12:16:34

thiva7
Replies: 1

option to search for what videos are Featured.

Thank you

#188 Troubleshooting » Graber reconvert » 2015-03-31 15:08:15

thiva7
Replies: 1

I found a small problem,

when use single URL to grab video its convert from FLV to mp4 and works OK, but when use MULTI Grab its save video as FLV.

#189 Development » Graber » 2015-03-31 14:53:19

thiva7
Replies: 1

Hey Adrian,

in source code of a tube site i have find this

<script type="text/javascript" charset="utf-8">
  
var mediaId = 2324489;
var modelId = 713;

var mediaTitle = "Chantal Ferrera and her huge hangers get satisfied";

var mov_thumb = 'http://p4a.gexo.com/15572/1557289_15.jpg';
var mov_thumbs = 30;
var pl_dur = 1847;
var delay_creatives = true;
var flashVars = {d: 'eyJ1cmwiOiJleUoxSWpwN0ltd2lPaUpoY1hGMkpEMDlZMmxzTW0wbVkzbDZkbUZ3YkhGa2VDWmpabTQ5Ym1aaVBURTFOVGN5UFRFMU5UY3lPRGxmZGpNMk1DWnVkalFcL2JHVmlLREl3TVRVd016TXhN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$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v360&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(1001^zlq(3942400b^amra(0796431c89d918i7m910g"},{"fname":"1557289_p540.mp4","sUrl":"aqqv$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v540&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(2819^zlq(11105280b^amra(0822bmbb4cd7266g946bm"},{"fname":"1557289_p720.mp4","sUrl":"aqqv$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v720&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(3341^zlq(13158400b^amra(046062982imm25m5g120m"}];
var flvjson = [{"fname":"1557289_p360.mp4","sUrl":"aqqv$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v360&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(1001^zlq(3942400b^amra(0796431c89d918i7m910g"},{"fname":"1557289_p540.mp4","sUrl":"aqqv$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v540&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(2819^zlq(11105280b^amra(0822bmbb4cd7266g946bm"},{"fname":"1557289_p720.mp4","sUrl":"aqqv$==cil2m&cyzvaplqdx&cfn=nfb=15572=1557289_v720&nv4?leb(20150331120659^lem(20150331160659^zx(-1^rx(3341^zlq(13158400b^amra(046062982imm25m5g120m"}];
var player_btns = {"1557289_p360.mp4":{"w":640,"h":360,"br":770},"1557289_p540.mp4":{"w":960,"h":540,"br":2169},"1557289_p720.mp4":{"w":1280,"h":720,"br":2570}};
  </script>

am tryying to get source of video with this php code

preg_match('/mediaTitle = "(.*?)";/', $originalPage, $match);
		if (isset($match['1']) && $match['1']) {
			$video_title = trim($match['1']);
			preg_match('/fname":"(.*?)",/', $originalPage, $match);
			if (isset($match['1']) && $match['1']) {
			
				$video_url_enc	= trim($match['1']);
				
				$hotLink = urldecode(AesCtr::decrypt($video_url_enc, utf8_encode($video_title), 256));
			echo $video_url_enc;

Its encrypted code but i cant get back the video source hmm

#190 Re: Development » Adult Script Pro 2.0.0 Development » 2015-03-30 08:38:17

symtab wrote:

I'm doing upgrade tests and then we release later today.

don't be so serious. .I'm joking smile . ..I do t have money to buy it yet anyway  tongue

#191 Re: Development » Adult Script Pro 2.0.0 Development » 2015-03-30 06:23:39

please report adrian. .he said I'll relase it today and he didn't big_smile

#193 Re: Development » Adult Script Pro 2.0.0 Development » 2015-03-26 23:18:55

Samsung Galaxy Note 3

is just look bad sad

#194 Re: Development » Adult Script Pro 2.0.0 Development » 2015-03-26 19:31:55

Its look like defrent last weeks, in desktop is ok, but from phone is hard to follow and read anything

#195 Re: Development » Adult Script Pro 2.0.0 Development » 2015-03-26 17:48:47

we are close to release?
btw can you change asp forum to?  is look weird last week's .

#196 Re: Development » Dead Hotlinked videos » 2015-03-24 17:42:47

symtab wrote:

in components/check.php add this:

$tpl->load(array('header', 'video_check', 'footer'));

nah you not understand me smile . I have done that ..it's OK .
the problem is I can't make functions  to work in template file .
I mean this

in components/check.php I have

function check_url ( )
some php code



how I will call this function in template file?

#197 Re: Development » Dead Hotlinked videos » 2015-03-24 13:49:58

symtab wrote:

Pretty nice. I like the check functions. Maybe i will integrate something like this in admin :-)

A few ideas that you can use to make your code better:
1. Use the modules/video/helpers/manage.php to delete the video (you can check admin/modules/video/components/manage.php and see how its used).
2. Use $video_id, instead of $url when deleting (there is no key on $url and with 10k videos it will be slow).
3. Mark videos as deleted (this way search engines will still send you traffic and the visitor will select another video from the related videos).

Thanks for checking smile

Yeah add it if is possible ,its nice feature and need one.

1) i check it but is pro coding for my skills big_smile
2) i will update this.
3) same as 2.

now am trying to make it module but i have some troubles tongue

i create files and i have add codes and check should work on

index.php?q=video/check

but i cant "connect"
admin/module/video/components/check.php
with
admin/templates/default/video_check.tpl.php

i cant call my function from check php sad

if i learn that i guess i can create some simple modules like that....like Mp4 reconvert all flv videos etc... ( i have ready code for that )

#198 Development » Dead Hotlinked videos » 2015-03-23 20:36:03

thiva7
Replies: 5

Hey Guys ,

Last few month am trying to learn coding smile , so here my first "job" for asp.

i create a small script that check Hotlinked videos and if is dead delete it from DB.
PS: i didnt add option to delete thumbs too yet, i want to be sure first that work Perfectly.For me work well so far... wink
PS2: can added to cron to check every ~week or month etc

In line 6 edit "PREFIXvideo" with your video table, if you not use PREFIX make it video.
You can run it from browser OR you can add to cron.
If you want to see in browser the result of check just Uncomment
//echo "$video_url: <b>Working</b><br>";
AND
//echo "$broken: <b>Video deleted</b><br>";


<?php
define('_VALID', true);
require 'libraries/bootstrap.php';

$db = VF::factory('database');
$db->query("SELECT url FROM PREFIXvideo WHERE url != ''");
$videos	= $db->fetch_rows();


function check_url($url) {
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HEADER, 1);
    curl_setopt($ch , CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_NOBODY, true);
    $data = curl_exec($ch);
    $headers = curl_getinfo($ch);
    curl_close($ch);

    return $headers['http_code'];
}

foreach ($videos as $video) { $video_url = $video['url']; 	
$check_url_status = check_url($video_url); 	
if ($check_url_status == '200') 	{
	//echo "$video_url: <b>Working</b><br>"; 
}else {
    $broken = $video_url;
    $db->query("DELETE FROM aspvideo WHERE url = '$broken'");
	//echo "$broken: <b>Video deleted</b><br>"; 
	}
 }

VF::close();
?>

Have fun.

#199 Re: Open Discussion » ass update » 2015-03-23 11:34:04

one more requests. ..did you change something in asp forum ?. last days when I visit it via my phone show up weird. before was perfect sad

#200 Open Discussion » ass update » 2015-03-23 07:54:44

thiva7
Replies: 3

hey adrian can you send last version of adult search script.  btw I have 1.0.12

Board footer

Powered by FluxBB