Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Time Based Greeting Details »»
Time Based Greeting
Version: 1.0.1, by Dragonsys Dragonsys is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 06-12-2010 Last Update: 06-14-2010 Installs: 71
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

A small mod which will change the default greeting (Welcome) to one based upon the time of day.

This mod is based upon:
* Time Greeting (Good Morning / Afternoon / Evening, Username) by Kinneas
* Ultimate Navbar for vB3.7 by Boofo

I updated Kinneas' mod for vb4 and added a few extra greetings based upon Boofo's mod.
Everything uses phrases (xxx_x_link_y).

Current Time & Phrase list:
  • 12:00 am - 1:59 am - Up late, aren't we, Dragonsys?
  • 2:00 am - 3:59 am - Having trouble sleeping, Dragonsys?
  • 4:00 am - 5:29 am - Still can't sleep, Dragonsys?
  • 5:39 am - 6:59 am - Aren't you the early bird, Dragonsys?
  • 7:00 am - 11:59 am - Good Morning, Dragonsys.
  • 12:00 pm - 12:59 pm - Enjoying your lunch break, Dragonsys?
  • 1: 00 pm - 4:59 pm - Good Afternoon, Dragonsys.
  • 5:00 pm - 5:59 pm - What's for dinner, Dragonsys?
  • 6:00 pm - 9:59 pm - Good Evening, Dragonsys.
  • 10:00 pm - 11:59 pm - Shouldn't you be going to bed soon, Dragonsys?

Arabic Translation by Dr.osamA

Download Now

File Type: xml product-timebasedgreeting.xml (4.0 KB, 269 views)
File Type: xml product-timebasedgreeting-Arabic.xml (4.0 KB, 18 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
victorvu

Comments
  #2  
Old 06-13-2010, 04:53 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changelog:

1.0.0 - Initial Release
1.0.1 - Fixed a small bug which did not allow the mod to actually display
Reply With Quote
  #3  
Old 06-13-2010, 05:16 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks looks good kinda like vbenhancer.com product though - before his website disappeared.
Reply With Quote
  #4  
Old 06-13-2010, 05:50 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 would have been nice to be asked to use those, though.
Reply With Quote
  #5  
Old 06-13-2010, 07:19 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
It would have been nice to be asked to use those, though.
Sorry about that. I was looking at your old mod and saw it had been moved to the graveyard, and the files were removed. I was going to send you a PM, but it slipped my mind :erm:
I can change/remove it if you like.
Reply With Quote
  #6  
Old 06-13-2010, 07:39 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are more than welcome to go ahead and use them. I plan on releasing the Ultimate Navbar for vb4 one of these days when I get around to it. Until then, I'll just use yours.
Reply With Quote
  #7  
Old 06-13-2010, 01:07 PM
ellinofatsa ellinofatsa is offline
 
Join Date: Mar 2010
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine on 4,03

thankssssssssssss
Reply With Quote
  #8  
Old 06-13-2010, 01:39 PM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love it!
You can see it in action here if you register... www.brotherhoodofgamers.com
Reply With Quote
  #9  
Old 06-13-2010, 03:57 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any conflict using this with Paul M's uread post mod? This was an issue with the 3.x series.
Reply With Quote
  #10  
Old 06-13-2010, 06:14 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Is there any conflict using this with Paul M's uread post mod? This was an issue with the 3.x series.
Not that I am aware of, but I do not use that mod by Paul M, so I cannot say for 100%. I believe, the conflict in 3.x was because of template changes, this mode just does a phase replacement.
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 08:32 PM.


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.05162 seconds
  • Memory Usage 2,327KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete