![]() |
paidsub_build Plugin - HELP!!! :(
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']; Thanks a bunch :) |
It looks like you already have the user info but are calling fetch_userinfo()? I don't think you have to do that. Also the return value is an array. I think you would just want to use $uid_ps in your query like:
Code:
$uid_ps = $vbulletin->userinfo['userid']; |
Quote:
Here's the new code: Code:
$uid_ps = $vbulletin->userinfo['userid']; |
All times are GMT. The time now is 05:10 PM. |
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:
|