Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 

The free forums are now under new ownership, a full announcement will be made shortly

       myfreeforum.org Forum Index -> Portal components
825th_Outlaw

World Time Clock

Its me again ...

I want to add a series of world clocks, similar to:

look at the clocks on the right hand portal

Is this a ready made portal addon? or one I build myself, linking to other 'clock' sites.

Seraching under world clock returns nothing, clock returns normal clocks.

I guess I could add a series of clocks with time modyfiers for each section ?

Regards

Paul
825th_Outlaw

Code:
{MYFF.CURRENTTIME}


I will experiment using this, and see if adding time modifiers works

heading in right direction?
825th_Outlaw

Ok, had a closer look, getting something going here using the same iframe links from World clock place

I will work out the HTML to get it looking ok, then see about adding it into the portal.

Hope this is ok, keeping this thread updated as I work things out, say if it isnt .

At least i finding out for myself!  

However, I think I will need help to get the same look as the other parts of the portal, like the current time, and anouncement parts of the portal. Any pointers for that part please ?

Regards

Paul

Progress so far
symon

Of course i have the code you need, but if you want to try yourself , then that is great.

Shout if you need help.

I didnt make a guide for it , as it was something i was trying out for facebook fighters club
825th_Outlaw

hi Symon

Ok, I am getting the clock to show ok, but then realise that as I use a different style, I need it to match that, and have been unable to work out how to embed style bits into the table if I change style components, I dont want to have to go edit the table everytime.

Please could I have a look at your code, I still want to try and do this myself, but it isnt working too well, and I need help/pointers

Thanks

Paul
symon

will need to see a working progress on this  ?
symon

Here is the code i made,

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
   
   <tr>
        <th colspan="2"  class="thTop" nowrap="nowrap">World Time</th>
     </tr>

  <tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/London" class="topictitle">London (U.K)<iframe src="http://free.timeanddate.com/clock/ixheczd/n136/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>  </tr>

 <tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/Kuala_Lumpur" class="topictitle">Kuala Lumpar, (Malaysia)<iframe src="http://free.timeanddate.com/clock/ixheczd/n122/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>

   
  </tr>

 <tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/Maldives" class="topictitle">Male, (Maldives)<iframe src="http://free.timeanddate.com/clock/ixheczd/n715/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>

   
  </tr>

<tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/Colombo" class="topictitle">Colombo, (Sri Lanka)<iframe src="http://free.timeanddate.com/clock/ixheczd/n389/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>

   
  </tr>

<tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/Los_Angeles" class="topictitle">Los Angeles, (U.S.A) <iframe src="http://free.timeanddate.com/clock/ixheczd/n137/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>

   
  </tr>
<tr>
   <td class="row2"><span class="topictitle"><a href="http://en.wikipedia.org/wiki/Hanoi" class="topictitle">Hanoi, (Vietnam)   <iframe src="http://free.timeanddate.com/clock/ixheczd/n218/tluk/fn13/fs12/tc9f0/ftb/bat6/bac00f/pd2/tt0/tw1/tm1/th1" frameborder="0" width="161" height="19"></iframe></a></span></td>

   
  </tr>


</table>
symon

Now you need to make a free account with them, then you can make your own styles.
825th_Outlaw

Well, I wasnt too far out on the basic code, I sorted links to that clock site, and made a table with iframes and title in each row, but was way out on the table format. I just couldnt get it right.

Also, the class='xxxxx' I assume is the pointer to the style component, which was the bit I had no idea whatsoever about!

I have copied your clock onto the bottom of my portal, and it looks exactly like the rest of it (supprise) so I will try adding the class bits etc to my own version, then delete yours. Yes, I know I could leave yours there, but what would I learn then!

Thanks for the help.

Paul
symon

to change the colour of the clocks you will need to sign up for a free account, you then get to choice your style and colours etc.
825th_Outlaw

yep, done that, my own clocks are light blue background, and sized to fit the frame

Thats a neat site. just got to get sorted exactly which areas I need. shame some members dont put their location ....

Paul
825th_Outlaw

Sorted!

Added some of your code into mine, to give the right appeqarance, made the clocks for the timezones I wanted, and took your idea of linking the zone info to Wiki. I am happy with it now, and its so easy to add extra zones in when the guys finally get around to giving me the right locations!

Thanks for your help

Paul
symon

825th_Outlaw wrote:
Sorted!

Added some of your code into mine, to give the right appearance, made the clocks for the timezones I wanted, and took your idea of linking the zone info to Wiki. I am happy with it now, and its so easy to add extra zones in when the guys finally get around to giving me the right locations!

Thanks for your help

Paul


No worries always a pleasure to guide someone that is willing to try first.
825th_Outlaw

Finished result on my test forum

My attempt on test forum

Still got 3 or 4 zones to add when I get the info back

Paul
Nick(NR)

825th_Outlaw wrote:
Finished result on my test forum

My attempt on test forum

Still got 3 or 4 zones to add when I get the info back

Paul


yeh, one thing your forgetting is that guests can't see your portals Wink
825th_Outlaw

Nick(NR) wrote:
825th_Outlaw wrote:
Finished result on my test forum

My attempt on test forum

Still got 3 or 4 zones to add when I get the info back

Paul


yeh, one thing your forgetting is that guests can't see your portals Wink


Um oops ... yeah forgot that! my test forum now shows the calendar AND world clock to guests.

Paul
825th_Outlaw

I have finally ..... got around to adding the other timezones I wanted. so there are 8 now

Colour of actual clock text is manually changed to match template, I havent done anything clever to make it pick up the template colours. This is inherited from the site link that allows the clock to show.

Paul

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum