Default Signature Per Usergroup

rajjana

New Member
Install:

Import: product-vbh_group_sig_control_per_usergroup


Configure:

Usergroups -> Usergroups Manager -> Pick Usergroup -> Default Auto Sig Options


Templates:

Open Postbit(_legacy)

Find

Code:
<if condition="$post['signature']">
		<!-- sig -->
			<div>
				                      <br />
				$post[signature]
			</div>
		<!-- / sig -->
		</if>

Replace with:

Code:
<!-- START: vbh_default_sig_per_usergroup mod code -->
                <if condition="( ($vbh_autosig_enabled==1) && ($vbh_autosig_text!='') && ($post['signature']=='') )">
                <!-- sig -->
		<div>
		                       <br />
                $vbh_autosig_text
                </div>
		<!-- / sig -->
                <else />

                <if condition="$post['signature']">
                <!-- sig -->
		<div>
                                       <br />
                $post[signature]
                </div>
		<!-- / sig -->
                </if>

                </if>
                <!-- END: vbh_default_sig_per_usergroup mod code -->
Thats it!
 
Back
Top