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)

davidw 12-08-2005 09:52 AM

The second part is supposed to be replaced by the first part.

sabret00the 12-09-2005 11:48 AM

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)

Mine is very simple code.

First, it gets the user's time.
Code:

$nghourdiff = $vbulletin->options['hourdiff'];
$ng_time = TIMENOW -$nghourdiff;

Then, it gets it as the hour in a 24 hour format
Code:

$ng_result = date('G',$ng_time);
Then, it goes on to figure out if this is morning, afternoon or night.

The product is attached.

you should release it amy, i'll redirect everyone from here to your thread.

Noonster 12-09-2005 07:53 PM

Quote:

Originally Posted by christianb
The second part is supposed to be replaced by the first part.

Sorry not following you ??

Noonster 12-09-2005 08:02 PM

^^ Forget the above sorted it....

Installed - great :D

davidw 12-09-2005 08:03 PM

:D good

Devil Woman 01-11-2006 11:50 AM

is there a way to get this to work with 3.5.2 as the code i have to look for to replace is different to what says in the template navbar

Thanks

Club3G 01-12-2006 03:10 PM

Quote:

Originally Posted by Vizionz
thanks that worked :)

i attached the fixed version for bcad

That's working on 3.5.3. Thanks to all. :)

[high]* Club3G clicks install[/high]

amykhar 01-12-2006 03:31 PM

Quote:

Originally Posted by sabret00the
you should release it amy, i'll redirect everyone from here to your thread.

Go ahead and take it Saber. :) It's just your hack with a bug fix.

Amy

Club3G 01-12-2006 08:30 PM

Eep, I spoke too soon.

It's working great on my forums, but on my portal, there's nothing there at all.

(Searched this thread for "portal", didn't see a fix).

Club3G 01-15-2006 02:33 AM

Uninstalling. Great mod, but no portal support is no good.


All times are GMT. The time now is 08:23 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.01186 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (4)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