Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2004, 07:36 PM
TheNiceVoice TheNiceVoice is offline
 
Join Date: Dec 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Countdown Clocks!

Greetings!

I am interested in implementing the option for users to add a customizable countdown clock to their signature. I've seen another vbulletin where they allowed users to customize these clocks in the user CP.

Anyone gotta hack?

Thanks in advance!
Reply With Quote
  #2  
Old 01-17-2004, 08:39 PM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go. You might have to play with this. I've never tried it, but a friend of mine has it working on his board.
Attached Files
File Type: php countdown.php (3.1 KB, 222 views)
Reply With Quote
  #3  
Old 01-17-2004, 08:43 PM
TheNiceVoice TheNiceVoice is offline
 
Join Date: Dec 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW!!!!!

THAT WAS FAST!
Thank you SO much!!! :up:
Reply With Quote
  #4  
Old 01-17-2004, 09:55 PM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just hope you can get it to work. I tried, out of curiosity, and it just tells me my ship has sailed, no matter what I do. :ermm: There was a mistake in the usage format. Remove the slash....

/countdown.php?month=xx&year=xxxx&day=xx&hour=xx&mi n=xx&sec=xx

Something like that....
Reply With Quote
  #5  
Old 01-18-2004, 09:20 PM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can any of you PHP gurus help with this? It's probably something simple I'm missing. Not that I need it, but now I'm curious, since I couldn't get it to work right on my test server. I know for a fact this countdown works. I'd give you a link to the site using it, but I'm afraid people would start using it from their server, which they wouldn't appreciate.
Reply With Quote
  #6  
Old 08-12-2004, 05:20 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To get this working....

Change...
Code:
//Requires GD.
//Use this format, or similar....
//countdown.php?month=xx&year=xxxx&day=xx&hour=xx&min=xx&sec=xx
 
 
<?php
to...
Code:
<?php
 
//Requires GD.
//Use this format, or similar....
//countdown.php?month=xx&year=xxxx&day=xx&hour=xx&min=xx&sec=xx
... and then try something like the following....
Code:
http://www.yourdomain.com/countdown.php?month=11&year=2004&day=06&hour=15&min=00&sec=00
Reply With Quote
  #7  
Old 08-20-2004, 08:11 PM
vadim77777 vadim77777 is offline
 
Join Date: Aug 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

What exactly user should put on their signature to make it work?
Reply With Quote
  #8  
Old 08-20-2004, 11:52 PM
Musicpill Musicpill is offline
 
Join Date: Jun 2004
Location: Eng-er-land
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i doubt this would work in signatures because you need to enable PHP in signatures (thinks)
Or if you enables PHP in sigs, that would be easier, but its more risky.
Reply With Quote
  #9  
Old 08-21-2004, 12:18 AM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vadim77777
Hello

What exactly user should put on their signature to make it work?
It would be a little complicated but you could do this with a php include and a few custom profile fields.
Reply With Quote
  #10  
Old 08-21-2004, 01:44 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTBlackLight01
It would be a little complicated but you could do this with a php include and a few custom profile fields.
Enable PHP in signatures? Not needed. Insert an image, and paste the URL to the php page (http://www.yourdomain.com/countdown....&min=00&sec=00) as the image source. That works for me.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:52 PM.


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.05560 seconds
  • Memory Usage 2,266KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete