Free Adult Tube-Video Script Forum
Random Video on Home Page - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Random Video on Home Page (/showthread.php?tid=230)



Random Video on Home Page - naughtyhead - 29-01-2011 06:26 AM

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.


RE: Random Video on Home Page - sad - 29-01-2011 04:46 PM

it will be very useful for me also..


RE: Random Video on Home Page - naughtyhead - 30-01-2011 10:54 PM

(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


RE: Random Video on Home Page - naughtyhead - 05-02-2011 01:50 AM

Anyone?? I don't want to Bump again, if noone seems interested.


RE: Random Video on Home Page - admin - 05-02-2011 05:21 AM

ok i will think it in new version
please post your request here http://forum.freeadultscript.com/showthread.php?tid=224
so i can see it your request in v3 then i can do it for you in new version


RE: Random Video on Home Page - Role-Model - 12-02-2011 07:11 PM

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.


RE: Random Video on Home Page - admin - 12-02-2011 07:22 PM

it will cause all videos cames random
in home page, other pages of home pages and also in category pages


RE: Random Video on Home Page - Role-Model - 12-02-2011 07:24 PM

(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 Sad


RE: Random Video on Home Page - Punktured - 11-03-2011 05:48 PM

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?