I found this combo - Clock / Calendar flash and or .swf file I added it in a html block - and or javascript/html - block both worked, and it has a small menu on the right of it to view either the clock or calender & it scrolls up & down, & so far so sweet. :)
I have attached a zip file with the clock/calendar and upload it to your Forum directory.. then add as usual something like this:
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="140" HEIGHT="140">
<PARAM NAME="movie" VALUE="clock_calendar.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<param name="wmode" value="transparent">
<param name="menu" value="true">
<EMBED src="clock_calendar.swf" quality="high" bgcolor="#FFFFFF" WIDTH="140" HEIGHT="140" wmode="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false">
</EMBED></OBJECT></center>
Enjoy,
crip~
[attachment deleted by admin]
Can't preview it because you have the X-mas theme set as default.
None the less it's a very nice clock/calendar combo .. best one I've saw yet.
I love the new blue buttons!
That is smart.
Is there a way to make the time show in a 12 hour format?
Works great -- thanks ;)
where did you find this btw? it's awesome, using it on my forum too now, tyvm.
I found it on the Vbulletin forum - it's a plug-in some guys where discussing and I saw they had a zip to download, so I fetched it real quick and shared it here. :)
crip~
Quote from: Skhilled on November 26, 2005, 05:23:37 AM
Is there a way to make the time show in a 12 hour format?
Ye, change your PC to 12 hour. It reads the time and date from your local PC.
heh gj crip ;) ty again
Quote from: gerrymo on December 01, 2005, 12:45:38 PM
Quote from: Skhilled on November 26, 2005, 05:23:37 AM
Is there a way to make the time show in a 12 hour format?
Ye, change your PC to 12 hour. It reads the time and date from your local PC.
I meant the little digital display just below the center of the clock...
Quote from: Skhilled on December 02, 2005, 02:07:22 PM
Quote from: gerrymo on December 01, 2005, 12:45:38 PM
Quote from: Skhilled on November 26, 2005, 05:23:37 AM
Is there a way to make the time show in a 12 hour format?
Ye, change your PC to 12 hour. It reads the time and date from your local PC.
I meant the little digital display just below the center of the clock...
Yes, ..it shows whatever you have your computer clock set on.."{Regional Languages}" in your local PC control panel.
Hmm, didn't do that for me although I have it setup for 12hr. I'll have to check it later cause my site is down at the moment. Thanks!
The clock is very good... but why clock/calendar? Isn't only a clock?
Click on the calendar link in the block. Th clock scrolls off and the calendar scrolls in.
Silly me! Damn is great! Maybe someone knows otehs design for calendar/clock?
Do you know what the font colours are set by, as the numbers match the background in Helios :'(
Quote from: [TFS] Faith on December 15, 2005, 06:38:23 PM
Do you know what the font colours are set by, as the numbers match the background in HeliosÂÃ, :'(
since it's a .swf file I doubt you can change much of anything on that particular Combo..?..sorry
try putting a div around it with white backgroundcolor..like:
<div style="background-color: white;">...the flash clock code here...</div>
Take out this in the code
wmode="transparent"
It will show up in Helios
Hi Crip
I can see the clock on main page but when I enter my forums it shows an empty blocK. any idea?
hmm, never had that happen.. tell me more?
It's could be this:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.shownomercyclan.co.uk%2FFirefox.gif&hash=195e8bf351352273246bcacb9ccefff94bd65ede)
Later, crip~ ;D
Nope I tried IE too and its the same. I have it on front page then i click forum and get it on forum index but when i go into a board it disappears ;(
Don't work for me. I get :
Parse error: parse error, unexpected '<' in /home/*****/public_html/gamesocket/forum/Sources/Load.php(1607) : eval()'d code(34) : eval()'d code on line 1
I must be loony right now from too much work, but I don't see how that flash clock would effect your forum. It takes the time from your PC, not your forum.
I'm confused...
Quote from: Polymath on February 18, 2006, 01:43:57 AM
Don't work for me. I get :
Parse error: parse error, unexpected '<' in /home/*****/public_html/gamesocket/forum/Sources/Load.php(1607) : eval()'d code(34) : eval()'d code on line 1
Didi you echo?
echo '
FLASH HTML CODE HERE
';
So Its actually ?
echo '
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="140" HEIGHT="140">
<PARAM NAME="movie" VALUE="clock_calendar.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<param name="wmode" value="transparent">
<param name="menu" value="true">
<EMBED src="clock_calendar.swf" quality="high" bgcolor="#FFFFFF" WIDTH="140" HEIGHT="140" wmode="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false">
</EMBED></OBJECT></center>
';
I put that in the mange blocks piece in the TP manager. Sorry, I havn't done anything before with the admin TP. Just installed and left it.
;D Wow thats cool. Love it thankyou. Got it going now. Don't think it had anything to do with the echo bit, I had to remove it. not sure what I done wrong, but its there. :uglystupid2:
Your welcome. :)
Is great.
Quote from: crip on November 25, 2005, 03:07:03 PM
I found this combo - Clock / Calendar flash and or .swf file I added it in a html block - and or javascript/html - block both worked, and it has a small menu on the right of it to view either the clock or calender & it scrolls up & down, & so far so sweet. :)
I have attached a zip file with the clock/calendar and upload it to your Forum directory.. then add as usual something like this:
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="140" HEIGHT="140">
<PARAM NAME="movie" VALUE="clock_calendar.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<param name="wmode" value="transparent">
<param name="menu" value="true">
<EMBED src="clock_calendar.swf" quality="high" bgcolor="#FFFFFF" WIDTH="140" HEIGHT="140" wmode="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false">
</EMBED></OBJECT></center>
Enjoy,
crip~
Live Preview: http://www.tnquad.us/forum/index.php?action=forum
I cant see the preview for this addons.
And from what i understand ...
I need to download clock_calendar.zip then upload it into the package manager then where should i fill in the codes ?
Is this how the combo should look like ?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg84.imageshack.us%2Fimg84%2F3636%2Fcalendarclock3hs.jpg&hash=05bb56dc648b5fa851c5afca789a7719877796a8) (http://imageshack.us)
And how to do this world time board ?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimg139%2F7465%2Fworldtime4vp.jpg&hash=d781fbca8b19a50e2f68031f1111c5eeea8a9035) (http://imageshack.us)
P/S : I am currently running on SMF 1.1 RC 2 with Tiny Portal 0.8.6
I tested it out on my test forum and I put it in a right block. My right block is 200pix wide and the clock still sticks out. The type of block I chose is html.
I tried to change the width in the code from 140 to 100 and it made no difference.
Any ideas on how to make it smaller? Cool snippet thou 8)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg84.imageshack.us%2Fimg84%2F3636%2Fcalendarclock3hs.jpg&hash=05bb56dc648b5fa851c5afca789a7719877796a8) (http://imageshack.us)
Manage to get this working ... Wee ... Should have put more in details instruction for a newbie like me.
1. Put the codes in the new block script snipplets.
2. Unzip clock_caledar.zip then paste clock_calendar.swf in ur forum folder.
And now ... Is there any way to do the world time like the below screenshot ?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg139.imageshack.us%2Fimg139%2F7465%2Fworldtime4vp.jpg&hash=d781fbca8b19a50e2f68031f1111c5eeea8a9035) (http://imageshack.us)
The worldtime isent a part of the combo clock calendar snippet here. ItÂÃ,´s a total diffrent script, so you have to look for it or ask where they got the script from
Quote from: G6 on May 12, 2006, 11:30:19 AM
The worldtime isent a part of the combo clock calendar snippet here. ItÂÃ,´s a total diffrent script, so you have to look for it or ask where they got the script from
I saw it in 1 of the MKPortal. Will try to ask the site owner about the code snippets.
I found the (1st clock / calendar_combo) from a vBulletin forum download ...
This is the code that he gave me. I tried it on mine but its not working :-\ :-\ :-\
Quote<tr><td width="100%" align="center"><select name="city" size="1" onchange="updateclock(this);">
<option value="" selected>Local time</option>
<option value="0">London GMT</option>
<option value="1">Rome</option>
<option value="7">Bangkok</option>
<option value="8">Hong Kong</option>
<option value="9">Tokyo</option>
<option value="10">Sydney</option>
<option value="12">Fiji</option>
<option value="-10">Hawaii</option>
<option value="-8">San Francisco</option>
<option value="-5">New York</option>
<option value="-3">Buenos Aires</option></select></td></tr><tr><td width="100%" align="center"><script language="JavaScript">
if (document.all||document.getElementById)
document.write('<IMG height=16 src="mkportal/images/timer.gif" width=16> <span id="worldclock" style="font:bold 12px Arial;"></span>
')
zone=0;
isitlocal=true;
ampm='';
function updateclock(z){
zone=z.options[z.selectedIndex].value;
isitlocal=(z.options[0].selected)?true:false;
}
function WorldClock(){
now=new Date();
ofst=now.getTimezoneOffset()/60;
secs=now.getSeconds();
sec=-1.57+Math.PI*secs/30;
mins=now.getMinutes();
min=-1.57+Math.PI*mins/30;
hr=(isitlocal)?now.getHours():(now.getHours() + parseInt(ofst)) + parseInt(zone);
hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360;
if (hr < 0) hr+=24;
if (hr > 23) hr-=24;
ampm = (hr > 11)?"PM":"AM";
statusampm = ampm.toLowerCase();
hr2 = hr;
if (hr2 == 0) hr2=12;
(hr2 < 13)?hr2:hr2 %= 12;
if (hr2<10) hr2="0"+hr2
var finaltime=hr2+':'+((mins < 10)?"0"+mins:mins)+':'+((secs < 10)?"0"+secs:secs)+' '+statusampm;
if (document.all)
worldclock.innerHTML=finaltime
else if (document.getElementById)
document.getElementById("worldclock").innerHTML=finaltime
else if (document.layers){
document.worldclockns.document.worldclockns2.document.write(finaltime)
document.worldclockns.document.worldclockns2.document.close()
}
setTimeout('WorldClock()',1000);
}
window.onload=WorldClock
//-->
</script><ilayer id="worldclockns" width=100% height=35><layer id="worldclockns2" width=100% height=35 left=0 top=0 style="font:bold 12px Arial;"></layer></ilayer></td></tr>
Quote from: RoarinRow on May 11, 2006, 06:35:25 PM
I tested it out on my test forum and I put it in a right block. My right block is 200pix wide and the clock still sticks out. The type of block I chose is html.
I tried to change the width in the code from 140 to 100 and it made no difference.
Any ideas on how to make it smaller? Cool snippet thou 8)
Disregard my first post on this. I created the block at a javascript/html and it worked no problem. :up:
Quote from: crip on November 25, 2005, 03:07:03 PM
I found this combo - Clock / Calendar flash and or .swf file I added it in a html block - and or javascript/html - block both worked, and it has a small menu on the right of it to view either the clock or calender & it scrolls up & down, & so far so sweet. :)
I have attached a zip file with the clock/calendar and upload it to your Forum directory.. then add as usual something like this:
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="140" HEIGHT="140">
<PARAM NAME="movie" VALUE="clock_calendar.swf">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<param name="wmode" value="transparent">
<param name="menu" value="true">
<EMBED src="clock_calendar.swf" quality="high" bgcolor="#FFFFFF" WIDTH="140" HEIGHT="140" wmode="transparent" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false">
</EMBED></OBJECT></center>
Enjoy,
crip~
Live Preview: http://www.tnquad.us/forum/index.php?action=forum
where must i add it....
You add the code in a TP scriptbox only. :)
is that in tinymce?
very sorry dear...im new in tp
Add a New left/right block, choose which type of block: "(scriptbox)" and yes you can add it via tinyMCE, or any tp_edtior..
Quote from: crip on November 20, 2006, 05:18:57 PM
Add a New left/right block, choose which type of block: "(scriptbox)" and yes you can add it via tinyMCE, or any tp_edtior..
after i add scriptbox what must i do?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi111.photobucket.com%2Falbums%2Fn148%2Falhaudhie%2Fd.jpg&hash=cd975df16a9d21cce700d243900bb97c437f6900)
it is here?
Quote from: Amay_Zing on January 28, 2006, 08:33:40 PM
Hi Crip
I can see the clock on main page but when I enter my forums it shows an empty blocK. any idea?
Bump ...
Crip,
This is still an issue. It was the same when I first tried this and had TP version 0.86 and is still doing the same thing on TP 0.97. To see it in action check this link ...
http://talesofthehavenexpanse.com/SMF-1/index.php?action=forum (http://talesofthehavenexpanse.com/SMF-1/index.php?action=forum)
Once you get there just click on any available board and you'll see that even though the block is still there the clock isn't. It's the same in all themes as well.
Any clue?
ZarPrime
Try using the full path for the swf file. In both object and embed tags.
Quote from: Bloc on February 13, 2007, 02:14:27 PM
Try using the full path for the swf file. In both object and embed tags.
Thank you Mr. Bloc. Sounds promising. I will try that this evening and let you know. ;)
ZarPrime
Quote from: Bloc on February 13, 2007, 02:14:27 PM
Try using the full path for the swf file. In both object and embed tags.
Thank you Bloc. That solved the problem. Once again you have proven your genius. ;D :up:
ZarPrime
great 1. thx :D
Hey guys I have uploaded this to my forum folder and trying to figure out why its not poping up. I am sorry but I am new to the tp world.
Crip!! Help! I am apparently fecking retarded, because I cannot figure this out. I go into my tp admin panel, and I add the clock code to a new "block" (I'm choosing a right side block, and "scriptbox" as my type, since the only other thing I have is bbc_html and it isn't working there either). Then I uploaded the clock.swf to my website's main directory... is that where I'm going wrong? I feel like an idiot.
dont feel bad guys.. im having an issue on getting this clock to show up on my theme right now.. Crip.. maybe you could take a peek at it.. it wants to show up (yes i have it in a scriptbox) but i get either the echo part to show, or i get code that shows, and when i take this part:
<param name="wmode" value="transparent"> out, it still shows the echo' bit.. think im going to have to try out a new style of clock anyways.. idk but i miss not having time back on my site..
here is the addy in case you have lost where i am am:
http://www.twistedgraffix.com
seems im having an issue with my friends block too.. blame it on i hate to code..
Smoky
Quote from: Keurigirl on December 29, 2007, 05:55:22 AM
Crip!! Help! I am apparently fecking retarded, because I cannot figure this out. I go into my tp admin panel, and I add the clock code to a new "block" (I'm choosing a right side block, and "scriptbox" as my type, since the only other thing I have is bbc_html and it isn't working there either). Then I uploaded the clock.swf to my website's main directory... is that where I'm going wrong? I feel like an idiot.
Keurigirl,
it really doesn't matter where you upload the file if you just put in the "direct" url)) • http://w w w.Keurigirl.com/clock.swf -- Now the "direct link or w w w.com does need to go in two (2) places in the block code.. do this your Clock will show. :)
Quote from: Smoky on January 02, 2008, 10:33:59 AM
dont feel bad guys.. im having an issue on getting this clock to show up on my theme right now.. Crip.. maybe you could take a peek at it.. it wants to show up (yes i have it in a scriptbox) but i get either the echo part to show, or i get code that shows, and when i take this part:
<param name="wmode" value="transparent"> out, it still shows the echo' bit.. think im going to have to try out a new style of clock anyways.. idk but i miss not having time back on my site..
here is the addy in case you have lost where i am am:
http://www.twistedgraffix.com
seems im having an issue with my friends block too.. blame it on i hate to code..
Smoky
Smoky,
if you like this Clock / Combo and wanna use it on your site just shoot me a PM and I'll stick it on for ya..
(you shouldn't be able to see any) text at all from the Script/block/box code but the [Title] only? :)
• Crip~
Works perfectly! Thanks!