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

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

Version: 3.5.4 Rating:
Released: 02-09-2006 Last Update: 06-06-2006 Installs: 142
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

(inspired by this thread: https://vborg.vbsupport.ru/showthread.php?t=107226)

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


Update 1.10
[high]IF YOU UPDGRADE FROM A PREVIOUS VERSION, BE SURE TO UNISTALL THE CURRENTLY INSTALLED ONE BEFORE INSTALLING THE UPGRADE![/high]
(unfortunately all events will be lost)
  • [FIX] Phrased the last three things that were not (Yes/No of the enable radio and main description)
  • [NEW] Added Usergroup Permissions for the countdown!
    In the usergroupmanager it now has an area "User Countdown Permissions" where the admin can allow/enable or disallow/disable the countdown timer for each usergroup.

[high]If the usergroup permissions do not work, or even don't show up at all, you might need to rebuild the bitfield using this URL:[/high]
http://yourdomain.tld/pathtoforum/ad...buildbitfields

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
kraghen

Comments
  #142  
Old 06-17-2006, 02:29 AM
heynurse heynurse is offline
 
Join Date: Jan 2002
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone, I had the previous version of this hack running, and users were complaining of it not working quite right? They would fill out their details for the countdown, and then save it, but the countdown would not show??? They had something in their signature feild, so that was not the problem?

The details for the countdown would not even save in the edit options page. For example, see the screen shot after you submit your countdown, it's blank??

I thought I'd upgrade to the latest version of the countdown, but that did not fix the issue, I un-installed the last version, re-installed the new version, and the same problem??

It's like it's not storing data somewhere? The edit options page fields remain blank after submiting and the countdown is not showing up??? I've gone throught the uninstall/re-install process 3 times and no luck??? Any advice on how to fix this???

I love this hack and would love to get it back up and running again! TIA!
Reply With Quote
  #143  
Old 06-17-2006, 07:54 PM
Jeordie015 Jeordie015 is offline
 
Join Date: Nov 2002
Location: Illinois, USA
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm. I've had this installed for a while, but didn't notice it until now. The time seems to be off by 2 hours. What could be the cause of this?
Reply With Quote
  #144  
Old 06-29-2006, 12:53 PM
Elsie's Avatar
Elsie Elsie is offline
 
Join Date: Jun 2006
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've just installed it but it doesn't appear anywhere........ what have i missed??
Reply With Quote
  #145  
Old 06-29-2006, 01:20 PM
kidron kidron is offline
 
Join Date: May 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elsie
i've just installed it but it doesn't appear anywhere........ what have i missed??
the same is happening to me.. I installed it some weeks ago and nothing happened.. :tired:
Reply With Quote
  #146  
Old 06-29-2006, 01:22 PM
Elsie's Avatar
Elsie Elsie is offline
 
Join Date: Jun 2006
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

glad it's not just me!

can someone enlighten us please?!?!
Reply With Quote
  #147  
Old 07-14-2006, 04:10 PM
Muellmann's Avatar
Muellmann Muellmann is offline
 
Join Date: Jun 2006
Location: near keyboard
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kidron
the same is happening to me.. I installed it some weeks ago and nothing happened.. :tired:
works fine, needs a bit playing
pressed install! thanks to Hellcat for this useful siggi-addon

1) follow the instructions howto install it
2) make your own siggi at least one char length
3)Update in your usergroupmanager the bitfields by checking out at least one group (registered users e.g.)!
4)Give the permissions to use it for registered users and admins (apply in options of the usergroup in the usergroupmanager), because default is NO.
5) enable display signatures in your usercp and in one of your posts by checking
the option "display signatures in post"

The you're done!
Reply With Quote
  #148  
Old 07-14-2006, 08:25 PM
R-n-R R-n-R is offline
 
Join Date: Apr 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am in the Admin CP and trying to Import the bitfield_hc_countdown.xml file.

I get this message after clicking Import button:

Invalid File Specified

I have tried importing via the "upload the XML file from your computer" way and also used FTP to upload the file to the ./includes/xml/ directory and used the "import the XML file from your server" and both ways I get the error message Above.

This is with version 3.6 RC1

Any ideas? Or maybe this doenst work with 3.6 RC1? :surprised:
Reply With Quote
  #149  
Old 07-24-2006, 07:48 AM
Elsie's Avatar
Elsie Elsie is offline
 
Join Date: Jun 2006
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to set it so that, after 24 hours of the event, the countdown removes itself from the sig?

so for instance you don't have "it's my birthday" there for weeks (i know you just go and disable it, but it'd be cool if it did it itself).
Reply With Quote
  #150  
Old 07-24-2006, 08:38 PM
Elsie's Avatar
Elsie Elsie is offline
 
Join Date: Jun 2006
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any news of this one being upgraded for 3.6?
Reply With Quote
  #151  
Old 07-25-2006, 11:18 PM
Maagic's Avatar
Maagic Maagic is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
To add the commas, in plugin_usercountd.php change:

Line 213:
Code:
$counter = $remain["hours"] . $vbphrase["countdown_hours"] . " " . $counter;
to
Code:
$counter = $remain["hours"] . $vbphrase["countdown_hours"] . ", " . $counter;
Line 218:
Code:
$counter = $remain["days"] . $vbphrase["countdown_days"] . " " . $counter;
to
Code:
$counter = $remain["days"] . $vbphrase["countdown_days"] . ", " . $counter;
Can you post the correct code for putting a space between the number and the words? 10 days, 9 hours, 8 minutes for example.
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 11:40 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.07579 seconds
  • Memory Usage 2,315KB
  • 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
  • (4)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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