Results 1 to 8 of 8

Thread: Thumb Rotator 2.7 New Videos only

  1. #1

    Default 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
    Last edited by MauiRedMan; 06-30-2009 at 06:21 AM.

  2. #2

    Default Re: Thumb Rotator 2.7 New Videos only

    Sweet!

    Let the good mods roll....

  3. #3

    Default 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

  4. #4
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default 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

  5. #5

    Default 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

  6. #6
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default 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:

  7. #7

    Default 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:

  8. #8
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Oh my gosh, I was revisiting this thread and the original one and my hair started to hurt. You know...there's GOT to be an easier way of doing this... I tried googling "multi image swap on mouseover" and all kinds of keyword and there's like...nothing out there for something like this (at least not that I could find). My gosh.
    If it's not fun, stop doing it!

Similar Threads

  1. Banner Rotator
    By Procom12 in forum Feature Requests
    Replies: 0
    Last Post: 07-30-2008, 03:17 PM
  2. Max Thumb Across On New Videos
    By scwebmaster in forum Template Modifications
    Replies: 0
    Last Post: 07-27-2008, 09:31 AM
  3. Thumb Pics
    By browniegirl in forum Template Modifications
    Replies: 4
    Last Post: 02-19-2008, 08:40 PM
  4. .3gp no sound, .mp4 no thumb
    By tradertt in forum Installation Support
    Replies: 2
    Last Post: 09-05-2007, 08:39 AM
  5. Cant convert to flv and no thumb
    By CHICAN0 in forum Installation Support
    Replies: 15
    Last Post: 06-27-2007, 11:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •