Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Countdown Timer in signature Details »»
Countdown Timer in signature
Version: 1.12, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.0 Beta 1 Rating:
Released: 06-08-2006 Last Update: 06-08-2006 Installs: 175
Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a port of my vB3.5.x "User Countdown Timer".
I had to change some parts of the install code to make it work with vB3.6, and here we go:

This little AddOn gives your users the option to show a custom countdown timer at the bottom of their signature.

Features:
  • Fully configurable via UserCP (see screenshot)
  • BB-Code can be used for eventname and overmessage
  • fully phrased/templated, nothing hardcoded and so fully customizable
  • leading days or hours with a value of "0" are not shown
    (so it shows "42minutes" rather then "0days 0hours 42minutes")

Installation:
Painless:
  • Upload "plugins_usercountd.php" to ".../forum/includes"
  • Import the product .XML

DONE
That's it.
No template edits, no nothing


Usage:
Go into your UserCP -> Edit Options
On the very bottom you will find the options for the Countdown Timer.
Set it to whatever you like, if "Enable" is set to "Yes" the timer will automatically be shown on the bottom of your sig, set to "No" will hide/disable the time display



Have fun

Show Your Support

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

Comments
  #152  
Old 04-12-2008, 06:52 PM
Chachacha's Avatar
Chachacha Chachacha is offline
 
Join Date: Jul 2006
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I wish I would have read this thread before wasting my time installing this on my site. Doesn't work. Uninstalling.
Reply With Quote
  #153  
Old 04-17-2008, 10:06 PM
Aquestor Aquestor is offline
 
Join Date: May 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please make it usable for 3.7
Reply With Quote
  #154  
Old 04-19-2008, 04:13 PM
Ren? Kunze Ren? Kunze is offline
 
Join Date: Dec 2006
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Das wäre klasse ich habe es unter 3.6.9 installiert und es funktionierte super.
Leider aber nicht unter 3.7.

Wäre super wenn man es auch für 3.7 machen könnte ich vermisse es dort.
Reply With Quote
  #155  
Old 04-29-2008, 05:23 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 Aquestor View Post
please make it usable for 3.7
vb's went gold , is this hack gonna be
Reply With Quote
  #156  
Old 05-06-2008, 09:53 AM
Aquestor Aquestor is offline
 
Join Date: May 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please porting for VB3.7.0!!!

Has someone done something like that? Is it possibel to use this Hack with 3.7?
Reply With Quote
  #157  
Old 05-13-2008, 08:12 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 Aquestor View Post
Please porting for VB3.7.0!!!

Has someone done something like that? Is it possibel to use this Hack with 3.7?
not yet no
Reply With Quote
  #158  
Old 05-17-2008, 06:06 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone please fix this for vb3.7.0. My members are begging.
Reply With Quote
  #159  
Old 05-23-2008, 10:33 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plugins_usercountd.php
PHP Code:
    eval('$tempcustom = "' fetch_template('userfield_countdown') . '";');
    
$tempcustom str_replace"userfield""cdsettings"$tempcustom );
    
$tempcustom .= '<input type="hidden" name="countdownuserfield" value="' $profilefieldname '" />'
PHP Code:
$wrapper_template 'userfield_countdown';
$fields = array('radio_enable''text_event''text_overmsg''dayselect''monthselect''yearselect''hourselect''minuteselect');

foreach (
$fields AS $field)
{
    $
$field str_replace('userfield''cdsettings', $$field);

userfield_countdown
Code:
<input type="hidden" name="countdownuserfield" value="$profilefieldname" />
Reply With Quote
  #160  
Old 05-23-2008, 01:29 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas View Post
plugins_usercountd.php
PHP Code:
    eval('$tempcustom = "' fetch_template('userfield_countdown') . '";');
    
$tempcustom str_replace"userfield""cdsettings"$tempcustom );
    
$tempcustom .= '<input type="hidden" name="countdownuserfield" value="' $profilefieldname '" />'
PHP Code:
$wrapper_template 'userfield_countdown';
$fields = array('radio_enable''text_event''text_overmsg''dayselect''monthselect''yearselect''hourselect''minuteselect');

foreach (
$fields AS $field)
{
    $
$field str_replace('userfield''cdsettings', $$field);

userfield_countdown
Code:
<input type="hidden" name="countdownuserfield" value="$profilefieldname" />
Is that the fix for VB3.7.0? Are we supposed to add the code somewhere? Replace some existing code with yours? Or what?

I have no idea what I'm doing, so if you can help me get this working by explaining a little more, that would be awesome.

thanks!
Reply With Quote
  #161  
Old 05-23-2008, 09:07 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 Fireproof View Post
Is that the fix for VB3.7.0? Are we supposed to add the code somewhere? Replace some existing code with yours? Or what?

I have no idea what I'm doing, so if you can help me get this working by explaining a little more, that would be awesome.

thanks!
agreed, i've tried adding the code to plugins_usercountd.php and editing the userfield_countdown template to no avail
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 05:37 AM.


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.11002 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (4)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
  • (1)pagenav_pagelinkrel
  • (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