The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Examples
Hi all,
Just wondering if anyone would be able to post some example code for checking if a user is logged in. I've not too much experience in PHP OOP but am happy to learn from examples. Cheers. |
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
Quote:
Does vB not have a specific function for checking if a user is logged in then? |
#4
|
|||
|
|||
you can use
PHP Code:
|
#5
|
|||
|
|||
ragtek, I'm guessing I need to include global.php and would use the above like:
PHP Code:
Found it And yeah, I was right |
#6
|
|||
|
|||
Thanks, really helpful!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|