|
Joined: Jun 2006
Posts: 90
journeyman
|
journeyman
Joined: Jun 2006
Posts: 90 |
Question 1 I recently updated to the latest UBB software and turned the recent visitors feature. I was surprised to see that in one of our private forums was a 'Guest'.
1. How is this possible? 2. Is there any way to find out who is in our private forum?
PS. This is not password protected, but instead explicitly granted permission.
Question 2 I'm running on a Windows 2003 server and have verified the time is correct. However the post time is always 2 hours off. I want to the Control Panel and set the offset to 2 hours, and it had no effect at all. I then set the offset to -2 hours and still no effect. I then changed the date/time format and the posts made after the change did not reflect the format change.
What am I doing wrong here?
|
|
|
|
Joined: Jun 2006
Posts: 346
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 346 |
Question 1: Guests can be one of the following: - A user who is not logged in - A user marked as invisible - A user is showing up more than once in Recent Visitors, so the user will be marked as a guest in the additional instances
A way to check that is to visit ?ubb=pntf_admin or click the Admin View link on the right side of the Recent Visitors screen.
|
|
|
|
Joined: Jun 2006
Posts: 90
journeyman
|
journeyman
Joined: Jun 2006
Posts: 90 |
Perect! ?ubb=pntf_admin was the answer. Now, any ideas on why date/time refuses to display correctly?
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
The control panel setting only impacts users that have not edited their profiles. You probalby have done so, and have also set your own offset there. If you change your own offset, it should be reflected properly.
|
|
|
|
Joined: Jun 2006
Posts: 90
journeyman
|
journeyman
Joined: Jun 2006
Posts: 90 |
Here is what I found:
UBB control panel Default Time Offset (Hours): 0 Unadjusted server time: 12-02-2004 06:42 PM Your local computer time: 12-02-2004 06:43 PM
my profile Time Adjustment 0 hours The current server time is: 12-02-2004 04:42 PM Your computer time is: 12-02-2004 06:42 PM For local times, adjust to: 2 hours
So any posts I make will endup showing a time stamp of 2 hours earlier than when I posted. I can *fix* it by adding a 2 hour offset in My Profile, but it doesn't make sense.
Both the local computer and webserver are the same time zone and both read the same time (within a minute or two) but My Pfofile seems to magically loose 2 hours somewhere.
Any thoughts?
|
|
|
|
Joined: Jun 2006
Posts: 346
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 346 |
According to what I saw when I visited your registration page, your server thinks it is in Hawaii
Time Adjustment The current server time is: 12-02-2004 05:54 PM Your computer time is: 12-02-2004 09:56 PM For local times, adjust to: 4 hours
I'm in Central time.
I'm curious what vars_time thinks...
|
|
|
|
Joined: Jun 2006
Posts: 90
journeyman
|
journeyman
Joined: Jun 2006
Posts: 90 |
Here is my vars_time %vars_time = (
q!DateFormat! => q!US!,
q!DateFormats! =>
{
q!Euro! => q!dd-MM-yyyy!,
q!EuroX! => q!dd MMM, yyyy!,
q!ISO! => q!yyyy-MM-dd!,
q!US! => q!MM-dd-yyyy!,
q!USX! => q!MMM dd, yyyy!,
},
q!DefaultOffset! => q!0!,
q!FudgedOffset! => q!-7200!,
q!TimeFormat! => q!AMPM!,
q!TimeFormats! =>
{
q!24HR! => q!kk:mm!,
q!AMPM! => q!hh:mm a!,
},
q!TimeZone! => q!PT (US)!,
);
1;
That -7200 looks strange, no? PS. Both my client machine and server machine are: (GMT -08:00) Pacific Time (US & Canada); Tijuana
|
|
|
|
Joined: Jun 2006
Posts: 90
journeyman
|
journeyman
Joined: Jun 2006
Posts: 90 |
Ron, thank you! Your pointer to the vars_time.cgi file prompted me to try replacing it with the 'fresh' one from the distribution. The fresh one looked like: # Stock file
# $Id: vars_time.cgi,v 1.4 2002/07/09 00:34:24 cvscapps Exp $
%vars_time = (
q!TimeZoneOffset! => q!0!,
q!TimeZone! => q!Pacific!,
q!DateFormat! => q!USX!,
q!TimeFormat! => q!AMPM!,
);
1; And then after I set the defaults in the Control Panel: %vars_time = (
q!DateFormat! => q!US!,
q!DateFormats! =>
{
q!Euro! => q!dd-MM-yyyy!,
q!EuroX! => q!dd MMM, yyyy!,
q!ISO! => q!yyyy-MM-dd!,
q!US! => q!MM-dd-yyyy!,
q!USX! => q!MMM dd, yyyy!,
},
q!DefaultOffset! => q!0!,
q!FudgedOffset! => q!0!,
q!TimeFormat! => q!AMPM!,
q!TimeFormats! =>
{
q!24HR! => q!kk:mm!,
q!AMPM! => q!hh:mm a!,
},
q!TimeZone! => q!Pacific!,
);
1;
As you can see, there is no crazy 'FudgedOffset' (whatever that is). q!FudgedOffset! => q!0!, Anyway, thanks again. PS. Whoever tracks this stuff should probably figure out what went wrong with my vars_time.cgi file. I've never edited them manually before, so this is a problem that others could face.
|
|
|
|
Joined: Jun 2006
Posts: 346
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 346 |
FudgedOffset is from the pre-timezone era. That is what was causing your crazy times. -7200 = -2 hours.
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
0 members (),
681
guests, and
174
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|