PDA

View Full Version : Clock Poppuries With Collapsible Module


stitch
11-01-2004, 05:20 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.

stitch
11-01-2004, 08:28 PM
Binary clock

Our Sponsors
 

camikazi2k
11-01-2004, 10:05 PM
can you reupload the first file its corrupted
thanks

stitch
11-01-2004, 11:55 PM
Those files are actually in rar format. I reupload with the real zip format.

Additional Instruction:

Open the randomclock.php and edit the line

$path = 'c:/vbb/clocks';
$urlswf='http://localhost/vbb/clocks';

to the appropriate directory and url

Our Sponsors
 

Zachery
11-02-2004, 12:21 AM
You are aware the software is not vBB rather vB correct? :)

stitch
11-02-2004, 02:41 AM
You are aware the software is not vBB rather vB correct? :)


:D I install it locally and was thinking in "vbulletine board" => vbb :D

stitch
11-16-2004, 07:51 PM
Another clock.

I didn't make this