![]() |
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. |
Try $vbulletin->userinfo['permissions']['sigmaximages'].
|
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? |
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. |
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! |
All times are GMT. The time now is 09:25 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:
|