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
  #42  
Old 02-14-2006, 04:24 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrandiDup
Can I kiss your feet? Seriously, thank you so much. I've been requesting this since I got vB last year. Installed flawlessly and my members LOVE it. Thank you sooo sooo much.
[high]* Hellcat puts off his shoes
[/high]
Sure, get over here

Seriously: Glad you have so much use for it :up:
Quote:
Originally Posted by BrandiDup
Is there a way to make more than one countdown?
At the moment it can only be installed once for one countdown.
(I tried to just change the product ID in the XML and some other identifiers - the second install still messed up the whole thing down to the unability to uninstall it - thankfully it was on my local dev. vB )

I might think of a way how to do more than one countdown per user....
[high]* Hellcat thinks
[/high]



Quote:
Originally Posted by BrandiDup
One quick question. Is there any way I can keep the border around the countdown, but stop it from spanning the whole width of the signature? I'd like to have it around the text, but not span the whole width of the board.
If you put the contents of the counter display template inside a 1x1 cells table it should do the trick.



Quote:
Originally Posted by Wachtmeister
Great, just 3 phrases cannot be translated:

Option to show a public countdown to a certain event
Yes
No

Maybe you can phrase these three in an update. Good work!
Whoops.... those slipped by....
The first however is the userprofilefiled decription, those don't use phrases :-/
But I'll overwrite the description with a phrase text, that should do it
Will all be phrased in the next update :up:
Reply With Quote
  #43  
Old 02-15-2006, 08:05 PM
ConKien ConKien is offline
 
Join Date: Apr 2004
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hellcat
Yes, that's right.
The countdown only shows if there's a signature for that post.
So if someone disabled sigs showing it's also not shown.
That's on purpose, but might be enhanced in future updates
Can you seperate the signature & this countdown event? I want the count down shown & no signature, if no countdown then show the signauture, something like

If (has countdown)
Show countdown
Else
Show signature (if enable)

My users hav to sacrify! They can't have both since it's will slow down if we have a big board and everyone showing theirs!
Reply With Quote
  #44  
Old 02-15-2006, 08:56 PM
ktp101 ktp101 is offline
 
Join Date: Jan 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack, i'm useless at installing things but done this no problems
Reply With Quote
  #45  
Old 02-17-2006, 09:36 PM
rammbs rammbs is offline
 
Join Date: May 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mod installed. thanks!

Edit (spoke too soon):

installation went fine. no problems.

but when i go to "Edit Options" i get the error below...

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thebe6/public_html/forums/profile.php(2687) : eval()'d code on line 64

if i move it to "Edit Profile". I see it there and no error like the above. BUT after making a countdown. i don't see it in my sig portion.

help please...
Reply With Quote
  #46  
Old 02-17-2006, 11:18 PM
G_Man G_Man is offline
 
Join Date: Feb 2006
Location: Washington State
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lineman28645
Question. Is there anyway we can make it so only admins or specified groups can use this feature?

Same question. Hack looks GREAT, but I would like to limit who has access, also.

If you get around to implementing something like this I will back to install in a heartbeat.
Reply With Quote
  #47  
Old 02-17-2006, 11:36 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@rammbs:
That's weird.... I'll check it....

Also working on the usergroup permissions
Reply With Quote
  #48  
Old 02-18-2006, 03:49 AM
rammbs rammbs is offline
 
Join Date: May 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hellcat, no need!

i found my culprit. it was an extra "if" in the "modifyoptions" template after installing another hack.

it's all good! again, nice mod and thanks!! :up:
Reply With Quote
  #49  
Old 02-18-2006, 03:54 AM
ConKien ConKien is offline
 
Join Date: Apr 2004
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by G_Man
Same question. Hack looks GREAT, but I would like to limit who has access, also.

If you get around to implementing something like this I will back to install in a heartbeat.
Or better yet, let the user purchase this option through Ebux/Estore system!
Reply With Quote
  #50  
Old 02-18-2006, 07:28 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Happy news
While I was walking through the code anyway, I got the usergroup permissions working :up:

You can now choose what usergroup(s) can use the countdown via the usergroupmanager!
New archive has been uploaded.


Quote:
Originally Posted by rammbs
Hellcat, no need!

i found my culprit. it was an extra "if" in the "modifyoptions" template after installing another hack.

it's all good! again, nice mod and thanks!! :up:
Cool, so I can stop looking


Quote:
Originally Posted by ConKien
Or better yet, let the user purchase this option through Ebux/Estore system!
Hmm.... cool idea!
I might think about a way of including this as an action in eStore :up:
Reply With Quote
  #51  
Old 02-18-2006, 10:45 AM
Diggazz Diggazz is offline
 
Join Date: Mar 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working here it wont save the info or display anything
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 07:11 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.05745 seconds
  • Memory Usage 2,314KB
  • 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
  • (9)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