The Arcive of vBulletin Modifications Site. |
|
Default Signature Per Usergroup Details »»
|
||||||||||||||||||||
Installation:
All known bugs should be fixed. Supporters / CoAuthors Show Your Support
|
||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Reserved for me
|
|
#3
|
||||
|
||||
|
I think but not sure, this can be done via hooks without any modification to the templates
|
|
#4
|
|||
|
|||
|
Hi, Everytime I try and save I get this error
Code:
Fatal error: Using $this when not in object context in /****/****/****/****/admincp/usergroup.php(337) : eval()'d code on line 1 |
|
#5
|
||||
|
||||
|
Thanks....
|
|
#6
|
|||
|
|||
|
omg thanks so much ive been looking for this for sooo long
|
|
#7
|
|||
|
|||
|
is there anyway to make it so that it shows anyway. so that if they have a sig it will show up aswell as their personal sig. like make it permanent or anything
|
|
#8
|
|||
|
|||
|
Yes rather then using an if / else, just add it all in one.
Use this for template edit instead to have both show: Code:
<!-- START: vbh_default_sig_per_usergroup mod code -->
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="( ($vbh_autosig_enabled==1) && ($vbh_autosig_text!='') && ($post['signature']=='') )">
<div>
__________________<br />
$vbh_autosig_text
</div>
</if>
<!-- END: vbh_default_sig_per_usergroup mod code -->
|
|
#9
|
|||
|
|||
|
doesnt work
|
|
#10
|
|||
|
|||
|
Woops sorry try this:
Code:
<!-- START: vbh_default_sig_per_usergroup mod code -->
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="( ($vbh_autosig_enabled==1) && ($vbh_autosig_text!='') )">
<div>
__________________<br />
$vbh_autosig_text
</div>
</if>
<!-- END: vbh_default_sig_per_usergroup mod code -->
|
![]() |
|
|