Quote:
Originally Posted by peterska2
If it is for Super Mods and Admins to see that you can you the condition
Code:
<if condition="$show[modcplink]">blah</if>
Otherwise you will have to write a condition that includes regular mods too, but I'm not awake enough to think of that one off the top of my head. I need lots more caffine first.
|
No it's not only S-mod/admin.
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:
Take
PHP Code:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
And change it to:
PHP Code:
<if condition="can_moderate()"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
|
http://www.vbulletin.com/forum/showp...78&postcount=2
When I re-apply that idea, will your code work then?