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

Thanks all

Quote:
Originally Posted by crkgb View Post
Does not work in arcade for some reason...
Quote:
Originally Posted by Mark.B View Post
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.
Will look into these problems
Reply With Quote
  #13  
Old 05-10-2008, 12:40 PM
Commisat's Avatar
Commisat Commisat is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice.....:up:

thanks.
Installed.
Reply With Quote
  #14  
Old 05-10-2008, 01:16 PM
Big Boss's Avatar
Big Boss Big Boss is offline
 
Join Date: Jan 2008
Location: Cleveland, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is some good hack. Thank you for the release!
Reply With Quote
  #15  
Old 05-10-2008, 01:18 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 Big Boss View Post
This is some good hack. Thank you for the release!
Thank you very much

I'll hopefully be able to update this later today. I've sorted 1 of the 3 known problems so far :P
Reply With Quote
  #16  
Old 05-10-2008, 01:37 PM
semauae's Avatar
semauae semauae is offline
 
Join Date: Sep 2006
Location: UaE
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea

installed
Reply With Quote
  #17  
Old 05-10-2008, 03:26 PM
MeMySelfNi MeMySelfNi is offline
 
Join Date: Dec 2003
Location: west coast
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

had to uninstall it cause it stopped this hack from working~

https://vborg.vbsupport.ru/showthread.php?t=168303
Reply With Quote
  #18  
Old 05-10-2008, 06:02 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by Mark.B View Post
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.
Reply With Quote
  #21  
Old 05-11-2008, 05:28 AM
LisaJH LisaJH is offline
 
Join Date: Nov 2007
Location: South Australia
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love it... Instaled
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 08:12 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.07663 seconds
  • Memory Usage 2,312KB
  • 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_code
  • (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
  • (3)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