wetalk network
You're here : vbfans.com / vBulletin Resources / vBulletin Styles / Template Addons and Tweaks / [Tweak - RC2] Navbar Greeting Change

Forum : Template Addons and Tweaks These are ready-to-apply instructions on how to achieve specific features or looks on your own forum.

Start New Topic  Post a Reply    
 
Thread Tools Search this Thread
 
omgli3k's Avatar
omgli3k
Premium Member
This changes the 'Welcome, $bbuserinfo[username]' message in your navbar to a greeting based on time of day. (Based on military time) It changes to:

From 0-11: 'Good Morning, $bbuserinfo[username]'
From 12-8: 'Good Afternoon, $bbuserinfo[username]'
From 8-11: 'Good Evening, $bbuserinfo[username]'

Small tweak, but nifty.

Edit: tweaked so it can work with all timezones. (thanks 4 help, Stefan)
Edit: Updated to use phrases, easier translation.
Edit: Updated (thx floris) to use a vboption for the server offset. Now all you have to add is the templates, don't need to change squat.
Attached Files
File Type: txt [Tweak] Navbar Greeting Change.txt (1.4 KB, 95 views)
 
Empathogen Web Hosting Networks - gm111 ( 10% off any package coupon )

#1 by omgli3k, January 13th, 2004
 
Daniel C's Avatar
Daniel C
Premium Member
Nice mod! Thanks
 
#2 by Daniel C, January 13th, 2004
 
omgli3k's Avatar
omgli3k
Premium Member
Updated it, so it works on a time schedule user based, not server based. Thanks Stefan for helping me.
 
Empathogen Web Hosting Networks - gm111 ( 10% off any package coupon )

#3 by omgli3k, January 14th, 2004
 
jluerken's Avatar
jluerken
Active Member
One additional question. I will run the board in english and german. This modification is in english only.

How can I create the needed phrases for other languages? Can you give me a short instruction?
 
#4 by jluerken, January 14th, 2004
 
omgli3k's Avatar
omgli3k
Premium Member
Quote: (Originally Posted by jluerken )
One additional question. I will run the board in english and german. This modification is in english only.

How can I create the needed phrases for other languages? Can you give me a short instruction?
As soon as I get home I'll 100% incorporate it into the phrase manager.
 
Empathogen Web Hosting Networks - gm111 ( 10% off any package coupon )

#5 by omgli3k, January 14th, 2004
 
ReDuX's Avatar
ReDuX
Active Member
sounds like a nice simple feature
 
#6 by ReDuX, January 14th, 2004
 
sabret00the's Avatar
sabret00the
Guest
great mod
 
#7 by sabret00the, January 14th, 2004
 
Kingskin's Avatar
Kingskin
Active Member
nice one
 
#8 by Kingskin, January 15th, 2004
 
Mike Gaidin's Avatar
Mike Gaidin
Guest
Nice modification. I think I'll use it.
 
#9 by Mike Gaidin, January 15th, 2004
 
omgli3k's Avatar
omgli3k
Premium Member
Updated to use vbphrases.
 
Empathogen Web Hosting Networks - gm111 ( 10% off any package coupon )

#10 by omgli3k, January 15th, 2004
Start New Topic  Post a Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


[register]Login!
No Account? Sign up!

[rss]Active Content!

[info]Supporters
The Geek District
Security Seals
Christopher Nadeau
teen drama forum
Tech-Unity
x