The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a login script for my site that uses the VBB database to authenticate.
This works fine. I also want it to grab the authenticated users usergroupid so I can have different options on the non VBB part of the site depending on the persons usergroup. The code below registers the session valid_user just fine. I also want to register $usergroup as a session. Problem I get is that the value I get for usergroupid is blank. What am I doing wrong and how do I fix it? PHP Code:
|
#2
|
||||
|
||||
![]()
Why don't you just use require_once('./global.php'); then use vBulletin functions, etc.? I think life would be much easier
![]() |
#3
|
||||
|
||||
![]()
Never really thought of doing that.
I would prefer to do it the way im trying to do it now (since Im a bit of a PHP n00b and struggling as is, learning the vB functions may be a little too complex for me). However, Is there any documentation on the vB functions including samples? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|