![]() |
World Clock on your forum
i made this for my board becous a can't trust the server clock :) so i just use the world clock witch is allways right
So in your AdminCP/Styles & Templates/Style Manager then Expand Templates and then in click on forum home templates and then FORUMHOME template then find PHP Code:
PHP Code:
<iframe src="http://free.timeanddate.com/clock/i11meuiw/n179" frameborder="0" width="82" height="18"></iframe> and you are done :) Note you can have the code on what ever page you want this link is better i think http://www.timeanddate.com/worldclock/ hope you all like it's very simple :) |
Thank you nice and simple, Installed.
|
nice :D
-installed- |
Cobro nice mod! **Installed**
I did a few addition to the code thought you and maybe someone else may like. I attached a text file of the change and a jpg of 2 different layouts. |
Nice mod Cobro.
Great addition Mookie! Thanks guys, looks great and is installed. :) |
nice mod from both thanks
|
Quote:
your version installed! |
I went to site and changed a few things edited the clocks and the css background code this is end result
https://vborg.vbsupport.ru/external/2008/06/34.jpg |
Quote:
|
ok I used the code supplied by Mookie went to site for clocks http://www.timeanddate.com/clocks/free.html?n=70 this one allows you to set place, time, date colors etc, see pic above and then went into the css code of my vb style added background color chose text color at the bottom of site you will see html code only edit the iframe parts of the code dont remove other code just change the clocks that are there now for your new ones hope this helps
|
Very Nice Dingo :up:
|
thank you very nice
|
hey could'nt have done it without your coding in the first place and members are rapt with the clocks in different zones
|
Used this... looks great. Nice simple but great :)
|
yes simple and great
|
Tip: Use lower-case and quote marks here for xhtml compliance:
HTML Code:
<div align="center"> |
Does anyone know how to put the code right under the "currently active users" and "statistics" part of the forum but above the footer? I'd really appreciate your help in this. Also if anyone is interested in the world clock with the following cities already built in: Los Angeles, Washington, D.C., Paris, Nairobi, Shanghai and Sydney I have attached the code. Note: it has been derived from Mookie's.
Thanks, -RedskinsFan1. |
I installed the World Clock from the text File, thanks, really helpful for our round the world players for online gaming :)
How do i make it so that only certain usergroups can see it, wouldnt want everyone else using up my bandwidth to check the time in places! Thanks |
Quote:
|
thanks working click instal
|
Would be better if it was an actual image of a clock, rather than text.
|
Mookie, I applied your modifications. Turned out great except for one thing: there is a small white border around the time and date text. How do I get rid of this border, so that the color is uniform?
http://content.imagesocket.com/images/clock743.jpg |
you need to got to site for clocks and add your css style background color
|
Thanks, Dingo, that fixed the problem.
|
installed
|
Thank, what I'm been looking for
|
wonderful! *clicks install*
I added 5 of these suckers in a table right below my navbar for the timezones corresponding to the majority of my members. Now they can see at a glance that the person they may be waiting a reply from might be visiting with the sandman or at work! |
OH MY GOD I FRIGGEN DID IT! I've never done any coding in my life. Well is cutting and pasting coding the same? THANKS so much for this. It looks great on my forum and much needed!
I'm so proud of myself. I think I'm celebrate! LOL THANK YOU COBRO AND MOOKIE! |
Ok Mayday Mayday... I replaced some clock code as shown but the clock in the far right hand side appears on the left above the world clock box. Ok what did I do wrong? please explain in very layman's terms:) LOL I cppied Mookies stuff and just replaced with what I needed.
<!-- World Clock --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="6" align="center"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_world')"><img id="collapseimg_forumhome_world" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_world].gif" alt="" border="0" /></a>World Clock </td> <tbody> <tbody id="collapseobj_forumhome_world" style="$vbcollapse[collapseobj_forumhome_world]"> <td class="thead" colspan="6"> <tr align="center"> <td class="thead">Los Angeles</td> <td class="thead">Denver</td> <td class="thead">New York</td> <td class="thead">Montreal</td> <td class="thead">London</td> <td class="thead">Amsterdam</td> </tr> </td> <td class="alt1" colspan="6"> <tr align="center"> <td class="alt1"> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n137/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> <td class="alt1"> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n75/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> <td class="alt1"> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n179/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> <td class="alt1"> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n165/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> <td class="alt1"> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n136/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> <iframe src="http://free.timeanddate.com/clock/i11v60q3/n16/fc3e5c92/tcf5f5ff/ftb/tt0/tw0/tm1/th1/ts1/tb4" frameborder="0" width="90" height="34"></iframe> </td> </tr> </td> </tr> </tbody> </thead> </table> <br /> <!-- end World Clock --> |
Can anyone help me with this asap? This mod is very worthwhile for my forum and I would like to get it up and running asap.. Thank you:)
|
nice. installed
|
width="90" try making this smaller
|
HI Dingo. Thank you . I've tried with several numbers. stilll doing this same.
Any other suggestions? |
try a few things font size might be to big or try another font, it is the width that is causing the problem, i played around for a bit until i got it right
|
Thank you very much for the nice code. I integrated it as a template module in vbadvanced cmps and it works brilliant. As I am building a translation site, I put some translation-related clickable links in the headers, instead of only names of cities. You can see it here. For those of you just want to overwrite the links and make their own cmps module, I leave the code below:
Code:
<tr> Janfri |
Got it fixed. I missed a piece of code:)
|
This is VERY cool! :)
I've added it to my site at www.WaltDisneyBoards.com/forums.php if you'd like to check it out! I'm tracking the times at all 5 Disney resorts around the world! :D Now, just have to work to get the font colors just right and everything. But thanks for the help everyone! |
I just noticed that I have some spaces that I'd like to eliminate just above both areas (the clock and table headings) of the table. They have the white borders too. How can I adjust that?
|
As I said above, I installed this mod and found it brilliant. But I uninstalled it because it is not valid XHTML and causes 27 mistakes on my page. I'ts a pity, I really like it, but I can't fix it myself.:( Does anybody have a XHTML compliant version of this code?
Best regards Janfri |
Janfri
What are these 17 causes if I may ask. Or at least a few. I've had mine installed for about a week with no problems. |
All times are GMT. The time now is 06:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|