The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I'm working on a plugin where I hook in at register_addmember_process and query against an external datasource.
Based on the results of the query, I need to add the user to multiple secondary usergroups. I can add them to a single secondary usergroup like this, where X is the usergroup. Code:
$userdata->set('membergroupids', X); I'm not quite sure logically how to make this work. If anyone has any tips it would be greatly apprecaited. Regards, Bobbo --------------- Added [DATE]1270569683[/DATE] at [TIME]1270569683[/TIME] --------------- Nevermind, I figured it out. I needed to implode my array result first and ensure the values were comma separated before I set the membergroupids. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|