View Single Post
Old
  (#7 (permalink))
OpositeAxis
Junior Member
 
Status: Offline
Posts: 5
Join Date: Mar 2003
Location: Valencia, Venezuela
04-08-2003, 12:23 AM

That's weird.

This is the piece of code of the index.php that comes in the hack
Code:
echo "<center>"._PRIVATEMESSAGES."

";
	$result2 = sql_query("select to_userid from ".$prefix."_priv_msgs where to_userid='$userinfo[uid]'", $dbi);
	$numrow = sql_num_rows($result2, $dbi);
This is the code that i use in my site:
Code:
echo "<center>"._PRIVATEMESSAGES."

";
	$result2 = sql_query("select privmsgs_to_userid from $prefix"._bbprivmsgs." where privmsgs_to_userid='$userinfo[uid]' and privmsgs_type='5'", $dbi);
	$numrow = sql_num_rows($result2, $dbi);
And works fine (in fact is one of the few things that are working in my site right now ops: ), i use it in several blocks and in some fixes that i made in my site.

Well, you haven't modded your_account or install NSN your_account tweak?
   
Reply With Quote