vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Nexia's Welcome Message by the Hour (https://vborg.vbsupport.ru/showthread.php?t=281344)

vbenhancer 04-09-2012 10:00 PM

Nexia's Welcome Message by the Hour
 
1 Attachment(s)
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...

Shazz 04-10-2012 01:21 AM

Most excellent! :)
5 Star

anushkumarb 04-10-2012 03:06 AM

Installed Thanks, rated 5

ProFifaLeagues 04-10-2012 03:40 AM

Have a Mod doing this already but this having the options to add your own Message makes it much better!

Thanks great Work

Sage Knight 04-10-2012 03:56 AM

Haha, nice!

socialteenz 04-10-2012 04:43 AM

Thanks for the update, my members gonna love this :)

Krusty1231 04-10-2012 05:50 AM

Quote:

Originally Posted by rammieone (Post 2318550)
Have a Mod doing this already but this having the options to add your own Message makes it much better!

Thanks great Work

Agreed. Thanks for this. Installed/Voted

Boofo 04-10-2012 06:13 AM

You can do the same thing in the other one. All you have to do is edit the phrase, just like you would have to with this one.

vbenhancer 04-10-2012 10:08 AM

hum, people, if you need support with "the other one", please do in its own thread... thanks Boofo for the info!

i'm not releasing this plugin to compete "the other one"... i just update tools that i released years ago that could still be useful in vB 4.x... this one was not edited a single bit, it's the same code for 6 years, so imagine, vBulletin did not change that much hey!

Emeralda 04-10-2012 11:01 AM

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.


All times are GMT. The time now is 01:53 AM.

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.01136 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete