The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Question about rights
Hi people!
I have added more information to the postbit_legacy template: PHP Code:
But I want to add another field. That's not the problem as you understand. The problem is I only want to show that field to the authorized persons. So I made the field, I set it to "private", "not searchable", and "no show on members list". The field isnt Editable by User. I gave my moderators permission to view the whole user profile. What I want to do is: make a private profile field, only editable by mods/smods. Now my real question: I want to show this field directly in the thread. So I think I will use: PHP Code:
But will other people see this text then? And the content of it? Because it's a private field I guess they (=other members) don't see the content but still see the text I put in the postbit. How can I prevent this? |
#2
|
|||
|
|||
If it is for Super Mods and Admins to see that you can you the condition
Code:
<if condition="$show[modcplink]">blah</if> |
#3
|
||||
|
||||
Quote:
I use a special usergroup (Qualified Helpers). I want them to view the item. They are member of the usergroup QH but they are also moderator of a forum (so not in the mod UG). Maybe that will make it more easier to make something? You don't have ro rush, just take as much caffine as you like . Thank you in advance! Edit: You say 'if condition = show MODCP link". But all the moderators can see them, can't they? *testing* hmm.. they can't... but I asked at vB.com a while ago and they gave me a change to show the CP to my mods.. It's like this: Quote:
When I re-apply that idea, will your code work then? |
#4
|
|||
|
|||
Code:
<if condition="can_moderate()">code</if> |
#5
|
||||
|
||||
Here I'm back..
When a person is member of the group QH, and has moderation rights he can see the MOD-link now in the navbar. All the QH's do have moderationrights. So would you thing work now? |
#6
|
|||
|
|||
yeah providing both conditions are true.
|
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
no prob, any time
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|