Thumb Rotator 2.7 New Videos only
No Longer Works
Alright been working on this for a minute
Thumb rotator for New Videos only So far
First Backup Backup Backup
Using js scripts from http://webgeek-design.com
Second download js scripts from here http://www.viewmyvids.com/thumbjs.zip and copy to js folder
Third
add this to header.tpl
Code:
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/thumbchange1.js"></script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/thumbchange2.js"></script>
<script type="text/javascript">YAHOO.thumbchange.register(50);</script>
fourth
then open index.tpl in templates dir look for this code
Code:
[img]{$view.new_videos[i].video_thumb_url}/thumb/{$view.new_videos[i].video_folder}1_{$view.new_videos[i].video_id}.jpg[/img]
fifth
Replace with this
Code:
[img]{$view.new_videos[i].video_thumb_url}/thumb/{$view.new_videos[i].video_id}.jpg[/img]
Save the files your done
Any improvements would be greatly welcomed
works on my site
http://www.viewmyvids.com
A little buggy working on them now Use at your own risk
Re: Thumb Rotator 2.7 New Videos only
Sweet!
Let the good mods roll....
Re: Thumb Rotator 2.7 New Videos only
Quote:
Originally Posted by carefree
Sweet!
Let the good mods roll....
Thank you
Hope this worked for you it was late when I posted this.
will be working on the rest of them today and will update as I go
:D
Re: Thumb Rotator 2.7 New Videos only
This roll type do not work anymore because the new vshare changes the image folder at video conversion.
Also is your first video do not have image and that is the reason.
the src image path should be like this
Code:
src="{$view.new_videos[i].video_thumb_url}/thumb/{$view.new_videos[i].video_folder}1_{$view.new_videos[i].video_id}.jpg
So the best way is to use this for image rotating for all videos anywhere in the site:wink:
viewtopic.php?f=12&t=3486#p14726
Re: Thumb Rotator 2.7 New Videos only
Quote:
Originally Posted by RAMMSTEIN
This roll type do not work anymore because the new vshare changes the image folder at video conversion.
Also is your first video do not have image and that is the reason.
the src image path should be like this
Code:
src="{$view.new_videos[i].video_thumb_url}/thumb/{$view.new_videos[i].video_folder}1_{$view.new_videos[i].video_id}.jpg
So the best way is to use this for image rotating for all videos anywhere in the site:wink:
viewtopic.php?f=12&t=3486#p14726
I got it working on my site the problem was where the local thumbs are now stored I soft linked them and they work again
but the topic viewtopic.php?f=12&t=3486#p14726 is an old one but I am working out the bugs.
Thank you for your reply
OK this is what is confusing your old thumbs before the update are in the thumbs directory your new files are in thumbs/4ca4238a0b
but if you use bulk import from admin area they go to the thumbs if they are embed
Re: Thumb Rotator 2.7 New Videos only
Quote:
Originally Posted by MauiRedMan
OK this is what is confusing your old thumbs before the update are in the thumbs directory your new files are in thumbs/4ca4238a0b
but if you use bulk import from admin area they go to the thumbs if they are embed
Yes that's i am telling you. Because some sites have their users to upload videos. so they will have problems with this type of rotator :wink:
Re: Thumb Rotator 2.7 New Videos only
Quote:
Originally Posted by RAMMSTEIN
Quote:
Originally Posted by MauiRedMan
OK this is what is confusing your old thumbs before the update are in the thumbs directory your new files are in thumbs/4ca4238a0b
but if you use bulk import from admin area they go to the thumbs if they are embed
Yes that's i am telling you. Because some sites have their users to upload videos. so they will have problems with this type of rotator :wink:
Thank you again
people who don't have root access to their server will have problems if they cannot do a ln -s command on their server will looking for a work around right now
also looking at the other one you posted to see what needs to be changed to get it working :wink: