Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
My first one - the standards/cities of timezone display Details »
My first one - the standards/cities of timezone display
Mod Version: 1.00, by Stoned Gecko (Member) Stoned Gecko is offline
Developer Last Online: Feb 2005 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 1
Released: 08 Feb 2002 Last Update: Never Downloads:
Not Supported Is in Beta Stage  

Preface:
I wanted to display the actual timezone text on the forum in addition to the GMT offset. Since I couldn't find anything here, I did it myself. Now I'm sure there is an easier way of doing this, however I have never touched PHP before. So this is the only way I could figure out how to do this. However since I managed to do it, I thought I'd share it .

What it does:
This basically creates a $timezonetext variable that can be used in templates. The variable contains the text for the appropriate timezone the user selected. For example if the user selected GMT -8, $timezone would contain "US/Pacific Time (US & Canada)".

What it looks like:
The contents of the timezone template:


The text generated by that (sorry, live demo is not up yet )



What to do:

Edit global.php. Find this text:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then right below that add this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Hope someone finds this usefull besides me.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 10 Feb 2002, 02:09
LuBi LuBi is offline
 
Join Date: Nov 2001
Sounds good, have an ss?
Reply With Quote
  #3  
Old 10 Feb 2002, 02:40
Stoned Gecko's Avatar
Stoned Gecko Stoned Gecko is offline
 
Join Date: Feb 2002
What's an SS?
__________________
Make it idiot-proof, and a bigger idiot will show himself.
Reply With Quote
  #4  
Old 10 Feb 2002, 09:58
Floris Floris is offline
 
Join Date: Jan 2002
SS (ScreenShot)
__________________
My community; http://wetalknation.net
Reply With Quote
  #5  
Old 13 Feb 2002, 01:53
Stoned Gecko's Avatar
Stoned Gecko Stoned Gecko is offline
 
Join Date: Feb 2002
Sorry for the lag. Screen shots are on the top post.
__________________
Make it idiot-proof, and a bigger idiot will show himself.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:11.

Layout Options | Width: Wide Color: