PDA

View Full Version : clanbase hack


patja
07-14-2004, 05:23 PM
i have used for a long time the clanbase hack from gohan version 1.1

it always worked fine ,now with testing the new vb 3.0
it didnt anymore so i changed the code similar to what vb used
the old code
<?
// 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,clanbase_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)
<?
// 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,clanbase_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') . '");');

?>


there are no errors give when showing the page ,but nothing else either ,it just shows the page with no data on ,any suggestions anyone ,thanks in advance

poseidon
07-14-2004, 09:56 PM
screenshots or demo?