The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=
mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 |
#12
|
||||
|
||||
yupz, this line:
PHP Code:
|
#13
|
||||
|
||||
the only thing i can think of is that userid="$touserinfo[userid]" needs to be userid="$bbuserinfo[userid]"...
but still it doesn't work... exact error for me: Fatal error: Call to a member function on a non-object in functions.php on line 209 everytime thesame ++++ :bored: :dead: |
#14
|
||||
|
||||
That's weird because that's the exact query used in private.php. Get Zzed to release his hack or something.
|
#15
|
||||
|
||||
Okay try:
$pmcount = mysql_query("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid='$touserinfo[userid]'"); If that doesn't work try: $pmcount = mysql_query("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid='$bbuserinfo[userid]'"); If that doesn't work then get Zzed to release his hack. |
#16
|
||||
|
||||
Here is the hack: https://vborg.vbsupport.ru/showthrea...threadid=42360
|
#17
|
||||
|
||||
Vincent]Okay install that hack and after:
PHP Code:
PHP Code:
|
#18
|
||||
|
||||
why doesn't it work when i just put $pmcount[msgs] in the templates? i should get the number of pm's right? but i get nothing! (talking about Zzeg's hack...)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|