![]() |
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}"; |
All times are GMT. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|