Results 1 to 3 of 3

Thread: Time on Videos Being Watched Flash File

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

    Default Time on Videos Being Watched Flash File

    in recent_viewed_xml.php

    Look for

    video_duration

    change to

    video_length

    That should fix it.

    You can also change the amount of "recently viewed" from 5 to another number. As it is right now, the same 5 keep rolling until someone watches something. You do that where it says LIMIT 0, 5"; you can change it to LIMIT 12"; (or some other number) which is what the roller for version 2.6 was set for.
    If it's not fun, stop doing it!

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

    Default Re: Time on Videos Being Watched Flash File

    ..AND there is one other thing you'll want to do!

    Look for

    Code:
    $sql = "SELECT * FROM `videos` WHERE 
           `video_type`='public' AND 
           `video_active`='1' 
            ORDER BY `video_view_time` DESC 
            LIMIT 0, 5";

    Change it to

    Code:
    $sql = "SELECT * FROM `videos` WHERE 
           `video_type`='public' AND 
           `video_active`='1' AND
    	 `video_approve`='1'
            ORDER BY `video_view_time` DESC 
            LIMIT 0, 5";
    They left off the "approved" part...right now if you have unapproved videos in your queue, they will still show on the flash file.
    If it's not fun, stop doing it!

  3. #3
    Join Date
    May 2009
    Location
    On Earth
    Posts
    15

    Default Re: Time on Videos Being Watched Flash File

    Thanks for the fix it works perfectly :D :mrgreen:
    I have a heavily modified version of vShare 2.8 beta WITH my own mobile addon at 80TOONS.com . Please let me know what you think.

    HOSTING WITH FULL vShare SUPPORT, my mobile addon support for vShare 2.8 & FFmpeg permanent video water marking at GIFTSnMORE.com . Thanks

Similar Threads

  1. !!!!Videos Being Watched Flash File Fix Is HERE:
    By grynmoors in forum Template Modifications
    Replies: 0
    Last Post: 05-09-2009, 09:20 AM
  2. TV Static Videos Watched
    By l1some in forum Template Modifications
    Replies: 0
    Last Post: 02-28-2009, 12:08 AM
  3. Videos Being Watched Right Now...
    By setif19 in forum Template Modifications
    Replies: 128
    Last Post: 08-03-2008, 03:57 AM
  4. Videos being watched right now
    By akubane in forum Template Modifications
    Replies: 0
    Last Post: 04-30-2008, 09:40 PM
  5. videos watched right now
    By almira in forum Template Modifications
    Replies: 1
    Last Post: 04-03-2008, 12: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
  •