The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
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']; $query = "UPDATE characters SET mgroup = 11 WHERE id = $uid_ps"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|