Quote:
Originally Posted by bigtime
Even though they appear as custom categories, they're really just a keyword search.
Edit the vBTube template.
Find this:
Code:
<strong>»</strong> <a href="vBTube.php?do=cat&catid=2">Autos & Vehicles</a><br>
Directly above that, put this:
Code:
<strong>»</strong> <a href="vBTube.php?do=search&search=Thaiboxing">Thaiboxing</a><br>
<br>
--------------------
<br><br>
Of course, you'll replace "Thaiboxing" with the keyword you wish to display for the category.
To make a default category:
Open vBTube.php. On line 46 find this:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'today';
}
Replace it with this:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'search';
$search = 'martial arts';
}
Replace 'martial arts' with the search term you want to appear as the default.
Hope that helps...
Tim
|
I can't find this in the vBTube.php? Is there a new way to do it on vBTube 1.2.9?
I can use it, but I really don't want to direct other users to it until I have the ability to get the smut off the first page.