Go Back   BuyScripts Forums > vShare YouTube Clone > Template Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-31-2009, 09:22 PM
Member
 
Join Date: Oct 2007
Posts: 62
Default $view.new_videos

Where is the code that stores or create these variables in the index.php file?
$view.new_videos
$view.recent_videos

I am trying to modify one so it is RND() but need to find where these are controlled.

Maybe a differently worded question would be... What exactly do these lines do?
__________________
My sites with vshare. --- prowrestlingplus.com oldskoolmedia.net CasselmansCanada.com

Reply With Quote
  #2 (permalink)  
Old 01-01-2010, 08:09 AM
Super Moderator
 
Join Date: Sep 2007
Posts: 575
Default

These are variables storing new and recently viewed videos. You can see the code in index.php
__________________
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
install@hostonnet.com
Reply With Quote
  #3 (permalink)  
Old 01-02-2010, 06:27 AM
Member
 
Join Date: Oct 2007
Posts: 62
Default

Quote:
Originally Posted by hostonnet View Post
These are variables storing new and recently viewed videos. You can see the code in index.php
Yes, I know they are in the index.php file. But where do the "new" and "recently" come from and where is the content generated or changed?

OK, I found the source I think - the htaccess file. Now why can I not replace the word new with random and get it to generate a random group of videos?
__________________
My sites with vshare. --- prowrestlingplus.com oldskoolmedia.net CasselmansCanada.com


Last edited by jayscot; 01-02-2010 at 06:34 AM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:33 PM.


Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO