Quote:
Originally posted by RayMatrix
. . .but your explanation is to hard for me to understand.
|
ok let me clarify:
find the hack code in index.php (the one you referred above) and cut (delete) it.
Now go at the end of index.php, find:
PHP Code:
eval("dooutput(\"".gettemplate('forumhome')."\");");
Before that paste (insert) the hack code, then you'll be fine..
Quote:
Is there any place where i can read about the Variables so i can understand where '$bbuserinfo' comes from ?
|
$bbuserinfo variable saves the info of the page visitor according to the "user" and "userfield" tables. Field names in these tables are also references in this variable. So for example the "usergroupid" field in user table is $bbuserinfo[usergroupid]. Check the fields in these 2 tables and you'll see what this variable keeps.
Quote:
And is it right that your Code only get called in index.php when i insert the code as step 4 tells to do ?
|
What I meant was that: Check where the hack code resides and where your variable $allpm[messages] gets a value. The hack code is parsed BEFORE $allpm[messages] is assigned a value so it couldnt work in your announcement.
If you heed to my advice and change the code's location, the hack would parse the $allpm[messages] variable because it would already have a value BEFORE hack runs..
See?