The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How can I access sigmaximages in a plugin at runtime?
In the usergroup table is a field for 'sigmaximages'. How can I access this value in a plugin (PHP) at runtime?
Thanks. |
#2
|
|||
|
|||
Try $vbulletin->userinfo['permissions']['sigmaximages'].
|
#3
|
||||
|
||||
Brilliant, thanks so much.
Any idea why just setting this value in AdminCP doesn't actually restrict the number of images members can put in their signatures? |
#4
|
|||
|
|||
Quote:
I think it probably won't do anything until a user edits their sig, so setting it won't do anything if they already have too many. |
#5
|
||||
|
||||
I think there must be an unspoken exemption for the Administrators group. I just re-tested and it works fine for regular users.
Thanks for your help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|