The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to display a short message in the signature of all moderators of the board. But I want it that way that the moderator can't change something.
So, perhaps the moderator can have it's own signature that will show up in addition to the generel moderator signature. Or this feature inactivates the individual signatures for moderators. Do you know something like that? Thanks! Marcel |
#2
|
||||
|
||||
![]()
You can edit the postbit(_legacy) template to include something in their signature if their usergroup is X.
Code:
<if condition="is_member_of($bbuserinfo, X)">You are a member of usergroup X!</if> |
#3
|
|||
|
|||
![]()
great idea.
But is the sequence above really correct? (i use legacy) --------------- Added [DATE]1217950083[/DATE] at [TIME]1217950083[/TIME] --------------- --------------- Added [DATE]1217950123[/DATE] at [TIME]1217950123[/TIME] --------------- Found something : Code:
<if condition="in_array($post['usergroupid'], array(5,7))"> |
#4
|
||||
|
||||
![]()
The code you posted will not take in account secondary usergroups. Just found a little bug in my code - try it now.
Code:
<if condition="is_member_of($post, X)">You are a member of usergroup X!</if> |
#5
|
|||
|
|||
![]()
is there a way to force the usergroup to show signature?
so its always displayed maybe hide show sig box on posts? |
#6
|
||||
|
||||
![]()
If you added this mod outside of the signature if conditional, it'll always show anyway. If not, I'll get the template mod you'd need.
--------------- Added 17 Aug 2008 at 22:32 --------------- Disable Signature Removal: newreply: Find: Code:
<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if> Code:
<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if> Find: Code:
<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if> Code:
<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if> Find: Code:
<if condition="$bbuserinfo['signature']"> <div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div> </if> Code:
<if condition="$bbuserinfo['signature']"> <div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div> </if> |
#7
|
|||
|
|||
![]() Quote:
|
#8
|
||||
|
||||
![]()
No problem.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|