Jump to content

Signature in Profiles


Guest n-k

Recommended Posts

Oh, boy! You've opened a big can of worms here!

I'm with you. I think someone's sig is part of their "personality" and, therefore, should be shown in their profile. I've already argued this point elsewhere on these forums (as have a few others), but to no avail.

Link to comment
Share on other sites

Order to show the signature ,you may read this "guid"

Mod with a simple solution:

Open: profile.php and find this:

$member['_posts']             = $this->ipsclass->do_number_format( $member['posts'] );
        $member['_website']          = ( preg_match( "/^http:\/\/\S+$/", $member['website'] ) ) ? $member['website'] : '';
        $member['_title']            = $member['title'];

Add below:

//-----------------------------------------
        // Siggy revisited...
        //-----------------------------------------
        
        $member['_signature']   = $member['signature'];
        
        $this->parser->parse_html      = intval($this->ipsclass->vars['sig_allow_html']);
        $this->parser->parse_nl2br     = 1;
        $this->parser->parse_bbcode    = intval($this->ipsclass->vars['sig_allow_ibc']);
        
        $member['_signature'] = $this->parser->pre_display_parse($member['_signature']);

After that, go to the Admin CP > Edit template > Profile View > personal_portal_main and find this:

<!-- Interests -->
            <if="$member['_interests']">
                <div class='pp-header'>{$this->ipsclass->lang['interests']}</div>
                <div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px' id='pp-personal_statement'>
                    {$member['_interests']}
                </div>
            </if>
            <!-- / Interests -->

Add below (after):

<!-- sig -->
            <if="$member['_signature']">
                <div class='pp-header'>{$this->ipsclass->lang['siggie']}</div>
                <div class='row1' style='padding:6px; margin-bottom:1px; padding-left:10px' id='pp-personal_statement'>
                    {$member['_signature']}
                </div>
            </if>
            <!-- / sig -->


allDone! :)


great joy! :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...