The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Integration help
Ok i need some assistance i have written a Portal/cms system but i want to use VB for the user authentication, permissions and so on, I dont feel like rading though the entire vb code in order to do this so i will ask it plainly here.
1 ) How is this done exactally there is far more to it then sinply including the global.php file obviously but that seems to be the only answer that is ever given no offense. 2) What are the variables that pertain to the user info as in usergroup name and so on. 3) If so many people ask why is there not a tutorial somewhere on how to accomplish this exactally |
#2
|
|||
|
|||
1) because that's really all that's required to use the permissions and bbuserinfo array and the like. If you want to use the VB header and footer amongst other templates then yes there is a little more. Search for "vb Power page".
2) $bbuserinfo['datahere.. name, id, filedx'] there is no array for the usergroup name only the id number. 3) well.... there are several threads regarding creating your own VB powered pages. |
#3
|
|||
|
|||
I dont WANT to make PAGES I already have an entire CMS System made News Blocks pages and numerous other functions
All i want is to use the VB User system for access permission functions |
#4
|
|||
|
|||
if you look at the pages it will show you the necessary code. If all you want is to include the userinfo... include global.php
Wait.. didn't I already say that??? |
#5
|
|||
|
|||
Including global.php is the most common answer because most people want to use vB as a back-end to new pages. It is also the easiest way for newbies to get it working.
If you want to do this the best way is to open global.php in a text editor and work your way down to the barebones. There are two files included in global.php, /includes/init.php and /includes/sessions.php. I am sure with a quick scan of both you can find the code you are looking for. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|