Quote:
Originally Posted by Hialls
Currently im coding a match/game section into my website that will be based around vbulletin, im just curious if anyone would be intrested if i made a clanbase version of this? With multiple clans and ladders...
|
i used gohans for a long time on my site ,but with vb3 it wont work anymore ,so i decided to change the code myself ,unfortunatly something is wrong cause the page loads but its not showing any date ,the layout and everything works tho
i have used for a long time the clanbase hack from gohan version 1.1
Quote:
<?
// Clanbase v1.0 Hack by Saxxon (aka Gohan)
//----- Config -----
$clanid = 000000; // Your Clanbase ID Number
$clanladder = 000; // Your Clan Ladder ID Number (e.g. Quake3,Medal of Honor,etc..)
$clanresultlistlimit = 100; // Limit of Result List
$clanupcominglistlimit = 10; // Limit of Upcoming List
//----- End -----
error_reporting(7);
$templatesused.='clanbase_home,clanbase_upcoming,c lanbase_result';
require("./global.php");
eval("\$clanbase_upcoming = \"".gettemplate("clanbase_upcoming")."\";");
eval("\$clanbase_result = \"".gettemplate("clanbase_result")."\";");
eval("dooutput(\"".gettemplate("clanbase_home")."\ ");");
?>
|
the code i changed (cause gettemplate is not used anymore dooutput either)
Quote:
<?
// Clanbase v1.0 Hack by Saxxon (aka Gohan)
//----- Config -----
$clanid =xxxx; // Your Clanbase ID Number
$clanladder =xxx; // Your Clan Ladder ID Number (e.g. Quake3,Medal of Honor,etc..)
$clanresultlistlimit =100; // Limit of Result List
$clanupcominglistlimit =10; // Limit of Upcoming List
//----- End -----
error_reporting(7);
$templatesused.='clanbase_home,clanbase_upcoming,c lanbase_result';
require("./global.php");
eval('$clanbase_upcoming .= "'. fetch_template('clanbase_upcoming') . '";');
eval('$clanbase_result .= "'. fetch_template('clanbase_result') . '";');
eval('print_output("' . fetch_template('clanbase_home') . '");');
?>
|