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

Reply
 
Thread Tools
Nexia's Welcome Message by the Hour Details »»
Nexia's Welcome Message by the Hour
Version: 1.0.0, by vbenhancer vbenhancer is offline
Developer Last Online: Nov 2012 Show Printable Version Email this Page

Category: End-User Options - Version: 4.x.x Rating:
Released: 04-09-2012 Last Update: 04-09-2012 Installs: 21
Uses Plugins
 
No support by the author.

Will replace the boring "Welcome, nexia." with something customized by the hour. You can edit each phrase to fit your fun.

as you see in the screenshot, the phrase "fit" the moment of the day, and when you hover the entire line, you now see what time it is when you load the page, instead of having to go to the footer to read it.
.. take note that "nexia" is replaced by your members name...
nex_welcome_x_link_y_00 => Browsing by midnight, nexia?
nex_welcome_x_link_y_01 => Look, it's dark outside, nexia!
nex_welcome_x_link_y_02 => nexia, don't you think it's time for bed?
nex_welcome_x_link_y_03 => Sure you'll be hard to keep awake today, nexia...
nex_welcome_x_link_y_04 => Shut, everybody's sleeping, nexia!
nex_welcome_x_link_y_05 => Welcome on this new day, nexia.
nex_welcome_x_link_y_06 => Early morning, nexia!
nex_welcome_x_link_y_07 => Breakfast time, nexia!
nex_welcome_x_link_y_08 => 'Morning, nexia.
nex_welcome_x_link_y_09 => Welcome to another day of work, nexia.
nex_welcome_x_link_y_10 => Where's the coffee yet, nexia?
nex_welcome_x_link_y_11 => Hum, hungry, nexia?
nex_welcome_x_link_y_12 => Dinner time, nexia!
nex_welcome_x_link_y_13 => Let's get back to work, nexia!
nex_welcome_x_link_y_14 => So, having a nice day, nexia?
nex_welcome_x_link_y_15 => 'Hope you enjoy your visit, nexia.
nex_welcome_x_link_y_16 => Clearing the day off, nexia?
nex_welcome_x_link_y_17 => Supper Time, nexia.
nex_welcome_x_link_y_18 => What's on the News tonight, nexia?
nex_welcome_x_link_y_19 => Homeworks, nexia, homeworks.
nex_welcome_x_link_y_20 => Aren't the kids in bed yet, nexia?
nex_welcome_x_link_y_21 => Time for some popcorn, nexia.
nex_welcome_x_link_y_22 => Need a massage, nexia?
nex_welcome_x_link_y_23 => Unable to sleep, nexia?
these phrases are the one used by the engine, without any template edit, any function added, it's a simple replacement, and it works on the fly, so you do not have to bother if the user see the right sentence for its hour of browsing.

note: september 24th, 2009: debug of the date function to display in other languages. vbdate() was replaced by date() so the sentence is ok. Just import the product again.

october 6th, 2009: another fix regarding the date, dropped the "local" call so any language is supposed to display at the right time...


this version works for all versions from vB 3.6 until now, since it's a very very simply hack without code edition...

Download Now

File Type: zip nex_welcome_msg_by_hour.zip (3.5 KB, 94 views)

Screenshots

File Type: jpg nex_welcome_msg_by_hour_old.jpg (11.6 KB, 0 views)
File Type: jpg nex_welcome_msg_by_hour_without.jpg (9.2 KB, 0 views)
File Type: jpg nex_welcome_msg_by_hour_with.jpg (11.6 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 04-10-2012, 11:18 AM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no setting for this feature, nothing to do, really... it's just a phrase replacement, so when you browse your site, it shows in the header where the phrase is supposed to be... if you have a non-custom head message though!
Reply With Quote
  #13  
Old 04-10-2012, 11:27 AM
glen290's Avatar
glen290 glen290 is offline
 
Join Date: Apr 2008
Location: Haydock UK
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Emeralda View Post
Is there something that needs to be set or installed more? I don't see these welcome messages (when I unhid'em), I've installed only the biggest xml in the package.
Same here, cant see anything, are there any options to change etc ?
Reply With Quote
  #14  
Old 04-10-2012, 11:46 AM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you paste the none custom message here? And where it should be? I'm not sure I haven't changed it, I thought I didn't. I'm sure I modified the default phrase though, but then I checked with the default one as well, and still haven't seen anything.
Reply With Quote
  #15  
Old 04-10-2012, 12:44 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glen290 View Post
Same here, cant see anything, are there any options to change etc ?
the reason why your site is not showing the text is that you use the DBTech Notifications engine which override it... i'll see what i can do about it!
Reply With Quote
  #16  
Old 04-10-2012, 12:59 PM
glen290's Avatar
glen290 glen290 is offline
 
Join Date: Apr 2008
Location: Haydock UK
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried it on my test site which dosent.. but thanks for looking in to it, really appreciated..
Reply With Quote
  #17  
Old 04-10-2012, 01:45 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't use DB's Notifications though.

Oh, by the way, I'm quite hesitant on adding anything left of the username again. Could it be possible to make a version that would add that text below the options on top?

Reply With Quote
  #18  
Old 04-10-2012, 02:21 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Emeralda View Post
I don't use DB's Notifications though.

Oh, by the way, I'm quite hesitant on adding anything left of the username again. Could it be possible to make a version that would add that text below the options on top?
this could become a custom work, if you really need something similar in a specific location...
Reply With Quote
  #19  
Old 04-10-2012, 04:10 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, yeah, but before that, it still doesn't work at all >.<

Could you send me the code that it's supposed to change and rely on? As in, the default thing in the template, I'd compare it with the current one.
Reply With Quote
  #20  
Old 04-10-2012, 04:23 PM
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Location: Qu?bec city, Canada
Posts: 740
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is no code change... it's a phrase change. if your theme was edited or updated from a vB 3.8x theme, it may even have the wrong phrase in the theme.

search for " welcome_x_link_y " in your header template...
Reply With Quote
  #21  
Old 04-10-2012, 04:35 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>

This is how it looks like in my header.

For phrases themselves, I tried removing the custom phrase, nothing. I tried putting there the default one, also nothing. So I dunno >.<
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 12:09 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.04767 seconds
  • Memory Usage 2,340KB
  • 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
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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_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