The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Countdowns & Countups Details »» | |||||||||||||||||||||||||||||||||||
Got the inspiration for this mod here. Problem is, that mod does not work anymore. We decided to write our own.
This product allows users to set up a countdown timer or countup timer. The timer can run in real time with the javascript counter, or just static. Admin can choose to show the timer in users sigs or in the postbit user info area. Usergroup permissions are handled in the options area so you do not have to modify many usergroups one at a time. This product was developed for Andy R from Social Knowledge and released here for others to enjoy. Enjoy! Download Now
Screenshots
Show Your Support
|
Comments |
#102
|
|||
|
|||
Anyone know how to show a preview of the countdown timer on the creation page? That way someone can see the actual time of their current timer? You can't use the same script as it's post specific, but I've been unable to figure out how to show it on the create page.
|
#103
|
||||
|
||||
I've installed this [S]but am having some difficulty (things which have been reported up-thread). I tried to remove the unnecessary line-breaks, but when I made those changes (only removing some <br /> tags) the live countdown stops and the numbers only change on a page reload. What is the code looking for as far as the live update?[/S]
vB 3.8.6 PL1. I uninstalled the product completely (including dropping the "sktimer" table, see next post) and reinstalled from scratch. I checked in between each step to see if the countdown was still working. Plugin Manager -> Edit "Handle timer in postbit" Before: PHP Code:
PHP Code:
Remove " <br />" Reload page with countdown: Countdown works. Style Manager -> Edit "sk-timer_countdownbit" Before: PHP Code:
PHP Code:
Remove "<br />" Reload page with countdown: Countdown works. Style Manager -> Edit "sk-timer_countdownbit" Remove first line consisting of "<br />". Reload page with countdown: Countdown works. vBulletin Options -> SK - Countdown/Countup Settings -> Event Location Switched back and forth between Signature and User Info, reloading page with countdown each time: Countdown works. I can only guess that I must have typoed something the first time through and later, on being more careful while doing things step-by-step, didn't mess it up. Result: Countdown works, no line breaks. |
#104
|
||||
|
||||
The "uninstallcode" section of the product XML is blank. That means that when uninstalling, the product's SQL changes are left behind. This is rather poor practice. Can it be updated? Seems like all you'd need is to drop the "sktimer" table.
Code:
<installcode><![CDATA[$vbulletin->db->query("CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "sktimer ( skuserid int(11) NOT NULL default '0', sktitle text, skdescription text, skdateline int(11) default NULL, skactive tinyint(4) default NULL, skformat enum('dhms','dh') default 'dhms', PRIMARY KEY (skuserid) )");]]></installcode> <uninstallcode /> |
#105
|
|||
|
|||
Just wondering if anyone is able to update this to be compatible with VB4? Its a brilliant mod and one that our users are missing now we've upgraded.
Thanks. |
#106
|
|||
|
|||
Installed on Version 3.7.3
1 issue that there is no text displayed after the countdown. I have write something in the Message to display after specified time,but there is just no text in ucer info nor under sig. How can i change this,or what's wrong? |
#107
|
|||
|
|||
Hello, i am alreddy using vB 3.6.8. Installation works, administration too. But no chance to set countup in Profile (no option seen). Can anyone help me to run this mod under 3.6.8?!
|
#108
|
||||
|
||||
I've identified a bug in this script; when a user includes an apostrophe or single quote in their "countdown finished" message, the countdown will not actively decrement. It looks like the single quote should be escaped. I'm looking at the script code now and will update when I have a fix.
Update: In sktimer.js, I added the following as the first two lines in the CountBack function: HTML Code:
FinishMessage = FinishMessage.replace ( "'", "& #39;" ); FinishMessage = FinishMessage.replace ( '"', '& #34;' ); This just replaces single and double quotes with their HTML entity representations. I've attached the updated sktimer.js. *** This solves the reported problem of only some user countdowns actively counting! *** |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|