Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Burke ♞ Knight on November 10, 2008, 02:28:36 PM

Title: Welcome Message Mod by BK-Modding
Post by: Burke ♞ Knight on November 10, 2008, 02:28:36 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1494)

BK-SMF Welcome Message Mod

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

Made by: BurkeKnight (http://www.simplemachines.org/community/index.php?action=profile;u=150637) - BK-SMF (http://www.bksmf.com/)

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. (http://www.bksmf.com)

Support:

You may get support or submit questions and comments in the modification's support topic at the BK-SMF Support Site. (http://www.bksmf.com)
Title: Re: BK-SMF Welcome Message Mod
Post by: Apllicmz on November 10, 2008, 07:29:04 PM
Nice work good mod
Title: Re: BK-SMF Welcome Message Mod
Post by: Burke ♞ Knight on November 10, 2008, 07:34:26 PM
Thank you. :)
Title: Re: BK-SMF Welcome Message Mod
Post by: Neverhurry on May 16, 2009, 03:12:32 PM
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!
Title: Re: BK-SMF Welcome Message Mod
Post by: Afro on September 21, 2009, 06:48:46 AM
do this mod for 1.1.10 please
Title: Re: BK-SMF Welcome Message Mod
Post by: Garou on September 21, 2009, 11:40:02 AM
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.
Title: Re: BK-SMF Welcome Message Mod
Post by: 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)
Title: Re: BK-SMF Welcome Message Mod
Post by: TheListener on December 08, 2011, 08:16:05 PM
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 (http://custom.simplemachines.org/mods/index.php?mod=1401)