View Full Version : Adding / removing membergroupids
BeatificFaith
11-04-2007, 04:55 PM
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?
Marco van Herwaarden
11-05-2007, 06:20 AM
A bit difficult to answer if we don't know what "a script" is.
BeatificFaith
11-06-2007, 02:40 PM
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.
Marco van Herwaarden
11-06-2007, 02:44 PM
Still don't really get what you are trying to do? Use permissions in an external script?
BeatificFaith
11-07-2007, 12:22 AM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.