The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
nusergroupid and pusergroupid
How are these variables defined, as I am trying to make it so upon a Payment being activated, a user's primary usergroup is changed in another database, and upon a Payment being completed, the user's primary usergroup is reverted back to the Registered Users usergroup.
The way I'm using them: nusergroupid = $sub['nusergroupid'] pusergroupid = $user['pusergroupid'] Code (Paidsub_build): Code:
$query = "UPDATE characters SET mgroup = {$sub['nusergroupid']} WHERE id = {$userid}"; Code:
$query = "UPDATE characters SET mgroup = {$user['pusergroupid']} WHERE id = {$userid}"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|