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