Quote:
Originally Posted by Ripparinn
Hello fellas,
I was wondering if anyone could help me with this one... I have an autobot on my tracker and some of the users don't like the "flooding" of torrents on the browse page, so I was wondering if i could just have another browse page only for the autobot torrents?
|
You don't need two pages. Edit browse.php and add...
HTML Code:
if(isset($_GET["bot"]) ? $_GET["bot"] : 0 == 1) {$addparam .= "bot=1&";}
if(isset($_GET["bot"]) ? $_GET["bot"] : 0 == 1) {$wherea[] = ' owner = 7 ';}
Change the id (owner =7) to your bots user id.
Then add this to your menu
http://yoursite.com/browse.php?bot=1