View Full Version : Analog Clock + Digital Clock + Calender [All in 1 with flash!]
Zorobz
12-29-2004, 12:14 PM
i found this great watch on the internet.
its an analog watch+digital watch+calender in a flash format.
this module can decrease your queries count as well by eliminating the calender module!
the flash uses action script to determine the correct GMT and date so its diffrent for each user...
Add the following template in your admin panel:
adv_portal_clock
content[This template includes the collapsing modules mod built in it]:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="$getbgrow" align="center" width="100%">
<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="147" height="139" align="left" border="0" hspace="1">
<param name=movie value="http://ClocksLocation/clock_calendar.swf">
<param name=quality value=High>
<param name=bgcolor value=F6F8FA>
<param name="wmode" value="F6F8FA">
<param name="menu" value="0">
<param name="_cx" value="3836">
<param name="_cy" value="3678">
<param name="FlashVars" value>
<param name="Src" value="http://ClocksLocation/clock_calendar.swf">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="SAlign" value>
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ExactFit">
<param name="DeviceFont" value="-1">
<param name="EmbedMovie" value="0">
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="http://forum.ex-zone.com/modules/clock_calendar.swf" quality=high bgcolor=#F6F8FA WIDTH="135" HEIGHT="135" wmode="transparent" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED></object>
</td>
</tr>
</tbody>
</table>
<br />
Now download the clock from the attachment and put it at your "modules" folder with all the php files.
Than add a module in your vBA page in the usual way...
play around with the Bgcolor of your clock to match your forums background so it would fit it...(<param name=bgcolor value=F6F8FA>)
If you are confused and dont really understand how this clock works visit http://www.ex-zone.com for a live demo.
Jester
12-29-2004, 02:34 PM
Excellent hack!
jluerken
12-30-2004, 07:06 AM
Nice module but its not working in firefox. On your page this is also working in my firefox but on mine only when I look at the page using the IE.
Ok, I've tested this now with three of my visitors and they all can't see the clock while browsing my page with firefox.
On yours they can see it.
Can you please post your template here again? There seems to be small changes.
jluerken
12-30-2004, 08:05 AM
When I use this code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="alt1" align="center" width="100%">
<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="150" height="140" id="relogio" align="center">
<param name="movie" value="http://www.clanforums.com/forum/modules/clock_calendar.swf">
<param name="quality" value="high">
<param name="bgcolor" value="DFE1E4">
<param name="wmode" value="transparent">
<param name="menu" value="false">
<embed src="http://www.clanforums.com/forum/modules/clock_calendar.swf" quality="high" bgcolor="#DFE1E4" width="150" height="130" wmode="transparent" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" menu="false">
</embed>
</object>
</center>
</td>
</tr>
</table>
<br>
its working for me. Seems to be a problem with one of the params and firefox.
Zorobz
12-30-2004, 09:47 AM
weird.... might be it.
glad its fixed :]
KW802
12-30-2004, 01:36 PM
I'm not a big fan of these 'clock modules' but I've got to admit, this one is pretty cool looking. :cool:
Anybody out there familiar with flash? Bonus points to whomever gets the calendar to talk to VB's calendar. :p
Zorobz
12-30-2004, 03:27 PM
what do u mean to "talk" ? what do u want it to do ?
KW802
12-30-2004, 04:38 PM
what do u mean to "talk" ? what do u want it to do ?Instead of having both the default CMPS calendar module and a second module that also displays the calendar (in this case, the "clock/calendar"), it'd be pretty cool if the SWF version was able to show the VB events thus eliminating the need for the CMPS version. :)
Zorobz
12-30-2004, 07:33 PM
oh..... its possible.
all that needed is flash to load the varialbes(the easy part) and after that do what the caleder does which i dont know what... but should be possible since the work is done by the php file.
Deviant++
01-13-2005, 12:50 PM
dosn't seem to work on mine, any idea why ?
I've put in all the content for template and added the file to the folder, even set it in layout, but its not appearing..
Zorobz
01-14-2005, 06:54 AM
copy the template you made here.
make sure all is defined correctly on vba.
syedakm
01-15-2005, 09:57 AM
I added the clock templates and module as it was instructed, when I go to the main page of my forum it displays ASCII characters for almost a page's worth and then the rest of the forum page.
I reinstalled the flash viewer, still nothing. I am using IE. Any ideas?
Lottis
01-15-2005, 02:09 PM
When I use this code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="alt1" align="center" width="100%">
<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="150" height="140" id="relogio" align="center">
<param name="movie" value="http://www.clanforums.com/forum/modules/clock_calendar.swf">
<param name="quality" value="high">
<param name="bgcolor" value="DFE1E4">
<param name="wmode" value="transparent">
<param name="menu" value="false">
<embed src="http://www.clanforums.com/forum/modules/clock_calendar.swf" quality="high" bgcolor="#DFE1E4" width="150" height="130" wmode="transparent" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" menu="false">
</embed>
</object>
</center>
</td>
</tr>
</table>
<br>
its working for me. Seems to be a problem with one of the params and firefox.
This works like a charm for me. ;)
Thanx.
cLord
01-17-2005, 01:02 PM
VERY nice!
Would it be possible to alter the .swf file so that the calendar becomes default?
cLord
Deviant++
01-18-2005, 01:20 PM
copy the template you made here.
make sure all is defined correctly on vba.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="$getbgrow" align="center" width="100%">
<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="147" height="139" align="left" border="0" hspace="1">
<param name=movie value="http://ClocksLocation/clock_calendar.swf">
<param name=quality value=High>
<param name=bgcolor value=F6F8FA>
<param name="wmode" value="F6F8FA">
<param name="menu" value="0">
<param name="_cx" value="3836">
<param name="_cy" value="3678">
<param name="FlashVars" value>
<param name="Src" value="http://ClocksLocation/clock_calendar.swf">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="SAlign" value>
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ExactFit">
<param name="DeviceFont" value="-1">
<param name="EmbedMovie" value="0">
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="http://forum.ex-zone.com/modules/clock_calendar.swf" quality=high bgcolor=#F6F8FA WIDTH="135" HEIGHT="135" wmode="transparent" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED></object>
</td>
</tr>
</tbody>
</table>
<br />
Deviant++
01-21-2005, 12:29 PM
Someone help me out please.. :(
Skaterscafe.com
01-23-2005, 11:50 AM
Well I can't get this one to work either...not sure what I'm doing wrong but no modules will work on my CMPS.
DarkDD
01-27-2005, 09:50 AM
I was having the same problem but i found out a lil key element...when you go to make the module DONT include adv_portal_clock just put clock in the template box and it will show up :D
Deviant++
01-29-2005, 09:40 AM
dont make any diff
Nathan
01-30-2005, 10:37 AM
If you are confused and dont really understand how this clock works visit http://www.ex-zone.com for a live demo.
Did you remove it? I don't see it on your site anywhere.
Zorobz
02-01-2005, 01:23 PM
Did you remove it? I don't see it on your site anywhere.
I did remove it... dont use vBA anymore.
sorry.
Nathan
02-02-2005, 01:14 AM
Ok, can you tell me why?
Gizmo[5h1t3]
02-11-2005, 02:48 PM
works an absolute treat mate......
not sure if this helps, but some peoiple might be missing this bit....
in the code, there are a number of edits to be made, which i have highlighted.
the instructions do not specify this, and while it might be obvious to some, others might not see it.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="$getbgrow" align="center" width="100%">
<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="147" height="139" align="left" border="0" hspace="1">
<param name=movie value="http://ClocksLocation/clock_calendar.swf">
<param name=quality value=High>
<param name=bgcolor value=F6F8FA>
<param name="wmode" value="F6F8FA">
<param name="menu" value="0">
<param name="_cx" value="3836">
<param name="_cy" value="3678">
<param name="FlashVars" value>
<param name="Src" value="http://ClocksLocation/clock_calendar.swf">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="SAlign" value>
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ExactFit">
<param name="DeviceFont" value="-1">
<param name="EmbedMovie" value="0">
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="http://forum.ex-zone.com/modules/clock_calendar.swf" quality=high bgcolor=#F6F8FA WIDTH="135" HEIGHT="135" wmode="transparent" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED></object>
</td>
</tr>
</tbody>
</table>
<br />
the bits highlighted in blue have to be edited to include the URL of your site, and the path to the file on your FTP.
as i said, obvious to some, but others might not see it..thus not have a clock display.
Hope its of help.
y2ksa
02-12-2005, 08:39 AM
hi cool mod but i cant seem to view any new mod?
i added this one and 2 mor but thay dont show at the index page!!
any ideas please
Alderwazeh
02-12-2005, 09:20 AM
:
Originally Posted by jluerken
When I use this code:
PHP Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="alt1" align="center" width="100%">
<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="150" height="140" id="relogio" align="center">
<param name="movie" value="http://www.clanforums.com/forum/modules/clock_calendar.swf">
<param name="quality" value="high">
<param name="bgcolor" value="DFE1E4">
<param name="wmode" value="transparent">
<param name="menu" value="false">
<embed src="http://www.clanforums.com/forum/modules/clock_calendar.swf" quality="high" bgcolor="#DFE1E4" width="150" height="130" wmode="transparent" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" menu="false">
</embed>
</object>
</center>
</td>
</tr>
</table>
<br>
This works like a charm for me. ;)
Thanx.
Add these codes to your template only...I have already install it ..two hours ago ...Please not that when I put the first code in this post it didnt work so I placed the attached one and it work...take this code only and place it in your template and I am sure it will work this time...
good luck
Deviant++
02-12-2005, 12:43 PM
I give up, dosn't work for me..
y2ksa
02-12-2005, 03:23 PM
didn't work but thanks any way
Deviant++
02-16-2005, 12:47 PM
This is the error I get if I even just ENABLE the file..
explanation of setup was not real n00b friendly, attached pic of setup and it will work fine.
LEAD_WEIGHT
03-14-2005, 03:52 PM
']works an absolute treat mate......
not sure if this helps, but some peoiple might be missing this bit....
in the code, there are a number of edits to be made, which i have highlighted.
the instructions do not specify this, and while it might be obvious to some, others might not see it.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('clock')"><img id="collapseimg_clock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_clock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_options[portal_blockbullet] Time & Date</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_clock" style="$collapseobj_clock">
<tr>
<td class="$getbgrow" align="center" width="100%">
<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="147" height="139" align="left" border="0" hspace="1">
<param name=movie value="http://ClocksLocation/clock_calendar.swf">
<param name=quality value=High>
<param name=bgcolor value=F6F8FA>
<param name="wmode" value="F6F8FA">
<param name="menu" value="0">
<param name="_cx" value="3836">
<param name="_cy" value="3678">
<param name="FlashVars" value>
<param name="Src" value="http://ClocksLocation/clock_calendar.swf">
<param name="Play" value="0">
<param name="Loop" value="0">
<param name="SAlign" value>
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ExactFit">
<param name="DeviceFont" value="-1">
<param name="EmbedMovie" value="0">
<param name="SWRemote" value>
<param name="MovieData" value>
<embed src="http://forum.ex-zone.com/modules/clock_calendar.swf" quality=high bgcolor=#F6F8FA WIDTH="135" HEIGHT="135" wmode="transparent" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED></object>
</td>
</tr>
</tbody>
</table>
<br />
the bits highlighted in blue have to be edited to include the URL of your site, and the path to the file on your FTP.
as i said, obvious to some, but others might not see it..thus not have a clock display.
Hope its of help.
thanks for the hint Gizmo[5h1t3] works like a charm if anyone still can not do this then pm me
Arial
03-22-2005, 06:57 AM
Folks
Did anyone manage to get the calender from this to be the default calendar and allow you to click on days with events to get more information etc?
mholtum
03-22-2005, 12:32 PM
Clock works great how do I display the calender. Stupid question I know but I cant figure it out...
Avalon111
04-14-2005, 08:37 AM
Clock works great how do I display the calender. Stupid question I know but I cant figure it out...
same question here
LEAD_WEIGHT
04-14-2005, 05:45 PM
same question here
Click on the word Calender :confused:
lalotte
04-14-2005, 06:25 PM
Check my clock out!
The background is from a painting I did 9 years ago. I had the owner of it take a picture for me. She emailed it to me, I edited it and imported to Flash, and there you go. Aint internet grand:)
LEAD_WEIGHT
04-14-2005, 07:21 PM
Check my clock out!
The background is from a painting I did 9 years ago. I had the owner of it take a picture for me. She emailed it to me, I edited it and imported to Flash, and there you go. Aint internet grand:)
Could u show me how u place the background like that, I might already know how but u already do so I like to learn the fast way. :D
and I like to know if u can make it do random pictures every time u log on or just click back & forth :)
Avalon111
04-18-2005, 11:31 AM
Click on the word Calender :confused:
well that was easy :D
is it possible to show the calendar first when opening the website? or showing both in a larger module?
LEAD_WEIGHT
04-18-2005, 02:55 PM
well that was easy :D
is it possible to show the calendar first when opening the website? or showing both in a larger module?
Leave your orginal calendar on or I u can use this??? sorry I forgot:confused:
LEAD_WEIGHT
04-18-2005, 02:59 PM
Could u show me how u place the background like that, I might already know how but u already do so I like to learn the fast way. :D
and I like to know if u can make it do random pictures every time u log on or just click back & forth :)
anyone knows how to place random images behide clock face :)
Avalon111
04-19-2005, 01:11 AM
Leave your orginal calendar on or I u can use this??? sorry I forgot:confused:
when i open the cmps site the clock is showing up. i would like to replace the original minicalendar with your calendar. but i want to see the calendar and the clock at the same time! this means in a seperated module or in a larger module the clock and the calendar. i hope you understand now what i mean. :)
how is it possible to show the date (i.e. 19-04-2005) instead of Time & Date ?
LEAD_WEIGHT
04-21-2005, 04:01 AM
http://www.vbadvanced.com/forum/showthread.php?t=7319
something like this. The site is down & up so I made a drawing.
machelp
04-22-2005, 07:15 PM
Very good hack,
not sue if I've messed up but can anyone check if the clock is visible on my page.
http://www.mac-help.com/
If I view the site with IE on Win XP then the closk/calendar are there and look great..
but if I view the page in Safari or IE on a Mac OS X 10.3.8, the time and date panel shows up but no clock/calender inside it.
Any help anyone thanks
Ric
mholtum
04-22-2005, 07:58 PM
that is becase MAC's suck. ;)
LEAD_WEIGHT
04-22-2005, 10:59 PM
Very good hack,
not sue if I've messed up but can anyone check if the clock is visible on my page.
http://www.mac-help.com/
If I view the site with IE on Win XP then the closk/calendar are there and look great..
but if I view the page in Safari or IE on a Mac OS X 10.3.8, the time and date panel shows up but no clock/calender inside it.
Any help anyone thanks
Ric
Make sure your users are using IE cause that is what I am going to tell them until IE or the other browser merge with each other. Or u are going to be fraustrated but I am sure someone made one that works.
machelp
04-23-2005, 04:48 AM
IE on the Mac doesn't show it either !
LEAD_WEIGHT
04-23-2005, 05:01 AM
IE on the Mac doesn't show it either !
u have a mac computer, Oh then I am sorry to respond before, I thought u were had a pc while running a Mac site. To bad I do not see a Help Place for Mac Users here. U should take this up with the Admin. here cause I do not know if this code works for Mac users. sorry :confused:
I just went to your site and I see the time display but it took a few seconds and the forum load up took 30sec to load up. :cool:
One thing u need to do is match the colour background with the other modules , I see a tint of blue & cache the IE ctrl+f5 place your url link of your page & press ok. That is what I was told to do before or just clean your cookies if u have a good proggy for that like CyberScrub or just use what u got.
Sorry again it does not show on Mac IE , another place to get IE answers is at Microsoft chat forum they have techs to help u out for free. Not the ones u phone but on a forum run by microsoft techs . I will get the link if someone has not posted before. ;)
http://www.microsoft.com/communities/chats/default.mspx
http://www.msfn.org/
Deviant++
04-23-2005, 07:57 AM
I just use an iframe.. solves any issue in this thread ;)
machelp
04-26-2005, 06:17 PM
Hi Deviant,
can you expand further ?
thanks
Ric
Deviant++
04-26-2005, 10:21 PM
make a .htm file with the flash in it and dimensions specified..
make the module with a template iframing to that htm
and it'll instantly appear.
a good size is 140x140
machelp
04-27-2005, 01:46 AM
Thanks, I will give it a go.
Regards
Ric
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.