The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP code to determine user status
I want to create a few web pages for our users with admin status.
Is it possible to use PHP to determine whether or not a user is logged in, and what type of user they are? Links to sample code would be greatly appreciated. We are currently running v. 3.0.7, but plan to upgrade in the near future. |
#2
|
|||
|
|||
Anybody? I thought this would be simple.
|
#3
|
|||
|
|||
Does anyone actually read these messages???
|
#4
|
||||
|
||||
We do read these messages....It's only because you're using 3.0.x that it's going to be hard to get a reply.
|
#5
|
|||
|
|||
Thanks! I'll get updated this weekend. Then I'll be back!
|
#6
|
|||
|
|||
Okay, we upgraded our license and upgraded to 3.6.7.
I'm looking for PHP code to determine if someone is logged in, and what kind of user they are. Are there any example files I can use? |
#7
|
|||
|
|||
the vBulletin code for logged in verification is simple:
PHP Code:
|
#8
|
||||
|
||||
PHP Code:
|
#9
|
|||
|
|||
if will also work
PHP Code:
PHP Code:
but not all are correct, because, there are many different "admintypes" (i hope someone can explain more what i think*g* i mean because of the adminpermissions..) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|