vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Welcome Message by the Hour (https://vborg.vbsupport.ru/showthread.php?t=230436)

vbenhancer 12-17-2009 10:00 PM

Welcome Message by the Hour
 
1 Attachment(s)
Will replace the boring "Welcome, vbenhancer." 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.
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...

Brandon Sheley 12-18-2009 02:42 AM

I think I might like all the mods you put out today :)

TheLastSuperman 12-18-2009 02:49 AM

Quote:

Originally Posted by Loco.M (Post 1932669)
I think I might like all the mods you put out today :)

You and me both :p I'm up late as usual and come on to find all these F5 that profile ;)

MagicThemeParks 12-18-2009 10:00 AM

This is a very nice touch! Thanks :up:

Datok 12-18-2009 11:40 AM

Thank you

Vackrick 12-18-2009 12:45 PM

great work

COL NIL SATIS 12-19-2009 04:41 PM

this looks cool!!! top stuff

choccyclaire 12-19-2009 08:58 PM

Awesome. :D I was using the mod for GM, GA and GE but now fancy a change to this. Thanks! :)

vbenhancer 12-19-2009 09:27 PM

"GM, GA and GE"... what a great team, but i know nothing of any... rofl

choccyclaire 12-19-2009 10:26 PM

Good Morning, Good Afternoon, Good Evening phrases? :p

indiancinema 12-20-2009 01:32 AM

thanks

cozmin 12-24-2009 07:54 AM

Very nice mod, that you man ! Mark as installed and full rating.

RobbieZ 03-22-2010 04:36 PM

I dont see the option to change the phrase's in vbOptions?

I had to edit the xml.

haytham 05-01-2010 01:33 PM

sweet. Installed. Thank you.

Iguana Goddess 07-23-2010 12:21 PM

Very nice hack, thanks.


All times are GMT. The time now is 05:23 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.02128 seconds
  • Memory Usage 1,737KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete