vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Countdown Clocks! (https://vborg.vbsupport.ru/showthread.php?t=60364)

TheNiceVoice 01-17-2004 07:36 PM

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!

SloppyGoat 01-17-2004 08:39 PM

1 Attachment(s)
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.

TheNiceVoice 01-17-2004 08:43 PM

WOW!!!!!

THAT WAS FAST!
Thank you SO much!!! :up:

SloppyGoat 01-17-2004 09:55 PM

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....

SloppyGoat 01-18-2004 09:20 PM

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.

KW802 08-12-2004 05:20 PM

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

vadim77777 08-20-2004 08:11 PM

Hello

What exactly user should put on their signature to make it work?

Musicpill 08-20-2004 11:52 PM

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.

SVTBlackLight01 08-21-2004 12:18 AM

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.

58sniper 08-21-2004 01:44 PM

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.


All times are GMT. The time now is 06:11 AM.

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.01045 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete