vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [vb cmps] Clock Poppuries With Collapsible Module (https://vborg.vbsupport.ru/showthread.php?t=71256)

Moya 10-31-2004 10:00 PM

[vb cmps] Clock Poppuries With Collapsible Module
 
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


Quote:


<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

PHP Code:

$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

Quote:

Originally Posted by patriotcow
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

Quote:

Originally Posted by SVTOA
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


All times are GMT. The time now is 02:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01676 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete