PDA

View Full Version : [vb cmps] Clock Poppuries With Collapsible Module


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.

Bolas
11-01-2004, 10:33 PM
ehm.. useful! https://vborg.vbsupport.ru/

Moya
11-01-2004, 10:59 PM
:) I did this one out of boredom at work for portal page enhancement. :)

Moya
11-01-2004, 11:27 PM
Binary Clock

emtee
11-02-2004, 12:04 AM
Yep, nice. Thanks!

Moya
11-02-2004, 02:59 AM
Those files are actually in rar format. You can download and rename to .rar extension or get the on 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

???`S?LV?R???`
11-02-2004, 04:46 AM
nice one

Moya
11-16-2004, 10:52 PM
another one...I didn't make this

patriotcow
12-12-2004, 05:13 PM
I cannot unzip the file it says its corrupt!

Moya
12-14-2004, 10:28 PM
I cannot unzip the file it says its corrupt!


Which one?

SVTOA
12-19-2004, 08:08 PM
The first one. The other files work ok. I thought this was useless Stitch, but I'm bored too, so installed your hack. It looks kinda cool on the main page.

Moya
12-20-2004, 10:35 PM
The first one. The other files work ok. I thought this was useless Stitch, but I'm bored too, so installed your hack. It looks kinda cool on the main page.


Do you have winrar? Download the attached files and change to .rar extension and extract.

Heheheh I know they are kinda useless, but I think it is kinda kool to have :)

SVTOA
12-20-2004, 11:03 PM
LOL... yea the backwards clock is kinda freeky, I like it. :D