The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello everyone,
I've been trying to construct a plugin where, upon a user purchasing any sort of subscription on the Forums, it'd update their usergroup on my server. Here's the Plugin information: Location: paidsub_build Code: Code:
$uid_ps = $vbulletin->userinfo['userid']; $userid_ps = fetch_userinfo($uid_ps); $query = "UPDATE characters SET mgroup = 11 WHERE id = '{$userid_ps}'"; print_log("Applying Premium for: User ID - {$vbulletin->userinfo['userid']}, Changing group to - 11"); $db->query_write($query); Thanks a bunch ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|