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.
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.
Re: Time on Videos Being Watched Flash File
Thanks for the fix it works perfectly :D :mrgreen: