![]() |
Time Greeting (Good Morning / Afternoon / Evening, Username)
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. Translations Russian Translation by BANDiT600. |
whats the difference between your mod and this mod located here
https://vborg.vbsupport.ru/showthread.php?t=172507 besides the obvious fact that the one im talking about is alot more detailed and has a few extra features? |
Quote:
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 :) |
very good hacks thanks
|
installed, thanks a lot.
|
Does not work in arcade for some reason...
|
Awesome and easy install thanks heaps
|
Bloody marvelous! Installed!
|
very nice.....
thanks. Installed. |
Only problem with this is that it doesn't seem to respect a user's timezone setting....so you can end up with "Good Morning" in the evening, etc.
|
Thanks all :)
Quote:
Quote:
|
very nice.....:up:
thanks. Installed. |
This is some good hack. Thank you for the release!
|
Quote:
I'll hopefully be able to update this later today. I've sorted 1 of the 3 known problems so far :P |
Good idea
installed :) |
had to uninstall it cause it stopped this hack from working~
https://vborg.vbsupport.ru/showthread.php?t=168303 |
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 Code:
,$timegreeting 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. |
Quote:
|
Quote:
|
Love it... Instaled :)
|
Updated to work with Paul M's mod. Unfortunately I've not had enough time to sort out the Arcade issue yet. Still working on it :)
|
thanks its working with no problem now~
|
This mod seems to effect the new posts/ no new post mod. Here is the mod that I use and this one here interferes with it.
https://vborg.vbsupport.ru/showthread.php?t=168303 |
Is you read the thread, there is a fix for that.
|
Thank you for the updated fix! Works great!
-Dave |
very cool thanks:D
|
0.08 - Updated to work with iBProArcade. Also no longer uses Javascript so will work on browsers with it disabled.
Also, a huge thank you to Boofo for helping a novice like me out when it came to improving this mod :) |
Don't kid yourself. I learned more from you than you did from me. ;)
Good job on the update. ;) |
Quote:
|
Quote:
|
nice hack, installed.
one thing I'd like to request you to add a global veriable like Nicer Greeting On NavBar did or make it like, it'd look in global templates for $vbphrase[welcome_x_link_y] not just in navbar templates only. I've a customize welcome panel in my forum homepage, where 'Welcome Nick' just disappear rather then replacing it. thx |
Quote:
|
So Kinneas,
The question is how to read the local computer time, is it not ? You have on the user CPanel the Date&Time options for each user. So if you can read that option and add or subtract, i think you will solve the problem. It is just an idea though. I do not understand much php. Greetings from Portugal, KK |
It's not as easy as that, I'm afraid.
|
Eheheh,
I've told that my knowledge of php is very small. It was just an ideia. KK |
will this work with welcome template rewrite?
|
Quote:
Quote:
|
I like the idea, nice job with it. I installed it on my forum, but it only works on the Default vBulletin skin. On all my other skins it doesn't show.
|
Quote:
|
Quote:
I will install later today! Awesome Hack! :) |
All times are GMT. The time now is 07:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|