PDA

View Full Version : Need help understanding my database structure for user groups.


CLUB AMPLE
03-12-2011, 01:20 AM
So im trying to set up a 3rd party chat software on my site with permissions for different user groups...

the chat program will check for user groups to obtain access...and the company is asking me the following
.....................
Just tell us what database to check in order to find out user level and we will set up the handlers so, that they will retrieve user level from your database and pass it to the flash client.

I mean what table we should look into. And what are the possible levels?
How do user levels can be distinguished in the database?
.....................................

can someone explain to me how i can get this information in vbulletin software?

Lynne
03-12-2011, 04:00 AM
vbulletin has a function that checks your usergroup - is_member_of. You can look in the API for that (in quick links dropdown).

In the user table is the field usergroupid, which is the primary usergroup, and membergroupids, which are the secondary usergroups. The table usergroup actually stops the permissions for that particular usergroupid.

CLUB AMPLE
03-12-2011, 05:28 AM
vbulletin has a function that checks your usergroup - is_member_of. You can look in the API for that (in quick links dropdown).


In the user table is the field usergroupid, which is the primary usergroup, and membergroupids, which are the secondary usergroups. The table usergroup actually stops the permissions for that particular usergroupid.


im going to sound like a noob here.. but whats the API.. i dont see anything like that in my quick links drop down

Lynne
03-12-2011, 04:58 PM
You don't see this? vBulletin API (http://members.vbulletin.com/api/)

API - Application Programming Interface.