Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Foggy
Client


Joined: Jan 07, 2006
Posts: 52

PostPosted: Fri May 12, 2006 12:03 pm Reply with quote

I think I've seen this subject covered here before but I can't find the posts. I have the site info box v2.2.1 and the server date/time is not being displayed. Any ideas?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Fri May 12, 2006 1:56 pm Reply with quote

Have you set these two settings at the top of the block?

$showServerDateTime = TRUE; //Allow/notAllow displaying of Server Date/Time.
$showServerDateTimeAdmin = TRUE; //Allow/notAllow displaying of Server Date/Time to Admins.
 
View user's profile Send private message
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Fri May 12, 2006 2:03 pm Reply with quote

I don't know where Info Box v2.2.1 grabs the time/date, but this is what I use for the custom block on my site:

Code:
$Date = date("d M Y");

$Time = date("g:i A");
$Offset = date("O");

Pretty self-explanatory...

The code should be similar, but if it isn't, you might try these. Wink

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
VinDSL
PostPosted: Fri May 12, 2006 2:04 pm Reply with quote

Heh! If you pardon the pun, you beat the clock, Raven... ROTFL
 
Foggy
PostPosted: Fri May 12, 2006 2:59 pm Reply with quote

That was it Raven Embarassed ...thanks AGAIN!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©