Title: Signature In Member Profile v1.0

Author: John Briggs

Description:
This modification will display a member's signature in there member profiles.

Copyright:  2006 John Briggs. All rights reserved.

Compatability: XMB 1.9.8 SP3

Updated for 1.9.8 by: WormHole @ XMB Garage

Install Note: Before adding this modification to your forum, you should back up all files related to this modification.

License Note: This modification is released under the GPL License. A copy is provided with this software package.

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.

=======================================================================================================================================
=======
Step 1:
=======
==================
Edit File: member.php
==================
==========
Find Code:
==========

loadtemplates(

================
Replace Code With:
================

loadtemplates(
'member_profile_sig',

==========
Find Code:
==========

                $emailblock = '';
                if ($memberinfo['showemail'] == 'yes') {
                    eval('$emailblock = "'.template('member_profile_email').'";');
                }

===============
Add Code Below:
===============

                // Signature In Member Profile Mod Begin
                // create sig block
                $sigblock = '';
                if ($memberinfo['sig'] != '') {
                    $memberinfo['sig'] = censor($memberinfo['sig']);
                    $memberinfo['sig'] = postify($memberinfo['sig'], 'no', 'no', 'yes', 'no', 'yes', 'yes', false, 'no', 'no');
                    eval('$sigblock = "'.template('member_profile_sig').'";');
                }
                // Signature In Member Profile Mod End

=======================================================================================================================================
=======
Step 2:
=======
==========================
Go To Admin Panel -> Templates
==========================
=======================
Edit Template: member_profile
=======================
==========
Find Code:
==========

<tr class="tablerow">
<td bgcolor="$THEME[altbg1]" valign="top">$lang[textproflastpost]</td>
<td bgcolor="$THEME[altbg2]">$lastpost</td>
</tr>
</table>
</td>
</tr>
</table>

===============
Add Code Below:
===============

$sigblock

=======================================================================================================================================
=======
Step 3:
=======
==========================
Go To Admin Panel -> Templates:
==========================
================================
Create New Template: member_profile_sig
================================
===========================
Add Code & Click Submit Changes:
===========================

<br />
<table cellspacing="0" cellpadding="0" border="0" width="$THEME[tablewidth]" align="center">
<tr>
<td bgcolor="$THEME[bordercolor]">
<table border="0" cellspacing="$THEME[borderwidth]" cellpadding="$THEME[tablespace]" width="100%">
<tr class="category">
<td colspan="2"><font color="$THEME[cattext]"><strong>$lang[textsig]</strong></font></td>
</tr>
<tr class="tablerow">
<td bgcolor="$THEME[altbg2]">$memberinfo[sig]</td>
</tr>
</table>
</td>
</tr>
</table>

=======================================================================================================================================
Enjoy!