TinyPortal

Development => Block Codes => Topic started by: sneet on March 01, 2006, 02:05:40 AM

Title: Block Clock
Post by: sneet on March 01, 2006, 02:05:40 AM
Here is one to try. see http://www.pifaffle.ca (http://www.pifaffle.ca)

I put<img src="./Sources/clock/blue.php" alt="pifaffle clock" />  in an html block.

unzip this into Sources and away you go. There are two other examples.

Got it from http://analogclock.caiphp.com (http://analogclock.caiphp.com) it ain't perfect but it's a good start.





[attachment deleted by admin]
Title: Re: Block Clock
Post by: Xarcell on March 01, 2006, 05:36:34 PM
Very nice...

One of teh best. I can't wait to see how I can alter it.
Title: Re: Block Clock
Post by: G6Cad on March 01, 2006, 05:39:09 PM
You dont have any preview clock on your site as visitor?
Title: Re: Block Clock
Post by: sneet on March 01, 2006, 08:05:59 PM
Well guys it doesn't seem to be that good after all :(

It does not update untill you refresh the page and it only seems to work intermittently? go figure. I will take a look later, all users have access to view the block, on my site, and logging in still does not clear the issue. I wonder if it is because it is calling a clock.php outside of the block? permissions issue for all, no that does not make entire sense.

I am sure Xarcell can figure it though. I liked it because it was php, but maybe we have to go to java or flash like www.xyfauen.com?

g6cad you will see the alt on the left under the user block 'pifaffle clock' not working eh?
Title: Re: Block Clock
Post by: sdl on April 18, 2006, 01:34:40 PM
I have a random flash clock that I use, and have created an examples site to show it.

Click here to see it.  (http://smf.examples.com) When you refresh the page there, you should see a randomly different clock (total of 32).

To learn how to set it up for yourself, just go to the Forum there. I have a thread that explains it.

Title: Re: Block Clock
Post by: stigmartyr on April 23, 2007, 06:21:55 AM
hehehe - you said clock block