Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: bigo on November 06, 2007, 10:21:39 PM

Title: Default signature - Firma por defecto
Post by: bigo on November 06, 2007, 10:21:39 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=948)

http://www.simplemachines.org/community/index.php?topic=195364

English:it places one signature by defect...

opens: display.template.php

search

        // Show the member's signature?
        if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';


replace
        // Show the member's signature?
        if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';
        else
            {
            echo '
                    <hr width="100%" size="1" class="hrcolor" />
                    <center><img src="', $settings['images_url'], '/no-firma.jpg" alt="" border="0" /></center>';
            }




_______________________________________



EspaƱol: coloca una firma por defecto, si el user no pone una...

abre: display.template.php

busca

        // Show the member's signature?
        if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';


reemplaza por

        // Show the member's signature?
        if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';
        else
            {
            echo '
                    <hr width="100%" size="1" class="hrcolor" />
                    <center><img src="', $settings['images_url'], '/no-firma.jpg" alt="" border="0" /></center>';
            }

Title: Re: Default signature - Firma por defecto
Post by: falguni1 on December 18, 2007, 01:28:54 AM
very nice mod I am going to use it.

(http://custom.simplemachines.org/mods/index.php?action-download;mod=948;id=40143;image)

I think the spelling is wrong
it should say signature and it says dignature.
Title: Re: Default signature - Firma por defecto
Post by: falguni1 on December 23, 2007, 03:02:28 AM
I installed this mod and it shows no banner.

why.
Title: Re: Default signature - Firma por defecto
Post by: fyndler on November 07, 2008, 05:29:23 PM
Works fine for me but how can i make so the pictures i cliable ? here is my code


        // Show the member's signature?
        if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';
        else
            {
            echo '
                    <hr width="100%" size="1" class="hrcolor" />
                    <center><img src="<a href="http://www.lowpings.net/">
<img border="0" src="http://www.lowpings.net/banners/lowpings-css-468x60.jpg" width="468" height="60" alt="Call of Duty 4 Servers, Counter-Strike Source Servers, Ventrilo Servers, Teamspeak Servers">
</a>
" alt="" border="0" /></center>';