The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating Usergroups via Script
I'm trying to create Usergroups with a php Script which gets these groups directly from an LDAP Database. My Question now is, if i create a usergroup in the admincp, the sql query made by the admincp is a standard mysql add query. but aditionally there are a few add queries for various inserts in datastore or parentlist/childlist.
what are these additional queries for, do i have to create them by hand? in other words: will my board break if i don't do this additional queries, will board performance be affected? |
#2
|
||||
|
||||
You must create records in table usergroup and rebuild the datastore items forumcache and usergroupcache.
If you just create the records, the usergroups will "not be known". |
#3
|
|||
|
|||
thanks for the quick reply.
are there any functions that will do this for me automagically? i haven't queried the code in that details thus far... |
#4
|
||||
|
||||
For the insert - no, you will have to do thisw manuylla.
For rebuilding the caches: includes/adminfunctions.php PHP Code:
|
#5
|
|||
|
|||
Hi malcolmx,
do you have any working solution on this? I am looking for something, where the users can create usergroups by themself. Can you help me here? Thanks, Witold |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|