The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want to automatically add new registrations to all pubically open usergroups on my board, which they can then opt out of if they so wish via group memberships.
Found the hook where to enable this (register_addmember_process) and the table 'usergroups' lists all the usergroups. Question is, which table records relationships between users (userid) and 'usergroupid'? Think I need something like: Code:
FOR each usergroup
IF usergroup.ispublicgroup
ADD this user to permissions table
Any ideas?? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|