vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - World Clock on your forum (https://vborg.vbsupport.ru/showthread.php?t=181060)

Janfri 10-19-2008 08:36 AM

Quote:

Originally Posted by GSeybold (Post 1648106)
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.

Hi,
have a look at it , http://validator.w3.org/check?verbos...slation.org%2F
Regards
Janfri

Armageddonz 10-19-2008 12:32 PM

Thanks a lot this really make things simple and nice.

ArnyVee 10-19-2008 02:14 PM

Quote:

Originally Posted by ArnyVee (Post 1647086)
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?

Had a friend that was able to fix it!

I guess that I had some extra tables or something in it. :)

Thanks again for this great mod! :D

Janfri 10-24-2008 01:21 PM

I have found a solution, at least for my installation, making a module for vbadvanced CMPS, which is valid XHTML. If somebody is interested, see this thread on vbadvanced.

Best regards,
Janfri

smokering 10-31-2008 02:20 AM

thank you both excellent'e

intospain 11-10-2008 01:10 PM

Simple and effective, thanks for sharing with us :D

segwayon 11-13-2008 02:35 AM

Alas, I had to remove the world clock feature because a few users come in with iPhones, and one said the clock feature was causing the forum load times to increase substantially.

Cobro 11-19-2008 03:59 PM

Nice to see people are intrested in this mod and mod it as you like it thank you for the support

momo2 11-23-2008 12:54 AM

very nice, thank you

RageRaft 12-06-2008 03:15 PM

Nice find. I also found out that you can go to the first world clock link and copy the HTML code into one of your templates. :)

LAKELURKER001 12-16-2008 04:08 AM

dowloaded but installed mookie,s that had full date and time ,very nice mookie

steve1966 12-16-2008 09:36 AM

cool thanks mookie

compact123 12-17-2008 08:41 AM

woww very nice, thnx...

https://vborg.vbsupport.ru/

joh 12-23-2008 11:27 PM

compact123, How did you get the clock image?
Guys, do you all have a way to add the weather.
Do you all have away to let my users set his/her own area for the time and weather.
where the heck is code monkey?

damlost 01-01-2009 11:13 PM

i cant download the clock

damlost 01-03-2009 10:31 PM

ok i got it but how did compact123 get those images

damlost 01-04-2009 12:00 AM

ok i figure this much how 123 got those images but dont know who to add them Horizontal can someone help

<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">objUSNY=new Object;objUSNY.wtsclock="wtsclock001.swf";objUSNY. color="FF9900";objUSNY.wtsid=" US-NY";objUSNY.width=100;objUSNY.height=100;objUSNY.w mode="transparent";showClock(o bjUSNY);</script></td></tr><tr><td align="center"><h2>california</h2></td></tr></table>

<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">objUSNY=new Object;objUSNY.wtsclock="wtsclock001.swf";objUSNY. color="228B22";objUSNY.wtsid=" US-NY";objUSNY.width=100;objUSNY.height=100;objUSNY.w mode="transparent";showClock(o bjUSNY);</script></td></tr><tr><td align="center"><h2>texas</h2></td></tr></table>

<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">objUSNY=new Object;objUSNY.wtsclock="wtsclock001.swf";objUSNY. color="008080";objUSNY.wtsid=" US-NY";objUSNY.width=100;objUSNY.height=100;objUSNY.w mode="transparent";showClock(o bjUSNY);</script></td></tr><tr><td align="center"><h2>chicago</h2></td></tr></table>

<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">objUSNY=new Object;objUSNY.wtsclock="wtsclock001.swf";objUSNY. color="0000FF";objUSNY.wtsid=" US-NY";objUSNY.width=100;objUSNY.height=100;objUSNY.w mode="transparent";showClock(o bjUSNY);</script></td></tr><tr><td align="center"><h2>new york</h2></td></tr></table>

<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">objUSNY=new Object;objUSNY.wtsclock="wtsclock001.swf";objUSNY. color="FF0000";objUSNY.wtsid=" US-NY";objUSNY.width=100;objUSNY.height=100;objUSNY.w mode="transparent";showClock(o bjUSNY);</script></td></tr><tr><td align="center"><h2>uk</h2></td></tr></table>

Cobro 02-03-2009 11:31 PM

thank you all for making this better this looks nice now keep up the good work

Cobro 03-01-2009 08:36 PM

Quote:

Originally Posted by compact123 (Post 1687238)


this mod looks very nice :up:

Drago13 05-07-2009 04:37 AM

awesome hack... thanks...

sflmkv 06-10-2009 03:39 PM

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 -->


Eq4bits 06-10-2009 07:30 PM

Quote:

Originally Posted by joh (Post 1692447)
compact123, How did you get the clock image?
Guys, do you all have a way to add the weather.
Do you all have away to let my users set his/her own area for the time and weather.
where the heck is code monkey?

For adding weather I use wunderground.com
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.

Eq4bits 06-10-2009 07:35 PM

Quote:

Originally Posted by segwayon (Post 1664625)
Alas, I had to remove the world clock feature because a few users come in with iPhones, and one said the clock feature was causing the forum load times to increase substantially.

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.

ricardoNJ 08-13-2009 08:01 AM

Testing! :)

goldoff 09-13-2009 08:12 PM

Downloaded, customized installed and workig fine!

Thanks to Cobro and Mookie :up:

imported_silkroad 09-21-2009 06:36 PM

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.

Philippe J 06-10-2010 03:17 PM

Doesn't seem to work with vbulletin 4.03.
Can anybody help ?
Thanks ! ;)


All times are GMT. The time now is 01: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
  • Page Generation 0.01270 seconds
  • Memory Usage 1,816KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete