[Add-on] Welcome Mod 2.0.0 (Beta)

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

Re: Welcome Mod 1.0.0

Postby poppertom69 » 17 Feb 2008, 12:33

Will test it out! looks good though
Image
Image
poppertom69    
Supporter
Supporter
 
Posts: 326
Joined: 13 Apr 2007, 08:08
Location: bucks, UK
Favorite Team: STG
Gender: Male
phpBB Knowledge: 8




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: Welcome Mod 1.0.0

Postby Ladysarajane » 23 Feb 2008, 21:33

Finally able to test out the latest version. I had a problem with subsilver2 overall header.
All the tables underneath the Welcome Mod table were shorter in width. Finally figured it out though.
On the overall header you have:
Spoiler:
<div id="datebar">
<table class="tablebg" align="center" width="100%" cellspacing="1">
<tr>
<td class="row1" width="100%"><span class="gensmall">
<strong>
<div style="float:right;">
<!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}</strong><!-- ELSE --></strong>{CURRENT_TIME}<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><br />{CURRENT_TIME}<!-- ENDIF --></span></div>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<span class="gensmall">
<strong>{S_TIME} {WELCOME_REGISTERED}</strong>
<!-- ELSE -->
<strong>{S_TIME} {WELCOME_GUEST}</strong>
</span>
<!-- ENDIF -->
</div>
</div>
</tr></td></table>


I changed it to this:
Spoiler:
<div id="datebar">
<table class="tablebg" align="center" width="100%" cellspacing="1">
<tr>
<td class="row1" width="100%"><span class="gensmall">
<strong>
<div style="float:right;">
<!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}</strong><!-- ELSE --></strong>{CURRENT_TIME}<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><br />{CURRENT_TIME}<!-- ENDIF --></span></div>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<span class="gensmall">
<strong>{S_TIME} {WELCOME_REGISTERED}</strong>
<!-- ELSE -->
<strong>{S_TIME} {WELCOME_GUEST}</strong>
</span>
<!-- ENDIF -->
</div></td>
</tr></table>
</div>


Now all the tables on the forum are the same size.
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: Welcome Mod 1.0.0

Postby stitch626 » 23 Feb 2008, 22:29

Thanks Jenice, but this was my intent to make the welcome message bar stand out from all the rest . Also I wanted to make sure there wouldn't be any text wrapping going on if someone wanted to have a longer message. That is how it is on my testboard. I guess if people don't like it, they can always change it. Everyone is going to have their own preference how they want their table but there will only be one set of instructions for the templates so I guess before I submit this mod to .com I will have to make up my mind how if I want to change it. I guess I will see if anyone else comments on this.
User avatar
stitch626    
STG Moderator Leader
STG Moderator Leader
 
Posts: 3185
Joined: 08 Feb 2007, 20:47
Location: Michigan
Favorite Team: Detroit Red Wings
Gender: Male
phpBB Knowledge: 7

Re: Welcome Mod 1.0.0

Postby dbsmoker » 26 Feb 2008, 15:21

cool MOD, thx!

i've been playing with and customizing it on my localhost. Will let you know when I put it on my live board if you're interested.
The smoker's are revolting! Join the RYO Revolution!
dbsmoker
Cadet I
Cadet I
 
Posts: 13
Joined: 24 Feb 2008, 18:47
Gender: Male
phpBB Knowledge: 5

Re: Welcome Mod 1.0.0

Postby stitch626 » 26 Feb 2008, 19:54

Thanks dbsmoker,

All feedback counts. If I don't hear of any problems in the next few weeks I am going to resubmit this mod.
User avatar
stitch626    
STG Moderator Leader
STG Moderator Leader
 
Posts: 3185
Joined: 08 Feb 2007, 20:47
Location: Michigan
Favorite Team: Detroit Red Wings
Gender: Male
phpBB Knowledge: 7

Re: Welcome Mod 1.0.0

Postby lefty74 » 02 Mar 2008, 05:12

hi stitch,
great job on reworking this mod :)

Code: Select all
INSERT INTO `phpbb_config` VALUES ('time_afternoon', 'Good Afternoon', '0');
INSERT INTO `phpbb_config` VALUES ('time_early', 'Good morning, you\'re up early', '0');
INSERT INTO `phpbb_config` VALUES ('time_evening', 'Good evening', '0');
INSERT INTO `phpbb_config` VALUES ('time_late', 'Good gosh you\'re up late ', '0');
INSERT INTO `phpbb_config` VALUES ('time_morning', 'Well good morning', '0');


I think this would work better
Code: Select all
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('time_afternoon', 'Good Afternoon');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('time_early', 'Good morning, you\'re up early');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('time_evening', 'Good evening');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('time_late', 'Good gosh you\'re up late ');
INSERT INTO `phpbb_config` (`config_name`, `config_value`) VALUES ('time_morning', 'Well good morning');


i hope you do not mind me suggesting something:
have the language variables in from the previous version and if the $config data is empty use the the vars in the language file, this way it can be customised(into one language) but still be used for multi-language boards. something like
Code: Select all
            'TIME_AFTERNOON'                           => (!empty($config['time_afternoon'])) ? $config['time_afternoon'] : $user->lang['TIME_AFTERNOON'],


One of the major changes was: The time of day messages were called upon using a java script code. I was told that is a no no.
I still don't understand why Javascript could not be used here as it now takes the message from a personalised message to a standard guest user message, regardless of what time it is for the visitor (not logged in).
anyway, one suggestion i would have (not sure whether this is MODDB approved) is to use the JS and put a <noscript></noscript> part that uses the php code in case JS is disabled/not supported.

This is not meant to be negative, just some food for thought ;)

Keep up the good work mate
lefty74
Crewman
Crewman
 
Posts: 8
Joined: 28 May 2007, 11:24
Gender: Male
phpBB Knowledge: 6

Re: Welcome Mod 1.0.0

Postby voice903fm » 02 Mar 2008, 18:10

I'm new to these downloads. I've download the zip file, however the instruction doc don't tell me what to do from this point. What do I upload to my server?

There a lot of folders and files but no installation instructions.
voice903fm
Crewman
Crewman
 
Posts: 1
Joined: 02 Mar 2008, 17:51
Gender: Male
phpBB Knowledge: 5

Re: Welcome Mod 1.0.0

Postby Ladysarajane » 02 Mar 2008, 21:25

The installation instructions is the XML document. Open that in your browser and it will explain how to install the mod.
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: Welcome Mod 1.0.0

Postby sbdanielb » 03 Mar 2008, 08:32

I like this mod but i would like to change the colour the block that it shows in, i have seen that the block it shows in is the same as the navbar.

How would i change the colour of that block but not change the colour of the navbar?
sbdanielb
Ensign
Ensign
 
Posts: 94
Joined: 11 Jan 2008, 05:02
Gender: Male

Re: Welcome Mod 1.0.0

Postby sbdanielb » 03 Mar 2008, 09:08

This happened out of the blue, it only shows like this for guests, why?

Can see it in screenshot below.

newproblem.jpg
sbdanielb
Ensign
Ensign
 
Posts: 94
Joined: 11 Jan 2008, 05:02
Gender: Male

PreviousNext

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: Ezooms Bot and 7 guests