Register Members List Search Today's Posts Mark Forums Read

Mod Options
Time Zone Times Details »
Time Zone Times
Mod Version: 1.00, by Vowgaming (Member) Vowgaming is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (1 vote - 5.00 average) Installs: 9
Released: 22 Jan 2011 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

I have seen this requested a few times and required this for my own site so I thought it would be nice to share my solution.

This bbcode will take a date and time submitted in gmt time and display it in the time of the readers time zone

I have tried this on my site with just a 4 users and seems to work fine im using 4.1 but see no reason why this should not work on earlier versions

I would also like to state, I do not know javascript and im sure others could improve this code and please do so, but in it's current form it does what it needs

Go to you admincp, custom bb code, add new bbcode

Title: timezone

BB Code Tag Name : timezone


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

Example : [timezone]10,3,2011,02,30[/timezone]

Description : Inset gmt time to show time in users local area format must be [timezone]day,month,year,hr,minutes[/timezone] must be put in as gmt time and each item seperated by a ,

Use {option} : no

Button Image : here I used a link to a picture of a clock

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: Yes

Disable Smilies Within This BB Code: Yes

Disable Word Wrapping Within This BB Code: Yes

Disable Automatic Link Parsing Within This BB Code: Yes

That it now save

Usage is [timezone]day,month,year,hr,min[/timezone]
This info must be entered as gmt data

Now if anyone can improve or give and advice feel free.

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.
Similar Mod
Mod Developer Type Replies Last Post
Show times on Time Zone selection Chen vBulletin 2.x Full Releases 20 21 Mar 2004 14:58

Old 24 Jan 2011, 12:13
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
5 stars


thank you bro
Reply With Quote
Old 06 Feb 2011, 22:03
NovoCiv NovoCiv is offline
Join Date: Aug 2010
I recently made something similar to this, but it was as simple as [gmt]12:45[/gmt].

The issue I ran into was that when a user makes or edits a post with this it goes to a blank page because of the document.write. I don't see anything that you've done to prevent this, so I assume it happens to you as well?
Reply With Quote
Old 08 Feb 2011, 23:08
Vowgaming Vowgaming is offline
Join Date: Jan 2011
I was not aware of this issue. but now I go back and check and edit a post I see the issue mentioned it does not show up on the inital posting only on editing the post.

This is such a required thing for the site and can put up with this small issue

You can still edit your post and change the time and date but once you submit your changes it takes you to a white page because of the document.write

As I Mentioned in the inital post I'm no profesional so anyone has a better way any help would be great
Reply With Quote

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 10:29.

Layout Options | Width: Wide Color: