The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Mod/ S. Mod and Admin Only Profile Fields
Could anyone do it?
|
#2
|
||||
|
||||
1- Install Advanced Templates
2- Create an admin only field in your Admin CP and note its field number. 3- Edit your postbit template and add there (to relevant place): PHP Code:
This will display this field to your Admins/Mods and S.Mods in postbit.. Enjoy. |
#3
|
|||
|
|||
Thank you very much, worked like a charm.
I needed in order to display the name color fields correctly; they are only for mods, super mods, and admins but since I want them to be able to edit the fields themselves, just anyone could do it. This way no matter what regs put in the fields it won't display. |
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
Yes, I noticed it didn't do quite what I wanted... hmm
|
#6
|
||||
|
||||
Quote:
PHP Code:
|
#7
|
|||
|
|||
I need it so it displays in the edit profile area, only to admins etc.
|
#8
|
||||
|
||||
Quote:
[[(($bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5) OR ($profilefieldname!="fieldX"))]] and at the end: [[/(($bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5) OR ($profilefieldname!="fieldX"))]] Dont forget to replace "X" with your field id. This change will display this field to only S.Mods, Mods and Admins while editing user profile fields and since the others cant see it, they cant set any info there.. |
#9
|
|||
|
|||
In which template and where exactly?
|
#10
|
||||
|
||||
template register_customfields add as FIRST and LAST line
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|