Back to vBulletin 3.7 Template Modifications

Digital Clock For vBadvanced (Javascript)
Mod Version: 1.00, by SuperTaz

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 5.00 average) Installs: 4
Released: 29 Aug 2009 Last Update: Never Downloads: 20
Not Supported Template Edits Re-usable Code Translations External Content  

Description: This adds a digital clock to your vBadvanced portal page.

Install Time: Less than 2 minutes.

Also can get files here: http://www.ricocheting.com/js/digiclock.html

Installation:

1. Upload the images to your CMPS root individually.

2. Go to your AdminCP, Click on your vBa CMPS drop down menu. From that menu, Click Add Module, then Click on Template. Then follow directions below:

Module Title: Clock
Active: Yes
Teplate to Include: adv_portal_clock
Style: Press and hold Control while you click on each style that you want to show this mod.
Template Content:

Code:
<td class="alt1" align="center><table>
<td bgcolor="black" height="45">
<img src="dg8.gif" name="hr1"><img 
src="dg8.gif" name="hr2"><img 
src="dgc.gif" name="c"><img 
src="dg8.gif" name="mn1"><img 
src="dg8.gif" name="mn2"><img 
src="dgc.gif" name="c"><img 
src="dg8.gif" name="se1"><img 
src="dg8.gif" name="se2"><img 
src="dgpm.gif" name="ampm">
</td></table>
<script type="text/javascript"><!-- start
// created: 2000-2004 ricocheting.com
// http://www.ricocheting.com/js/
dg0 = new Image();dg0.src = "dg0.gif";
dg1 = new Image();dg1.src = "dg1.gif";
dg2 = new Image();dg2.src = "dg2.gif";
dg3 = new Image();dg3.src = "dg3.gif";
dg4 = new Image();dg4.src = "dg4.gif";
dg5 = new Image();dg5.src = "dg5.gif";
dg6 = new Image();dg6.src = "dg6.gif";
dg7 = new Image();dg7.src = "dg7.gif";
dg8 = new Image();dg8.src = "dg8.gif";
dg9 = new Image();dg9.src = "dg9.gif";
dgam= new Image();dgam.src= "dgam.gif";
dgpm= new Image();dgpm.src= "dgpm.gif";
dgc = new Image();dgc.src = "dgc.gif";
function dotime(){ 
theTime=setTimeout('dotime()',1000);
d = new Date();
hr= d.getHours()+100;
mn= d.getMinutes()+100;
se= d.getSeconds()+100;
if(hr==100){hr=112;am_pm='am';}
else if(hr<112){am_pm='am';}
else if(hr==112){am_pm='pm';}
else if(hr>112){am_pm='pm';hr=(hr-12);}
tot=''+hr+mn+se;
document.hr1.src = 'dg'+tot.substring(1,2)+'.gif';
document.hr2.src = 'dg'+tot.substring(2,3)+'.gif';
document.mn1.src = 'dg'+tot.substring(4,5)+'.gif';
document.mn2.src = 'dg'+tot.substring(5,6)+'.gif';
document.se1.src = 'dg'+tot.substring(7,8)+'.gif';
document.se2.src = 'dg'+tot.substring(8,9)+'.gif';
document.ampm.src= 'dg'+am_pm+'.gif';}
dotime();
//end -->
</script>
</td>
The rest of the settings is up to you.

SAVE

Adjust it to show where you want it to on your portal page.

DONE!

http://www.global-gamers.net/

If you use this mod, please CLICK INSTALL

Download

This modification is archived, downloads are still allowed.

File Type: %1$s clock.zip (20.3 KB, 20 downloads)

Similar Mods

Portal Software Digital Clock For vBadvanced (Javascript) vBulletin 3.8 Template Modifications
Portal Software Digital Clock Module For vBadvanced CMPS vBulletin 3.8 Template Modifications
Mini Mods Clock module for CMPS vBulletin 3.8 Template Modifications
Portal Software Digital Clock Module For vBadvanced CMPS vBulletin 3.6 Template Modifications
Portal Software Digital Clock Module For vBadvanced CMPS vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2024