PDA

View Full Version : Integration help


quadroplex89103
02-28-2005, 07:09 PM
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

Jolten
02-28-2005, 07:19 PM
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.

quadroplex89103
02-28-2005, 10:06 PM
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

Jolten
02-28-2005, 10:59 PM
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???

Brad
03-01-2005, 02:15 AM
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.