The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Profile Field admin condition
Does anyone know a way to set a conditional on a profile field update?
Lets say I have a small radio button list of options: Owner Developer Designer Since there are only a couple actual owners, I wanted to add a conditional to that option in case any staff attempted to set a user option to 'Owner' similar to the unalterable / uneditable users. If a users profile was attempted to update as owner, it would give an error that this user is not an Owner. This can be based on UID or usergroup- doesnt matter. I just didnt know where to begin. Am I in the right place looking to set a plugin hooked to userdata_presave and adding a dual conditional to check a UID array if the 'Owner' field is selected. Thanks for any help |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|