Welcome Message Mod by BK-Modding

Started by Burke ♞ Knight, November 10, 2008, 02:28:36 PM

Previous topic - Next topic

Burke ♞ Knight

Link to Mod

BK-SMF Welcome Message Mod

Version: 1.0 Date: November 1, 2008
Compatibility: 2.0 Beta 4

Made by: BurkeKnight - BK-SMF

This modification changes the welcome message to guests and members.

Instead of: Hello Member's Name or Welcome, Guest
It shows: Hello Member's Name, Welcome back to [Your Site Name Here] or Hello Guest, Welcome to [Your Site Name Here]

It also enlarges the text for the time and date, and bolds the text for both.

Demo:
This can be seen at the BK-SMF Support Site.

Support:

You may get support or submit questions and comments in the modification's support topic at the BK-SMF Support Site.

Apllicmz





Neverhurry

Hello, i like this mod, could you please make it compatible to version 1.1.8? or is it possible to install it manually? thank you very much!
I am using SMF 2.0.1, curve themes.

Afro


Garou

BurkeKnight seems to have disappeared, He hasn't logged in here for months and his website is gone so I don't think there will be any updates to his mods.

That said you might be able make this work on your 1.1.x forum by manually changing...
./Themes/default/index.template.php
Find...
// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>';

if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', $context['user']['name'] , '</b></span>
</td>';


Replace with...            
// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>';

if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', $context['user']['name'] , ' $txt['bksmf_welcome_back'],' <b>', $context['forum_name'],'</b></span>
</td>';


Find...            
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['welcome_guest'];
            

Replace with...      
// Otherwise they're a guest - send them a lovely greeting...
else
echo $txt['bksmf_hello'],'<b> ', $txt['guest'],'</b>, ', $txt['bksmf_welcome_to'],' <b>', $context['forum_name'],'</b>';


./Themes/default/languages/Modifications.english.php
Find (at the end of the file)...
?>

Add Before...

//BK-SMF Welcome Message Mod
$txt['bksmf_welcome_back'] = 'Welcome back to';
$txt['bksmf_hello'] = 'Hello';
$txt['bksmf_welcome_to'] = 'Welcome to';


Note that I didn't get the chance to test this on a server so the syntax might be a little off.

iverSUN

Anyone have a screenshot of this mod installed?

I have 2.0 Gold (2.0.1)

TheListener

Quote from: iverSUN on December 08, 2011, 07:47:53 PM
Anyone have a screenshot of this mod installed?

I have 2.0 Gold (2.0.1)

rather than ask about a mod which has not been posted in for 2 years have a look at THIS

Advertisement: