The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding / removing membergroupids
I have a script that I would like to integrate with vbulletin as far as adding and removing a membergroup id when necessary. Is there a way to accomplish this? Should I go about it the way I would for a regular array or is there some other way?
|
#2
|
|||
|
|||
A bit difficult to answer if we don't know what "a script" is.
|
#3
|
||||
|
||||
I apologize, it's a custom script on my site that I made, a membership area outside of the forum. I've just decided to use the array functions and array_filter to remove the memberships when they are no longer apart of that group.
|
#4
|
|||
|
|||
Still don't really get what you are trying to do? Use permissions in an external script?
|
#5
|
||||
|
||||
Not permissions. When they join the membership area outside of the forum they are automatically added to a group on the forum that coincides with the outside area, and then when they are no longer a part of that membership, they are no longer a part of that group on the forum.
So no, not permissions. Just being a part of a usergroup by joining something outside of the forum. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|