vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need help understanding my database structure for user groups. (https://vborg.vbsupport.ru/showthread.php?t=260236)

CLUB AMPLE 03-12-2011 01:20 AM

Need help understanding my database structure for user groups.
 
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

Quote:

Originally Posted by Lynne (Post 2172464)
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

API - Application Programming Interface.


All times are GMT. The time now is 09:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01718 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete