News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Yahoo!Mail button in menu

Started by nguyen, February 11, 2008, 03:56:58 PM

Previous topic - Next topic

nguyen

Link to Mod

This will insert a Yahoo!Mail button in the main menu for default theme, and you can change it to other email...
For other theme and please see install file. You can change link and text in next version

nicknitro71

I'm using dilber mc what do I need to change?

Thanks

nguyen

Hi,
If you use other theme, you can see install file and do it by manual. Or see how to do in 3 steps:

1. open themes/dilbermc/index.template.php find code

// Show the [help] button.
echo'
<td align="center" class="menubg' , $current_action == 'help' ? '2' : '' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>';


2. copy code below and add before

// Show the [QTO email] button.
echo'
<td align="center" class="menubg' , $current_action == 'Picture' ? '2' : '' , '">
<a href=http://yourlink', ' target="_blank">', $txt['Email'], '</a>
</td>';


3. open index.yourlanguage.php


add $txt['Email'] = 'Yahoo!mail'; or any if you want before ?>


Good luck,

Apllicmz

When update incluide portuguese_pt

<file name="$themedir/languages/index.portuguese_pt.php" error="skip">
        <operation>
        <search position="before"><![CDATA[$txt[121] = 'Remover a mensagem';]]></search>
<add><![CDATA[$txt['Yahoo!Mail'] = 'Mail do Yahoo!';
                ]]></add>
        </operation>
        </file>
       
        <file name="$themedir/languages/index.portuguese_pt-utf8.php" error="skip">
        <operation>
        <search position="before"><![CDATA[$txt[121] = 'Remover a mensagem';]]></search>
<add><![CDATA[$txt['Yahoo!Mail'] = 'Mail do Yahoo!';
                ]]></add>
        </operation>
        </file>



Advertisement: