Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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

Nope, not always. They are the same query-wise.
Reply With Quote
  #43  
Old 05-25-2008, 09:19 PM
bjf123 bjf123 is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me running vB 3.7.0 and vBAdvanced 3.0.1. I've logged out and back in, still says Welcome.
Reply With Quote
  #44  
Old 05-25-2008, 09:24 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you might have to do a manual template edit.
Reply With Quote
  #45  
Old 05-25-2008, 09:49 PM
bjf123 bjf123 is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would I edit?
Reply With Quote
  #46  
Old 05-26-2008, 02:07 PM
LisaJH LisaJH is offline
 
Join Date: Nov 2007
Location: South Australia
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working with my unread posts and rep's? any idea why?
Reply With Quote
  #47  
Old 05-27-2008, 01:40 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 bjf123 View Post
What would I edit?
You can manually insert this by finding the phrase $vbphrase[welcome_x_link_y] and replacing it with $vbphrase[welcome_timegreeting]. This might however cause Mods like Paul M's Display Unread Posts and New Reputation Comments mod and others similar to it to stop working, reason below.

Quote:
Originally Posted by LisaJH View Post
its not working with my unread posts and rep's? any idea why?
Not sure, but I believe that mod works by finding the phrase $vbphrase[welcome_x_link_y] - If you manually edited it in a similar way to described above that may be why, If not I'm not sure as the method my mod does to try and avoid this is to set $vbphrase[welcome_x_link_y] as $vbphrase[welcome_timegreeting]. It worked fine for me and I tested it on styles with the Welcome message in both navbar and header.

It may be worth trying the same solution as was posted on Boofo's Ultimate Navbar:
https://vborg.vbsupport.ru/showpost....0&postcount=33
Except you'd be replacing it with $vbphrase[welcome_timegreeting] instead of $vbphrase['ung_greeting']

Quote:
Originally Posted by HxC View Post
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.
As above, when I tested it it worked fine on skins with it in the navbar and header template. If you're not running 3.7 or some of your skins are out of date it probably won't work either, as prior to 3.7 the Welcome phrase was [welcome_x] not [welcome_x_link_y]. If that's the case you could probably make it work with a manual template edit like the one described above, except replace [welcome_x] instead.
Reply With Quote
  #48  
Old 05-31-2008, 05:40 AM
BoYagoob BoYagoob is offline
 
Join Date: Jan 2005
Location: Doha
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #49  
Old 06-29-2008, 03:16 PM
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Location: Russian Federation
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks fot this hack, here is russian version from me...
Reply With Quote
  #50  
Old 07-03-2008, 11:47 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 BANDiT600 View Post
Thanks fot this hack, here is russian version from me...
Thanks
Reply With Quote
  #51  
Old 07-25-2008, 06:55 PM
ErrorLog ErrorLog is offline
 
Join Date: Jul 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You ..!
Reply With Quote
Reply

Thread Tools

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 02:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07842 seconds
  • Memory Usage 2,302KB
  • 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
  • (4)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