Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications

Reply
 
Thread Tools
[release] Clock Details »»
[release] Clock
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-03-2002 Last Update: Never Installs: 0
 
No support by the author.

Author: filburt1
Description: Graphical clock
Demo: http://www.webdesignforums.net/?styleid=3
Screenshot: Attached to this post.

If you use this mod, you MUST put the following text in your footer:

Quote:
Graphical clock by filburt1.
I put a lot of work into this seemingly simple mod and it's the least you can do

This is basically a graphical cloc. Configure the following variables within the file clock.php to make it match your forums:
PHP Code:
$backgroundimage "background.jpg"// filename of background
                                     // image (must be a .jpg); omit to make a
                                     // 300x300 blank black image. The image must be
                                     // square (i.e., 1:1 ratio)
$outercutoff 9// nothing will be drawn outside this padding threshold
    
// Following are cutoffs relative to $outercutoff
$minutescutoff 10// smallest distance the minute hand will ever be from the edge
$hourscutoff 20// smallest distance the hour hand will ever be from the edge
$realistichourhand 1// make the hour hand shift according to the minute when 1
$realisticminutehand 1// make the minute hand shift according to the second when 1
$minutescolor "666666"// hex color to use for minute hand, omit for white
$hourscolor "666666"// hex color to use for hour hand, omit for white
$tickscolor "777777"// hex color to use for the ticks, omit to omit the ticks
$textcolor ""// hex color to use for the text, omit to omit the text 
You need PHP with the GD library to use this.

The files and instructions are coming up in the next post.

[edit] just adding in your copyright text - loo]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-26-2003, 01:49 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not a god and on all the time and seeing every post...

Look at the fix I gave Rose.
Reply With Quote
  #23  
Old 02-26-2003, 03:17 PM
Delmon Delmon is offline
 
Join Date: Nov 2001
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$hourspercent += your GMT time shift;
if ($hourspercent >= 24) $hourspercent -= 24;


what do you mean by this (your GMT time shift)
Reply With Quote
  #24  
Old 02-26-2003, 04:03 PM
imported_MALIGNO's Avatar
imported_MALIGNO imported_MALIGNO is offline
 
Join Date: Jul 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yo lo instale sin cambiarle nada y me funciono, lo que lo quite por que me ocupaba bastante espacio, pero solo has de subir el clock.php a tu directorio del foro y poner el codigo <img src="clock.php?outputimage=1">
Las variables son de colores y demas.

saludos
Reply With Quote
  #25  
Old 02-26-2003, 04:39 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No hablo espanol mucho, solo hablo ingles.
Reply With Quote
  #26  
Old 02-26-2003, 05:32 PM
Vb-Hispano's Avatar
Vb-Hispano Vb-Hispano is offline
 
Join Date: Feb 2003
Location: Barcelona Spain
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No importa aqui me teneis si me necesitais, antes como MALIGNO ahora como Vb-Hispano
Reply With Quote
  #27  
Old 03-03-2003, 10:46 PM
imported_Someguy imported_Someguy is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delmon
hi

my local time is 7:45 and the clock is giving me 11:15

how can i fix it please
Change your time offset in your User CP? Seriously, I bet you tried that, and maybe the server's time is off.
Reply With Quote
  #28  
Old 03-03-2003, 11:21 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The clock only goes by server time.
Reply With Quote
  #29  
Old 03-12-2003, 07:22 PM
Gary W Gary W is offline
 
Join Date: Jun 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to get this to work. I have php_gd.dll loaded, but it still doesn't show up (I just get a box with the red X).

Any idea?
Reply With Quote
  #30  
Old 03-12-2003, 07:24 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you installed the mod and the GD library correctly, the mod will work. 'Nuff said.
Reply With Quote
  #31  
Old 03-12-2003, 07:28 PM
Gary W Gary W is offline
 
Join Date: Jun 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't know you were around

Anyways, I got it fixed; I just didn't have a background.jpg and I left $backgroundimage = "background.jpg"; there

It's all good now
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04857 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete