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
  #32  
Old 05-03-2003, 01:46 AM
Prankster
Guest
 
Posts: n/a
Default

i have a problem , and i dont know to fix them.

lokk a the attachment to see the Poblem.

greets Prankster
Reply With Quote
  #33  
Old 05-03-2003, 01:47 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the problem?
Reply With Quote
  #34  
Old 05-03-2003, 06:46 AM
Black Vivi's Avatar
Black Vivi Black Vivi is offline
 
Join Date: Dec 2002
Location: United Kingdom
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k00l
wud be better to be an active one tho...
i got an active one, just it made in JavaScript, and it doesn't show a clock, just the digits
Reply With Quote
  #35  
Old 05-03-2003, 08:23 AM
Prankster
Guest
 
Posts: n/a
Default

the problem is , that the numbers are not on the right position.

Did you not see this

in the clock.php i edit the hexcolors.
Reply With Quote
  #36  
Old 05-06-2003, 10:38 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The numbers are in the best place they could be. If they were anywhere else they wouldn't be correct. If they bother you, disable them. I'm sure your users can live without them, and It might look better with no digits.
Reply With Quote
  #37  
Old 06-07-2003, 04:31 PM
imported_subu1 imported_subu1 is offline
 
Join Date: Sep 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Prankster wie hast Du das Ding eingebaut, hier steht doch nirgends ne vern?nftige Anleitung

hier hatte noch jemand Dein Problem, vielleicht kannst Du Ihm ja helfen

http://www.vbulletin-germany.com/for...&threadid=5914

bis demn?chst
Reply With Quote
  #38  
Old 04-08-2004, 10:51 PM
Loyalty4Life's Avatar
Loyalty4Life Loyalty4Life is offline
 
Join Date: Oct 2003
Location: Eugene, OR
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't working for me. GD is installed and running. The problem is I don't know what to edit in clock.php. What am I supposed to do? Just upload clock.php into my directory? I don't have a background.jpg image BTW.

Any help is appreciated.

Also, I'm using vB3 Gold, FWIW.
Reply With Quote
  #39  
Old 04-09-2004, 08:49 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at the large block of PHP code in the first post with comments describing each variable.
Reply With Quote
  #40  
Old 04-09-2004, 09:47 PM
Loyalty4Life's Avatar
Loyalty4Life Loyalty4Life is offline
 
Join Date: Oct 2003
Location: Eugene, OR
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did. I read the instructions. Do I have to edit anything in clock.php? Can I just upload it then put it in my header? Does this work for vB3?
Reply With Quote
  #41  
Old 04-13-2004, 12:35 AM
Loyalty4Life's Avatar
Loyalty4Life Loyalty4Life is offline
 
Join Date: Oct 2003
Location: Eugene, OR
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Filburt?
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 08:41 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.07658 seconds
  • Memory Usage 2,299KB
  • 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
  • (1)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
  • (3)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
  • (9)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