The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display user-info on non-vb page
Heres what I want:
If a user is not logged in I would like a login box to appear. If they are logged in then I would like the following to show up: Quote:
So how do I do this? Thanks |
#2
|
|||
|
|||
its easy
if (!$bbuserinfo['userid']) { // login code here } else { // user info here } |
#3
|
|||
|
|||
yes but then how do I display all the other stuff. such as username, number of posts, pm's, etc
|
#4
|
|||
|
|||
echo "User Posts : $bbuserinfo[posts]";
|
#5
|
|||
|
|||
what files do I have to include to get thise variables accesible in a non vb page?
|
#6
|
|||
|
|||
|
#7
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|