The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
howto display a user's post count(errors inside?)
I wanted to display user post count and rep in a php file, I added total forum post count and total forum usercount and that worked out perfectly, when i add the user post count by supplying a userID it doesn't seem to work...
here is some sample code, sorry for the messy code, I'm trying to learn as I go PHP Code:
I also tryed : PHP Code:
Code:
Invalid SQL: SELECT posts FROM vb_user WHERE username = KingPin; MySQL Error : Unknown column 'KingPin' in 'where clause' Error Number : 1054 Any help appreciated. Edit got it : PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|