Page 1 of 16

[ABD] Welcome Mod 2.0.0

Posted: Tue Jul 17, 2007 4:07 pm
by Stitch625
MOD Title: Welcome MOD
MOD Description: Adds a personalized welcome message at the top of your index page according to time of day with
logged in username in their group color.
MOD Version: 2.0.0 (Gold)
phpBB Version: phpBB3 3.0.2
Tested on phpbb3 3.0.2
Author: Stitch626

MOD Features:
  • Displays a welcome message with logged in username
  • Messages will change according to time of day
  • Special welcome message for registered users
  • special welcome message for guests
  • Displays logged in username in color
  • Instructions for both prosilver and subsilver
Supported Languages:
  • English
Future Features:

MOD Format:
Text File


Credits: Mod based on the phpbb2 version by Cherokee Red and The Caretaker
A special thanks to Cherokee Red and The Caretaker for the code layout.
Also a special thanks to Lefty74 for the inspiration and providing me with a kick start
with the coding.

Support Topics:
None Yet

Screenshots:
None Yet

Demo Board

username = test
password = tester

I have this mod installed on both subsilver and prosilver so you can see what they both look like.

One thing I have always enjoyed is a customized welcome message with my name in it when I visit a board. It gives the board personality and a welcoming feeling to the user. I took this mod a step further with a random message according to time of day. Hope you like it.


Welcome Mod Download

Re: [BETA] Welcome Mod

Posted: Tue Jul 17, 2007 9:07 pm
by thoaw
cool. I will hopefully try this out tomorrow :)

Re: [BETA] Welcome Mod

Posted: Wed Jul 18, 2007 12:23 am
by stickerboy
Hey, good luck with the MOD.
I'll check it out if I get some free time this week :)

Re: [BETA] Welcome Mod

Posted: Wed Jul 18, 2007 12:29 am
by Stitch625
Hey Thanks Cherokee Red. Awesome idea for a mod! Thanks again. I don't know if you read the author comments I included in the mod txt file or not but I really appreciate your assistance for the creation of this mod.

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 1:26 pm
by nickvergessen
part for the german language (xMOD ready): [de]

Code: Select all

				<open src="language/de/common.php">
					<edit>
						<find><![CDATA['TIME'				=> 'Zeit',
]]></find>
						<action type="after-add"><![CDATA[//Welcome Mod
//TIME OF DAY MESSAGE
'TIME_MORNING' => 'und guten Morgen!',
'TIME_AFTERNOON' => 'und guten Nachmittag!',
'TIME_EVENING' => 'und guten Abend!',
'TIME_MIDNIGHT' => 'Du bist heute noch spät auf!',
// TIME OF DAY MESSAGE
//Welcome Mod
]]></action>
						<find><![CDATA['WELCOME_SUBJECT'	=> 'Willkommen auf %s',
]]></find>
						<action type="after-add"><![CDATA[//Welcome Mod
//WELCOME MESSAGE
'WELCOME_HELLO' => 'Hallo',
'WELCOME_WELBACK' => 'Willkommen zurück!',
'WELCOME_GUEST' => 'Hallo Gast',
'WELCOME_MESSAGE' => 'Willkommen auf DEIN SEITEN NAME!',
//Welcome Mod
]]></action>
					</edit>
				</open>
[de_x_sie]

Code: Select all

				<open src="language/de_x_sie/common.php">
					<edit>
						<find><![CDATA['TIME'				=> 'Zeit',
]]></find>
						<action type="after-add"><![CDATA[//Welcome Mod
//TIME OF DAY MESSAGE
'TIME_MORNING' => 'und guten Morgen!',
'TIME_AFTERNOON' => 'und guten Nachmittag!',
'TIME_EVENING' => 'und guten Abend!',
'TIME_MIDNIGHT' => 'Sie sind heute noch spät auf!',
// TIME OF DAY MESSAGE
//Welcome Mod
]]></action>
						<find><![CDATA['WELCOME_SUBJECT'	=> 'Willkommen auf %s',
]]></find>
						<action type="after-add"><![CDATA[//Welcome Mod
//WELCOME MESSAGE
'WELCOME_HELLO' => 'Hallo',
'WELCOME_WELBACK' => 'Willkommen zurück!',
'WELCOME_GUEST' => 'Hallo Gast',
'WELCOME_MESSAGE' => 'Willkommen auf IHR SEITEN NAME!',
//Welcome Mod
]]></action>
					</edit>
				</open>

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 3:57 pm
by Stitch625
Thanks Nick, :D

I appreciate that. I will add that to the mod file sometime this weekend

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 3:59 pm
by matgallis
Demo? :D

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 4:06 pm
by nickvergessen
Demo: http://www.northerncountrymorels.com/messageboard/
It is currently July 20th, 2007, 12:05 pm
Hello Guest and Good Evening!
Welcome to Northern Country Morels!

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 6:56 pm
by Stitch625
You can log in to the board if you want to see how the mod works for registered members.

username= testing123
pasword= testing123

Re: [BETA] Welcome Mod

Posted: Fri Jul 20, 2007 7:07 pm
by lefty74
hey stitch, i really like what you made of this! Thumbs up ! :)

Re: [BETA] Welcome Mod

Posted: Sat Jul 21, 2007 1:22 am
by Stitch625
Thanks Lefty,

I have a new version comming out this weekend. It will include some of your ideas for cleaning up the extra white space under the welcome message. The welcome message will now be in it's own seperate table on both subsilver2 and prosilver for a much cleaner view I have already added this change to my board. I just have to update the modx.

Also, I will include the German translation from nickvergessen.

Re: [BETA] Welcome Mod

Posted: Sun Jul 22, 2007 8:20 pm
by Stitch625
2007-07-22 - Version 0.1.2Beta Just Relased!

Improvements and Fixes:Re-wrote template code for both subsilver2 and prosilver for much cleaner viewing of welcome message.

New code places welcome message in a new table just below the links table. Thanks to Lefty74 for the idea and testing ths out. (Cleaned up extra white space caused by previous version.)

Fixed bug with username dissapearing from welcome list when visiting other pages.

Removed Username variable from index.php and placed into includes/functions.php in order to display username on all pages.

Added extra welcome message for early visitors

Re: [BETA] Welcome Mod

Posted: Mon Jul 23, 2007 3:30 am
by iyeru42
welcome_name is not set if the person comes as a guest, (see your demo board) or something.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4209: Undefined variable: welcome_name

Re: [BETA] Welcome Mod

Posted: Mon Jul 23, 2007 3:39 pm
by Stitch625
iyeru42 wrote:welcome_name is not set if the person comes as a guest, (see your demo board) or something.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4209: Undefined variable: welcome_name

Thanks for bringing that to my attention. Fortunatly the bug was only on my board and NOT in the MOD Install Intructions.

Got it fixed now. ;)

Re: [BETA] Welcome Mod

Posted: Mon Jul 23, 2007 8:14 pm
by Tomofv
Excellent mod. :) Does it have options to have entirely seperate greetings for guests/members? Also, is there the option to remove the personalised greeting based on time of day? That would be great.

Cheers