Thumb folder limitation

Discuss of AVS script, custom modifications or anything related to this video script

Re: Thumb folder limitation

Postby nuevolab » Sun Jan 09, 2011 9:32 pm

I will test it if I find the time soon.
Now first thing I need to finish is another Nuevoplayer update which is finished, now testing all new pages before making it live.
nuevolab
Site Admin
 
Posts: 99
Joined: Sun Sep 06, 2009 2:32 am

Re: Thumb folder limitation

Postby wazburn » Tue Jan 11, 2011 2:50 pm

found the fix thanks, will check more
Last edited by wazburn on Mon Jan 24, 2011 7:20 am, edited 1 time in total.
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Re: Thumb folder limitation

Postby wazburn » Thu Jan 13, 2011 9:55 am

bump
Last edited by wazburn on Sun Jan 23, 2011 5:50 am, edited 1 time in total.
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Re: Thumb folder limitation

Postby wazburn » Sun Jan 23, 2011 5:31 am

theres a little problem, the related videos under the video player is that when you click on the Previous-Next button it is not calling the thumbs on the right directory but rather calls the thumbs from the directory number of the current playing video.

Tried to fix the related_videos.php from ajax folder but did not work, might just missing something.
Can you suggest the good fix for this? :?:
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Re: Thumb folder limitation

Postby nuevolab » Sun Jan 30, 2011 3:17 am

Indeed this is file "include/ajax/related.videos.php"

You have there a line with thumb:
Code: Select all
$code[]     = '<img src="' .$config['BASE_URL']. '/media/videos/tmb/' .$video['VID']. '/'.$video['thumb'].'.jpg" title="' .htmlspecialchars($video['title'], ENT_QUOTES, 'UTF-8'). '" alt="' .htmlspecialchars($video['title'], ENT_QUOTES, 'UTF-8'). '" width="160" height="120" id="rotate_' .$video['VID']. '" /><br />';


maybe if you replace it with below code it will work:
Code: Select all
$subdir = $config['BASE_URL'].'/media/videos/tmb/'.ceil($video['VID']/1000)."/";
$code[]     = '<img src="' .$subdir.$video['VID']. '/'.$video['thumb'].'.jpg" title="' .htmlspecialchars($video['title'], ENT_QUOTES, 'UTF-8'). '" alt="' .htmlspecialchars($video['title'], ENT_QUOTES, 'UTF-8'). '" width="160" height="120" id="rotate_' .$video['VID']. '" /><br />';


Just give a try.
nuevolab
Site Admin
 
Posts: 99
Joined: Sun Sep 06, 2009 2:32 am

Re: Thumb folder limitation

Postby wazburn » Sun Jan 30, 2011 10:32 am

SWEET!!! your a genius man from heaven!!! :D

its 100% complete working and tested!

thank god therz nuevolab with you.
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Re: Thumb folder limitation

Postby wazburn » Mon Mar 28, 2011 1:47 pm

1.
hi buddy, i run into some problem,. whenever i upload manually a video it does not generate a thumb BUT when I grab a video using massgrabber it generates a thumb just fine, I wonder if there is another function that needs to be edited for the uploads, because when I check the /tmp/thumbs/ directory it has the VID and the temporary thumb image in it.


2. /public_html/media/player/related.php
The thumb related videos 'in player' are not showing, tried to edit this file related.php but no luck, better to seek your advice buddy.


thanks,
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Re: Thumb folder limitation

Postby wazburn » Mon Apr 04, 2011 7:42 pm

#1 seem to be fixed now, adrian of adultscriptpro helped me.

#2 ??? hope dargre can help me on this.thanks.
wazburn
 
Posts: 11
Joined: Thu Dec 30, 2010 4:45 am

Previous

Return to AVS

Who is online

Users browsing this forum: No registered users and 0 guests