The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|