Moya
10-31-2004, 10:00 PM
Uhmm I am bored and created this random flash clocks module.
This module will display on your vba_cmps page a random clocks. With this module you have the ability to add more clocks without revising the code.
I test this on localhost with the Personal Web Server on NT4 machine and it works. I don't know the affect on Linux or Unix machine. It should works fine under IIS server
First
Create a clocks directory under your forum
i.e : http://www.yoursite.com/forum/clocks
Upload the swf in the zip file to this directory
Upload the randomclock.php to your modules directory
i.e : http://www.yoursite.com/forum/modules
Create a new template called adv_portal_reverseclock
and paste the following codes
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('reverseclock')"><img id="collapseimg_reverseclock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_reverseclock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>
<center><i><font color="#FFFF00">Clocks Poppuries</font>
</i>
</center>
</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_reverseclock" style="$collapseobj_reverseclock">
<tr>
<td class="alt2" align="center" width="100%">
<object width="150" height="150">
<param name="movie" value="$clock_name">
<embed src="$clock_name" width="150" height="150">
</embed>
</object>
</td>
</tr>
</tbody>
</table>
<br />
Create a module
Module Title: Reverse Clock
Module Identifier: leave blank
File to Include: randomclock.php
OR Template to Include: leave blank
Active: Yes
Column: Your choice
Display Order: Your choice
Templates Used: adv_portal_reverseclock
You can place your module any where you want.
This module will display on your vba_cmps page a random clocks. With this module you have the ability to add more clocks without revising the code.
I test this on localhost with the Personal Web Server on NT4 machine and it works. I don't know the affect on Linux or Unix machine. It should works fine under IIS server
First
Create a clocks directory under your forum
i.e : http://www.yoursite.com/forum/clocks
Upload the swf in the zip file to this directory
Upload the randomclock.php to your modules directory
i.e : http://www.yoursite.com/forum/modules
Create a new template called adv_portal_reverseclock
and paste the following codes
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('reverseclock')"><img id="collapseimg_reverseclock" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_reverseclock.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>
<center><i><font color="#FFFF00">Clocks Poppuries</font>
</i>
</center>
</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_reverseclock" style="$collapseobj_reverseclock">
<tr>
<td class="alt2" align="center" width="100%">
<object width="150" height="150">
<param name="movie" value="$clock_name">
<embed src="$clock_name" width="150" height="150">
</embed>
</object>
</td>
</tr>
</tbody>
</table>
<br />
Create a module
Module Title: Reverse Clock
Module Identifier: leave blank
File to Include: randomclock.php
OR Template to Include: leave blank
Active: Yes
Column: Your choice
Display Order: Your choice
Templates Used: adv_portal_reverseclock
You can place your module any where you want.