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)

sabret00the 11-17-2005 03:18 PM

i would suggest

HTML Code:

<div style="padding: 0.5em;" nowrap="nowrap" class="smallfont">

SB2002 11-17-2005 03:36 PM

ah thay tidies it up a bit, thanks :)

Mastar 11-17-2005 05:35 PM

Just one problem, it is 3PM here and it is still saying Goodmorning. Any thought?

sabret00the 11-17-2005 05:40 PM

Quote:

Originally Posted by Mastar
Just one problem, it is 3PM here and it is still saying Goodmorning. Any thought?

wheres your server?
what's the server offset?
and last but not least what's your personal usertime offset?

Snake 11-17-2005 08:56 PM

/me installs

NuclioN 11-17-2005 09:06 PM

Quote:

Originally Posted by sabret00the
ouch at php5

ok could you try this

make a php file (that's just a text file with a .php extention instead) with the contents being this
PHP Code:

<php

$ng_hour 
date('G');
$ng_now bcadd($ng_hour4);
$ng_result bcadd($ng_now5); 

?> 

upload it and run it and tell me if you still get the undefined function error please.

edit: heh i just noticed i'm running 5.0.4 on my localhost and it works there :(

No error now but it's strange...when viewing the source code it shows exactly the php code in it. I'll wait, maybe you'll find a way to let this work. ;)

moonclamp 11-17-2005 09:16 PM

What is the time cut off for saying good evening?

My server is in London, I'm on GMT at 11:10pm and set my profile to 12 hours in advance making it 11.10am and it still said good evening.

However it worked fine when I went backwards 12 hours

Mastar 11-17-2005 11:21 PM

I uninstalled untill bugs fixed!

moonclamp 11-17-2005 11:45 PM

Quote:

Originally Posted by Mastar
I uninstalled untill bugs fixed!

Me too ... regrettably as it's a nice idea.

davidw 11-18-2005 12:06 AM

One thing that doesn't make sense to me...

PHP Code:

$ng_tz_serveroffset $vbulletin->options['timeoffset'];
$ng_tz_useroffset $vbulletin->userinfo['timezoneoffset'];

$ng_hour date('G');
$ng_now bcadd($ng_hour$ng_serveroffset);
$ng_result bcadd($ng_now$ng_tz_useroffset); 

in the first line of code: $ng_tz_serveroffset
in the fourth (or fifth depending on if you count the blank line): $ng_serveroffset


All times are GMT. The time now is 07:19 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.01253 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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