Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Time Greeting (Good Morning / Afternoon / Evening, Username) Details »»
Time Greeting (Good Morning / Afternoon / Evening, Username)
Version: 1.00, by Kinneas Kinneas is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

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.

Translations

Russian Translation by BANDiT600.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-15-2008, 06:58 AM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 05-16-2008, 10:23 AM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soulface View Post
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
Good suggestion. I'll try and look at that when time permits.
Reply With Quote
  #34  
Old 05-16-2008, 10:38 AM
killerkraft's Avatar
killerkraft killerkraft is offline
 
Join Date: Mar 2006
Location: Portugal
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #35  
Old 05-16-2008, 10:49 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not as easy as that, I'm afraid.
Reply With Quote
  #36  
Old 05-16-2008, 11:04 AM
killerkraft's Avatar
killerkraft killerkraft is offline
 
Join Date: Mar 2006
Location: Portugal
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eheheh,

I've told that my knowledge of php is very small.

It was just an ideia.

KK
Reply With Quote
  #37  
Old 05-17-2008, 12:04 AM
fukdawrld fukdawrld is offline
 
Join Date: Nov 2005
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work with welcome template rewrite?
Reply With Quote
  #38  
Old 05-19-2008, 11:01 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fukdawrld View Post
will this work with welcome template rewrite?
I'm not sure. Only one way to find out :P
Quote:
Originally Posted by soulface View Post
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
I haven't exactly done this, but the latest update should mean it works in places other than the navbar
Reply With Quote
  #39  
Old 05-25-2008, 02:53 AM
HxC HxC is offline
 
Join Date: Sep 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 05-25-2008, 01:57 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kinneas View Post
I'm not sure. Only one way to find out :P


I haven't exactly done this, but the latest update should mean it works in places other than the navbar
YES, it's working now... thanks
Reply With Quote
  #41  
Old 05-25-2008, 03:53 PM
auctionguy auctionguy is offline
 
Join Date: Mar 2007
Location: USA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kinneas View Post
I guess the extra features like you said.

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
I like this because it is very simple! Extra features mean extra queries in a lot of cases.

I will install later today!

Awesome Hack!
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04725 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete