Quote:
Originally Posted by LPH2004
Is there a way to narrow the search down immediately on the vBTube.php page so that only certain topics are shown? For example, a technology site might only want to show the technology videos on that opening php page. The other videos can be made available through the left menu You can edit vBTube.php to show a default search page instead.
|
in
vBTube.php find (updated for v1.2.6):
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'today';
}
and change to:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$search='<insert search term>';
$_GET['do'] = 'search';
}
replace <insert search term> with your search term and that'll show the search instead of the featured videos on the frontpage.