============================================================================================================================
Modification Title: Signature In Member Profile

Version: 1.0

Author: John Briggs

Description:
This modification will display a member's signature in their profile.

Copyright:  2010 John Briggs. All Rights Reserved.

Compatability: XMB 1.9.5 SP1

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 v3. 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:
==========

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

===============
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 Administration Panel --> Templates
===============================
=======================
Edit Template: member_profile
=======================
==========
Find Code:
==========

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

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

$sigblock

============================================================================================================================
=======
Step 3:
=======
===============================
Go To Administration Panel --> Templates
===============================
================================
Create New Template: member_profile_sig
================================
========================
Add Code and Submit Changes:
========================

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

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