Quote:
Originally Posted by kh99
Oh, wait. were you saying that you depend on $vbulletin->userinfo['usergroupid'] == 13 being false in the second one to prevent it from running if the first one already did? Because using the datamanager to change the usergroup will not change $vbulletin->userinfo['usergroupid'] (I don't think).
|
Indeed. If the usergroupID is no longer 13 for the user on the second plugin, it shouldn't be executing at all. If that's the case, do you have a better recommendation for a code to move users to another group?