Hello!
I was wondering if someone could help out with some script which I can insert to possibly display random videos on the front page (home page) then showing last added videos?
I know popular video page shows videos with most views, but if there could be some way to show random videos on home page?
And, if I am not asking too much may be a way to also bookmark some selective video as "Featured Videos".
Thanks for the support!
Naughty Head.
it will be very useful for me also..
(29-01-2011 04:46 PM)sad Wrote: [ -> ]it will be very useful for me also..
Thanks!
Any thoughts on how to do it though?
or it is not possible in current version?
NaughtyHead @
http://www.naughtyhead.com
Anyone?? I don't want to Bump again, if noone seems interested.
Helloo,
i found out how to make random videos on index page and all categories
here it is:
in function file: root/include/function.php
replace this:
order by tarih desc
to:
order by rand()
till line 540
and go to admin panel, section CACHE, below on left side
change Cache Life Time to 1 second.
Pres: Delete All Cache Files on Videos Thumb Tables Cache :
go to your site and REFRESH
Thats it.
it will cause all videos cames random
in home page, other pages of home pages and also in category pages
(12-02-2011 07:11 PM)Role-Model Wrote: [ -> ]Helloo,
i found out how to make random videos on index page and all categories
here it is:
in function file: root/include/function.php
replace this:
order by tarih desc
to:
order by rand()
till line 540
and go to admin panel, section CACHE, below on left side
change Cache Life Time to 1 second.
Pres: Delete All Cache Files on Videos Thumb Tables Cache :
go to your site and REFRESH
Thats it.
Correction, in this case , pagination will not work
i have posted a new "function" to add a "random video" to the side bar.
would you like me to try and make one which can be used in
center content to display the actual video?
or is a thumbnail of the video all you are after?