![]() |
Safest thing is to compare the original unhacked index.php and the hacked one using Beyond Compare or Araxis Merge - one of the variables in those 3 lines of code you posted is not being used properly.
|
uh....
index.php on old forum PHP Code:
PHP Code:
PHP Code:
|
No, the problem is obviously not in the PM queries, but in another part of your index. I am saying to compare the WHOLE index.php because one of the user variables are not being checked properly.
|
hmmm, is there a way i can contact u on some instant messenger? this is all confusing
|
Try replacing what you have there with this:
PHP Code:
|
I'm at work. :) So no. Compare the index.php with an unhacked one, and you will find the missing or erroneous code.
|
damn, i dont know where to start. index.php is a kinda big file to look word for word, plus with the hacksinstalled it will be harder
|
DarkDraco07, replace the code I gave you and see if that does anything.
|
1sec
|
replace the
$allpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers"); $newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0 $ignoreusers"); $unreadpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND messageread=0 AND folderid=0 $ignoreusers"); right? |
All times are GMT. The time now is 08:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|