The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
theres barely any code in my index.php file.??
im a newbie to the 10th power my php index barely has anything in it... am I using the wrong one
<?php include ("mainfile.php"); $index = 1; global $menu_id,$menu,$Pmenu,$activeusers; $Pmenu="P_thememenu_homepage"; include("header.php"); centerblocks(); echo "<br>"; // This is the referer routine from Nuke, it's handy so I left in, you // may want to disable or remove it if you need to conserve server resources. if ($httpref==1) { $referer = getenv("HTTP_REFERER"); if ($referer=="" OR eregi("^unknown", $referer) OR substr("$referer",0,strlen($nukeurl))==$nukeurl OR eregi("^bookmark",$referer)) { } else { mysql_query("insert into $prefix"._referer." values (NULL, '$referer')"); } $result = mysql_query("select * from $prefix"._referer.""); $numrows = mysql_num_rows($result); if($numrows>=$httprefmax) { mysql_query("delete from $prefix"._referer.""); } } // End of nuke referer include("footer.php"); ?> |
#2
|
|||
|
|||
Im tryin to install this top 10 hack.... and its asking me to find this line:
$numbermembers=number_format($numbersmembers['users']); and add the stuff after it but that code is nowhere to be found in my index.php |
#3
|
||||
|
||||
You are looking at the wrong index.php. Look at the index.php in your forum directory. That index.php you posted is for vBPortal.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|