vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Nicer Greeting On NavBar (https://vborg.vbsupport.ru/showthread.php?t=100993)

C_P 11-25-2005 02:53 AM

I'll await your word..

amykhar 11-25-2005 03:02 AM

It's saying good morning now.

C_P 11-25-2005 03:05 AM

I rest my case, You Rock!
I'll let ya know tomorrow on my site but I am sure Amy, your products never seem to fail me!

MThornback 11-25-2005 11:58 AM

Quote:

Originally Posted by amykhar
It's saying good morning now.


Amy thanks :) saved me from losing this...cause I really liked it :D

and thanks to sabret00the for the concept :D

Detomah 11-25-2005 12:46 PM

Quote:

Originally Posted by amykhar
I'm going to share the one I'm testing on my board now. (I was always getting good morning too with this one)

Working perfectly for me now. :)

C_P 11-25-2005 04:37 PM

Quote:

Originally Posted by C_P
I rest my case, You Rock!
I'll let ya know tomorrow on my site but I am sure Amy, your products never seem to fail me!

Well Amy as suspected......
I worked like a Charm!
A nice Welcome Back & Good Morning, CP was there to say hello this morning to me!
*Is there a addition you could add to include knowing what day of the week it is for the user as well? This way, it would display things like T.G.I.F for Fridays, and Happy Hump Day for Wednesdays, and Monday morning back to work, and Saturday time to play, etc?

amykhar 11-25-2005 06:48 PM

That's easy. You would just need to do a
Code:

$ng_day = date('l',$ng_time);
After the
Code:

$ng_result = date('G',$ng_time);
and use
Code:

$ng_day
in the template.

Amy

C_P 11-25-2005 11:36 PM

Thanks very much for the reply and how to but I better wait for the pros to do that modification with the xml as I am excellent at screwing things up and terrible at implimenting.
I do have a question Amy, my navbar shows Good Afternoon, CP and the time now is 05:35 PM. Shouldn't the 5 pm time turn it to Good Evening?

C_P 11-26-2005 12:06 AM

6 pm looks like when evening announcement kicks in..

Noonster 12-08-2005 08:15 AM

In the install it says:
Code:

                                        <div style="padding: 0.5em;" nowrap="nowrap">
                                                $ng_greeting<br />

But all I can find thats similar is:
Code:

                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />

Any ideas?? Thanks!


All times are GMT. The time now is 08:06 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.01102 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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