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
  #42  
Old 04-13-2004, 12:42 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should not have to edit anything.

Yes, it works for vB3.
Reply With Quote
  #43  
Old 04-16-2004, 04:00 AM
Loyalty4Life's Avatar
Loyalty4Life Loyalty4Life is offline
 
Join Date: Oct 2003
Location: Eugene, OR
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded clock.php into my forum direcory, and put <img src="clock.php?outputimage=1"> in my header. It does not work for vB3.
Reply With Quote
  #44  
Old 10-19-2004, 04:41 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one

* me clicks install
Reply With Quote
  #45  
Old 11-04-2004, 09:13 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loyalty4Life
I uploaded clock.php into my forum direcory, and put <img src="clock.php?outputimage=1"> in my header. It does not work for vB3.
Take out the background.jpg


Quote:
$backgroundimage = ""; // filename of background
It will work after that
Reply With Quote
  #46  
Old 11-05-2004, 09:03 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just followed the instructions exactly when I did it and it worked first time. I created a clear gif 100x100 for the background.gif image so it will go with all my styles.
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 03:44 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.09134 seconds
  • Memory Usage 2,253KB
  • Queries Executed 20 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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