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:
if ($puser['skformat'] == 'dh') { $puser['skformat'] = '%%D%% Days, %%H%% Hours'; } else { $puser['skformat'] = '%%D%% Days, %%H%% Hours <br /> %%M%% Minutes, %%S%% Seconds.'; }
After:
PHP Code:
if ($puser['skformat'] == 'dh') { $puser['skformat'] = '%%D%% Days, %%H%% Hours'; } else { $puser['skformat'] = '%%D%% Days, %%H%% Hours %%M%% Minutes, %%S%% Seconds.'; }
Change:
Remove " <br />"
Reload page with countdown: Countdown works.
Style Manager -> Edit "sk-timer_countdownbit"
Before:
PHP Code:
<if condition="$puser[skunixdate] > TIMENOW">$puser[sktitle]<else />$puser[skdescription]</if> <br />
After:
PHP Code:
<if condition="$puser[skunixdate] > TIMENOW">$puser[sktitle]<else />$puser[skdescription]</if>
Change:
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.