Version: 1.00, by Kinneas
Developer Last Online: Mar 2012
Category: Add-On Releases -
Version: 3.7.0
Rating:
Released: 05-09-2008
Last Update: 05-19-2008
Installs: 248
Uses Plugins Auto-Templates
Re-useable Code Translations
No support by the author.
Credit goes to EnIgMa1234 for the original mod. Although he said no credit is needed, I still feel obliged to point it out :P
What does it do?
This is quite a simple mod I use which automatically changes the standard "Welcome, <Username>" phrase to "Good Morning/Afernoon/Evening, <Username>" depending on the time of day.
Installation/Upgrade Instructions
1. Import the Product. (Allow overwrite if upgrading)
2. You're done!
And finally, this is my first attempt at a release here, so go easy on me! I welcome any constructive criticizm of suggestions on how to improve this
Version History
0.05 - Initial Release
0.06 - Now compatible with Paul M's Display Unread Posts and New Reputation Comments mod.
0.08 - Updated to work with iBProArcade. Also no longer uses Javascript so will work on browsers with it disabled.
1.00 - Updated, now replaces the Phrase instead of template, allowing auto-replace to function even if the Welcome message is in a template other than navbar (Eg, header)
Known Issues
Because it goes off Server Time, this mod might not always be accurate for people in different time zones from the server. Unfortunately this isn't something I can fix.
I know how to fix the arcade issue...if it's Ibproarcade. There's a list of variables in the arcade functions file, add $timegreeting to the list.
In /arcade/functions/functions.php find the line that starts:
Code:
global $header, $vbphrase, $vboptions
And add
Code:
,$timegreeting
Immediately before the final ";" at the end.
Note the space and comma in the above code.
Not tested, but I reckon that will make it work in the arcade. Every hack I've ever had that doesn't show up in the arcade has been fixed by doing something similar.
The main difference is probably that mine doesn't need any extra edits or modifications to be made once you've installed it. That mod looks pretty cool too though
That one doesn't need any extra edits or modifications any more than this one would it the line it is searching for has changed because of another hack.
I know how to fix the arcade issue...if it's Ibproarcade. There's a list of variables in the arcade functions file, add $timegreeting to the list.
In /arcade/functions/functions.php find the line that starts:
Code:
global $header, $vbphrase, $vboptions
And add
Code:
,$timegreeting
Immediately before the final ";" at the end.
Note the space and comma in the above code.
Not tested, but I reckon that will make it work in the arcade. Every hack I've ever had that doesn't show up in the arcade has been fixed by doing something similar.
There's an easier way to do it. Just make the variable replacement in this mod as a vbphrase[something]. No file edits that way.