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)

Vizionz 11-23-2005 11:16 PM

that one is - 8 instead of +8

C_P 11-23-2005 11:20 PM

Good Morning, CP even after logging out and then in. I am soooo sorry man. I do not know.

Vizionz 11-23-2005 11:21 PM

me either i tried all the fixes in this thread different times + and minus i would just uninstall it till somneone else has a clue why i am sorry i tried all i could

C_P 11-23-2005 11:25 PM

You did more than try! Thank you very much for the personal service but not sure what the issue is. I know you are probably wondering if I really did remove, and upload each new one and I did allowing to overwrite each time just in case. T o prove it, here is the file I upped last:

C_P 11-24-2005 01:33 AM

Vizionz you are a master helper! After multiple tries we got it!
Back to clicking install! This is great!

Vizionz 11-24-2005 01:42 AM

glad i could help now offf to see the wizard the wizard of sleep

C_P 11-25-2005 01:20 AM

Well, unfortunately, it said Good Evening all day long and now in evening on this hack and never changed from Good Evening, CP :(

amykhar 11-25-2005 02:13 AM

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.

C_P 11-25-2005 02:32 AM

Amy, I uninstalled and installed yours and right away it shows (with a little text addition):
Welcome Back & Good Evening, CP
Considering my time time now is 08:30 PM .... it looks like yours may rock from the start as do most of your excellent modifications (I do not like to call them hacks because it devalues all you coders hard work) on my site!!

*I'll update this in the morning to know for sure..

amykhar 11-25-2005 02:41 AM

I should know in about 15 minutes if it's working. It's about to be midnight here. I'm crossing my fingers :)


All times are GMT. The time now is 04:58 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.01174 seconds
  • Memory Usage 1,727KB
  • 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
  • (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