The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
World Clock on your forum Details »» | |||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#62
|
|||
|
|||
I'm not the greatest coder but here's my side by side...
HTML Code:
<!-- 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]"> <tr align="center"> <td class="alt1"><table border="0" cellspacing="0" cellpadding="5"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objUSFL=new Object;objUSFL.wtsclock="wtsclock001.swf";objUSFL.color="000066";objUSFL.wtsid="US-FL";objUSFL.width=100;objUSFL.height=100;objUSFL.wmode="transparent";showClock(objUSFL);</script></td></tr><tr><td align="center"><h2>Miami</h2></td></tr></table> </td> <td class="alt1"><table border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objUSCO=new Object;objUSCO.wtsclock="wtsclock001.swf";objUSCO.color="000066";objUSCO.wtsid="US-CO";objUSCO.width=100;objUSCO.height=100;objUSCO.wmode="transparent";showClock(objUSCO);</script></td></tr><tr><td align="center"><h2>Denver</h2></td></tr></table> </td> <td class="alt1"><table border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objDE=new Object;objDE.wtsclock="wtsclock001.swf";objDE.color="000066";objDE.wtsid="DE";objDE.width=100;objDE.height=100;objDE.wmode="transparent";showClock(objDE);</script></td></tr><tr><td align="center"><h2>Berlin</h2></td></tr></table> </td> <td class="alt1"><table border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objGB=new Object;objGB.wtsclock="wtsclock001.swf";objGB.color="000066";objGB.wtsid="GB";objGB.width=100;objGB.height=100;objGB.wmode="transparent";showClock(objGB);</script></td></tr><tr><td align="center"><h2>London</h2></td></tr></table> </td> <td class="alt1"><table border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objAUNSW=new Object;objAUNSW.wtsclock="wtsclock001.swf";objAUNSW.color="000066";objAUNSW.wtsid="AU-NSW";objAUNSW.width=100;objAUNSW.height=100;objAUNSW.wmode="transparent";showClock(objAUNSW);</script></td></tr><tr><td align="center"><h2>Sydney</h2></td></tr></table> </td> </tr> </tr> </tbody> </thead> </table> <br /> <!-- end World Clock --> |
#63
|
|||
|
|||
Quote:
find the location of the weather you want to display, then scroll down that 'stations' page till you get to the "Free Weather Stickers? for Your Homepage" box, click the link to go to that page. I put mine in the individual subforum description, but you could easily put it *anywhere* on a forum page. |
#64
|
|||
|
|||
I haven't had anyone report any iPhone issues... I use a Samsung Propel with AT&T when I'm mobile and haven't had any problems, of course it's a bit slower when I'm not in a 3G area. Perhaps you could add a mobile style/theme that can be used by your iPhone users when mobile, just don't have the clocks on that style/theme.
|
#65
|
|||
|
|||
Testing!
|
#66
|
|||
|
|||
Downloaded, customized installed and workig fine!
Thanks to Cobro and Mookie :up: |
#67
|
|||
|
|||
This would be a great mod to use with GeoIP. Then, you can show various different clocks to users based on the country (or continent) or city they are it when viewing your forums.
|
#68
|
|||
|
|||
Doesn't seem to work with vbulletin 4.03.
Can anybody help ? Thanks ! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|