News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Countdown BBCode Version 2.0.2

Started by Eclipse16V, July 12, 2009, 07:39:28 AM

Previous topic - Next topic

Eclipse16V

Link to Mod


Countdown BBCode Version 2.0.2
Free Version


Homepage: SID Giessen - Author: Eclipse16V - Support: Support Site - Mods: Mod List



Compatible
Compatible with the following versions:

  • SMF 2.0 Beta 3 Public
  • SMF 2.0 Beta 3.1 Public
  • SMF 2.0 Beta 4
  • SMF 2.0 RC1
  • SMF 2.0 RC1-1
  • SMF 2.0 RC1.2
  • SMF 2.0 RC2
  • SMF 2.0 RC3
  • SMF 2.0 RC4
  • SMF 2.0 RC5
  • SMF 2.0
  • SMF 2.0.1
  • SMF 2.0.2
  • SMF 2.0.3
  • SMF 2.0.4

Modification Information
With this MOD you can use a BBCode for a Countdown on your Board. Shows the remaining time until the specified time and when reaches the specified time shows the text between the tags.
This Countdown BBCode Version 2.0.2 is the FREE VERSION of the Mod. The PRO VERSION you can find on SID Giessen.

Languages supported
For this mod already following translations are included in this package:
English, German
All languages are also included in the UTF-8.
New translations are gratefully welcomed.

Changelog



Free Version                                                     Pro Version

Version 2.0.2 - 17.12.2012

  • Now runs with SMF 2.0.3

Version 2.0.1 - 28.09.2011

  • Now runs with SMF 2.0 - 2.0.99

Version 2.0 - 05.07.2011

  • Now runs with SMF 2.0 RC4
  • Now runs with SMF 2.0 RC5
  • Now runs with SMF 2.0 Gold (Final Version)

Version 1.3 - 24.03.2010

  • Now runs with SMF 2.0 RC3
  • Lang File

Version 1.2 - 31.12.2009

  • Portuguese Language
  • Roman Language
  • Spanish Language
  • Spanish Latin Language

Version 1.1 - 10.11.2009

  • Now runs with SMF 2.0RC2

Version 1.0.1 - 27.09.2009

  • Dutch Language

Version 1.0 - 07.07.2009

  • Released

Version 3.0.3 - 17.12.2012

  • Now runs with SMF 2.0.3

Version 3.0.2 - 13.01.2012

  • Now runs with SMF 2.0.2

Version 3.0.1 - 21.09.2011

  • Now runs with SMF 2.0.1

Version 3.0 - 13.06.2011

  • Now runs with SMF 2.0 Gold (Final Version)
  • 25 new languages added

Version 2.0.2 - 11.03.2011

  • Small edits

Version 2.0.1 - 16.02.2011

  • Now runs with SMF 2.0 RC5

Version 2.0 - 28.12.2010

  • First Paid Version
  • Now runs with SMF 2.0 RC4
I worked with:
SMF 2 in German

Shop:
SID Giessen

LP

Sorry to tell you that it doesn't seem to calculate the remaining time correctly, at least on my forum.

The date for the countdown event is 9,5,2009,18,0 (September 5, 2009 at 6:00pm).

My current forum date & time is:  July 12, 2009, 01:25:50 PM

Countdown timer says: 1 month 24 days 20 hours 5 minutes remaining.


villasg


Groundhog

Thanks Eclipse16V

I can also get images as well as text to show. That's cool.

Cheers

villasg

I wait the version for 1.19  ;)


Greek utf8
// Countdown BBCode MOD
$txt['countdown'] = 'Αντίστροφη μέτρηση (Example [countdown=8,14,2009,13,23]Text[/countdown])';
$txt['cd_year'] = ' χρόνο';
$txt['cd_years'] = ' χρόνια';
$txt['cd_month'] = ' μήνα';
$txt['cd_months'] = ' μήνες';
$txt['cd_day'] = ' ημέρα';
$txt['cd_days'] = ' ημέρες';
$txt['cd_hour'] = ' ώρα';
$txt['cd_hours'] = ' ώρες';
$txt['cd_minute'] = ' λεπτό';
$txt['cd_minutes'] = ' λεπτά';
$txt['cd_remaning'] = ' απομένουν.';

JeremyB.

"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

bugmenot1

// Countdown BBCode MOD
$txt['countdown'] = 'Aftellen (Voorbeeld [countdown=8,14,2009,13,23]Tekst[/countdown])';
$txt['cd_year'] = ' jaar';
$txt['cd_years'] = ' jaren';
$txt['cd_month'] = ' maand';
$txt['cd_months'] = ' maanden';
$txt['cd_day'] = ' dag';
$txt['cd_days'] = ' dagen';
$txt['cd_hour'] = ' uur';
$txt['cd_hours'] = ' uren';
$txt['cd_minute'] = ' minuut';
$txt['cd_minutes'] = ' minuten';
$txt['cd_remaning'] = ' te gaan.';


There you go, a Dutch translation.

Eclipse16V

Quote from: bugmenot1 on September 26, 2009, 06:25:46 PM
// Countdown BBCode MOD
$txt['countdown'] = 'Aftellen (Voorbeeld [countdown=8,14,2009,13,23]Tekst[/countdown])';
$txt['cd_year'] = ' jaar';
$txt['cd_years'] = ' jaren';
$txt['cd_month'] = ' maand';
$txt['cd_months'] = ' maanden';
$txt['cd_day'] = ' dag';
$txt['cd_days'] = ' dagen';
$txt['cd_hour'] = ' uur';
$txt['cd_hours'] = ' uren';
$txt['cd_minute'] = ' minuut';
$txt['cd_minutes'] = ' minuten';
$txt['cd_remaning'] = ' te gaan.';


There you go, a Dutch translation.

Thanks
Its in the new Version.
I worked with:
SMF 2 in German

Shop:
SID Giessen

drhamza

that's a beautiful idea, thanks a lot

akbora

This mod is really good but when the hidden messages quote they are seen what are there. It is false....
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

W7 riso

#11
A great Mod!
Would it be possible to use the Mod as a Windows 7 Countdown timer until the official Launch Date? it would be a huge pro on my Forum!.
The best place to put it would be the Header section, looking like this:


Any help would be appreciated.

riso
Administrator

[links removed by K@]

Eclipse16V

Sorry but this Mod is for the postings in the forum.
Search the net for an JavaScript Countdown to include it in your header.

Sorry for the bad English
I worked with:
SMF 2 in German

Shop:
SID Giessen

akbora

I mean that: There is a countdown message. When I quote this message I can see in it all. You see? It is seriously condition according to me.
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

dkng

#14
Traslate:

  • Spanish/Spanish utf8
  • Spanish Latin/Spanish Latin utf8


   <file name="$languagedir/Modifications.spanish_latin-utf8.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Countdown BBCode MOD
$txt['countdown'] = 'Countdown (Ejemplo [countdown=8,14,2009,13,23]Texto[/countdown])';
$txt['cd_year'] = ' año';
$txt['cd_years'] = ' años';
$txt['cd_month'] = ' mes';
$txt['cd_months'] = ' meses';
$txt['cd_day'] = ' día';
$txt['cd_days'] = ' días';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
      </operation>
   </file>
      <file name="$languagedir/Modifications.spanish_latin.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Countdown BBCode MOD
$txt['countdown'] = 'Countdown (Ejemplo [countdown=8,14,2009,13,23]Texto[/countdown])';
$txt['cd_year'] = ' año';
$txt['cd_years'] = ' años';
$txt['cd_month'] = ' mes';
$txt['cd_months'] = ' meses';
$txt['cd_day'] = ' día';
$txt['cd_days'] = ' días';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
      </operation>
   </file>
      <file name="$languagedir/Modifications.spanish.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Countdown BBCode MOD
$txt['countdown'] = 'Countdown (Ejemplo [countdown=8,14,2009,13,23]Texto[/countdown])';
$txt['cd_year'] = ' año';
$txt['cd_years'] = ' años';
$txt['cd_month'] = ' mes';
$txt['cd_months'] = ' meses';
$txt['cd_day'] = ' día';
$txt['cd_days'] = ' días';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
      </operation>
   </file>
      <file name="$languagedir/Modifications.spanish-utf8.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Countdown BBCode MOD
$txt['countdown'] = 'Countdown (Ejemplo [countdown=8,14,2009,13,23]Texto[/countdown])';
$txt['cd_year'] = ' año';
$txt['cd_years'] = ' años';
$txt['cd_month'] = ' mes';
$txt['cd_months'] = ' meses';
$txt['cd_day'] = ' día';
$txt['cd_days'] = ' días';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
      </operation>
   </file>

Vyache

#15
I can't seem to get it to show the time remaining, I get a blank and just some text. This is on SMF 2 RC2.

AjaxChat - SMF 2.0 RC2 Edition Download.
mrtrc266 ~AJAX Chat Intergration FAQ's & Tips-N-Tricks~

R3FF

Portuguese translation  ;)

// Countdown BBCode MOD - by ECLIPSE16V - Portuguese Translation by REFF
$txt['countdown'] = 'Countdown (Exemplo [countdown=mes,dia,ano,hora,minuto]Texto que irá aparecer no fim do CountDown[/countdown])';
$txt['cd_year'] = ' ano';
$txt['cd_years'] = ' anos';
$txt['cd_month'] = ' mes';
$txt['cd_months'] = ' meses';
$txt['cd_day'] = ' dia';
$txt['cd_days'] = ' dias';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' a faltar.';


Roman Translation  ;) ;)

// Countdown BBCode MOD - by ECLIPSE16V - Roman Translation by REFF
$txt['countdown'] = 'Countdown (Exemplu [countdown=luna,ziua,anul,ora,minutul]Textul care va apărea la sfârşitul Countdown[/countdown])';
$txt['cd_year'] = ' ani';
$txt['cd_years'] = ' ani';
$txt['cd_month'] = ' luni';
$txt['cd_months'] = ' luni';
$txt['cd_day'] = ' zi';
$txt['cd_days'] = ' zile';
$txt['cd_hour'] = ' oră';
$txt['cd_hours'] = ' ore';
$txt['cd_minute'] = ' minute';
$txt['cd_minutes'] = ' minute';
$txt['cd_remaning'] = ' lipsă.';


All yourse  8)



Anything, here: [email protected]
[ hxxp:k2l.pt.to [nonactive]] - –•••––•(-• Kill 2 Live •-)•––•••–
[/url]

smokester

Quote from: LP on July 12, 2009, 02:27:19 PM
Sorry to tell you that it doesn't seem to calculate the remaining time correctly, at least on my forum.

The date for the countdown event is 9,5,2009,18,0 (September 5, 2009 at 6:00pm).

My current forum date & time is:  July 12, 2009, 01:25:50 PM

Countdown timer says: 1 month 24 days 20 hours 5 minutes remaining.

Something similar is happening on my board whereby this mod does not take into consideration my time offset.  Is that normal or should it?

nerieru

Cool mod, unfortunately if you quote it, you can see the text (only logical I guess). I solution would be to make it unquote-able till the timer expires.

TheFollower

Russian translation:

// Countdown BBCode MOD
$txt['countdown'] = 'Обратный отсчет (Пример [countdown=8,14,2009,13,23]Текст[/countdown])';
$txt['cd_year'] = ' год';
$txt['cd_years'] = ' лет';
$txt['cd_month'] = ' мес';
$txt['cd_months'] = ' мес';
$txt['cd_day'] = ' дн';
$txt['cd_days'] = ' дн';
$txt['cd_hour'] = ' час';
$txt['cd_hours'] = ' час';
$txt['cd_minute'] = ' мин';
$txt['cd_minutes'] = ' мин';
$txt['cd_remaning'] = ' до окончания.';

Eclipse16V

Thanks
- dkng
- R3FF
for the translations.

Thanks TheFollower, will be add it in the next version.

Update the night to 1.2
I worked with:
SMF 2 in German

Shop:
SID Giessen

Eddy Matthews

Instead of just adding translations, can you please sort the code so that it displays the correct amount of time remaining..... At the moment it's useless as all the calculations for weeks, months etc etc are wrong!

Try setting it up so it uses a period of a few months for the countdown - the result that it displays is garbage. I'm sorry to be so negative, but until it shows the correct time remaining for periods of a few months or more it's useless. I canot be the only one who has noticed this MAJOR bug surely?

Regards
Eddy

Krandall

Anyone know if this will work for SMF 1.1.11 ???

TheListener

Quote from: Krandall on January 08, 2010, 05:47:25 PM
Anyone know if this will work for SMF 1.1.11 ???

According to the mods first topic the answer is no.

bpratt

I'm having problems with this mod calculating the correct times.

I have

Tipping Closes In [countdown=3,11,2010,22,00]Now Closed[/countdown]

Which should be 10pm tonight, yet last night it was showing the "Now Closed" text, as it should when it gets to 22:00 on the 11-March.

Server time is GMT +10, so I don't believe that this error is server time related.

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Eddy Matthews

Quote from: Eclipse16V on March 24, 2010, 01:46:46 AM
Update for 2.0RC3

Installs fine on RC3, but the date and time it displays are STILL WRONG!!

I have it setup to countdown to an event on 19th september 2010 at 10.00am - My computer, and my host server are both set to GMT, so I have no idea where this thing is getting it's base time/date from, but it's 1 day out, and the hours and minutes bear no relationship to the setting that is selected....

I've reported this before and it was just ignored, so I'm hoping for a better response this time!

Eddy

giveaway365.com

Thanks for this mod...
I am using this mod to its max.

Thanks for creating such wonderful mod.

smokester

For me this is not factoring in the time offset of where I am in the world in relation to the server time which is -7hrs GMT.  So unless you are in the same time zone you either have to calculate the offset or just have your profile's time the same as the server, which is pretty pointless.  When I used this in versions 1x that wasn't the case, it used to calculate you time offset accordingly - what happened?

giveaway365.com

Well for me I have adjusted the seconds manually in the mod.

giveaway365.com

Sorry I am using the mod made by Hunter...

CountDown BBC Version 1

smokester

Quote from: giveaway365.com on March 24, 2010, 07:21:27 AM
Sorry I am using the mod made by Hunter...

CountDown BBC Version 1

That was the version I used to use before ungrading to version 2.  The code doesn't look dramatically different but it definitely did calculate the offset as we used it to timeout games on my forum.

It's no biggy I suppose but I wanted to have a countdown to the world cup  :-\

Bugo


chinaren

Cool little mod!  Thanks!  Could be useful oh yes.
The Opus Path - The Next Generation of the Written Word

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Apllicmz

When Update
Plaese Update portuguese

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">       
        <operation>
            <search position="end" />
            <add><![CDATA[
//CountDown BBC Translate by Candidosa2
$txt['countdown'] = 'Contagem regressiva';
$txt['cd_year'] = ' Ano';
$txt['cd_years'] = ' Anos';
$txt['cd_month'] = ' M&ecirc;s';
$txt['cd_months'] = ' Mêses';
$txt['cd_day'] = ' dia';
$txt['cd_days'] = ' dias';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
        </operation>
    </file>
   
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">       
        <operation>
            <search position="end" />
            <add><![CDATA[
//CountDown BBC Translate by Candidosa2
$txt['countdown'] = 'Contagem regressiva';
$txt['cd_year'] = ' Ano';
$txt['cd_years'] = ' Anos';
$txt['cd_month'] = ' M&ecirc;s';
$txt['cd_months'] = ' Mêses';
$txt['cd_day'] = ' dia';
$txt['cd_days'] = ' dias';
$txt['cd_hour'] = ' hora';
$txt['cd_hours'] = ' horas';
$txt['cd_minute'] = ' minuto';
$txt['cd_minutes'] = ' minutos';
$txt['cd_remaning'] = ' restante.';
]]></add>
        </operation>
    </file>


<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">       
        <operation>
            <search position="end" />
            <add><![CDATA[
//CountDown BBC Translate by Candidosa2
$txt['countdown'] = 'Contagem regressiva';
$txt['cd_year'] = ' Ano';
$txt['cd_years'] = ' Anos';
$txt['cd_month'] = ' M&ecirc;s';
$txt['cd_months'] = ' Meses';
$txt['cd_day'] = ' Dia';
$txt['cd_days'] = ' Dias';
$txt['cd_hour'] = ' Hora';
$txt['cd_hours'] = ' Horas';
$txt['cd_minute'] = ' Minuto';
$txt['cd_minutes'] = ' Minutos';
$txt['cd_remaning'] = ' Restante.';
]]></add>
        </operation>
    </file>
   
        <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">       
        <operation>
            <search position="end" />
            <add><![CDATA[
//CountDown BBC Translate by Candidosa2
$txt['countdown'] = 'Contagem regressiva';
$txt['cd_year'] = ' Ano';
$txt['cd_years'] = ' Anos';
$txt['cd_month'] = ' M&ecirc;s';
$txt['cd_months'] = ' Meses';
$txt['cd_day'] = ' Dia';
$txt['cd_days'] = ' Dias';
$txt['cd_hour'] = ' Hora';
$txt['cd_hours'] = ' Horas';
$txt['cd_minute'] = ' Minuto';
$txt['cd_minutes'] = ' Minutos';
$txt['cd_remaning'] = ' Restante.';
]]></add>
        </operation>
    </file>   




shubha

Did not working.Is it necessary to buy the PRO .Than what is the use of free version? As i have see the pic and find "demo" .What will after.................How to show 10 days 15 miutes remaining etc


Eclipse16V

What exactly is not working? Which version of SMF is it?
I worked with:
SMF 2 in German

Shop:
SID Giessen

shubha

As your demo shows " 4 days 5 minutes" .How i will do this. I have add the time following the same process , it shows "demo" only . How it show "time"


Shambles

Thought I'd give this a whirl.

Seems to work fine, though when the BBCode tag is unchecked via ACP>Forum>Posts&Topics>BBC, the facility remains available to all users  ???

shubha

You means , i have to uncheck the bbcode.


Shambles

Quote from: shubha on May 28, 2012, 07:35:27 AM
You means , i have to uncheck the bbcode.
Is that question directed at me? If so it makes as little sense as the PM you sent

PopUpSteve

Great Mod! Seems to work fine for me. I did a few test using different dates and the calculations were correct. ;D

One request. In my case, I'm entering the code as [countdown=1,18,2014] without any time reference. The result for this example is "1 day 11 hours 40 minutes remaining". It would be great if when no time reference is given that the result is returned in whole days, in this case is would read "2 days remaining".

What is the difference between the free and paid versions?
Steve
"Even a broken clock is right twice a day, unless it's digital."

Risto_Jääskeläinen

#43
Translation to Finnish. Maybe the mod is not updated anymore but you can allways copy this to Modifications.finnish-utf8.php
Huomautus käyttäjille: ensimmäinen luku on kuukausinumero.

// Countdown BBCode MOD by SID-Giessen; suomennos /RJ
$txt['countdown'] = 'Countdown (Esimerkki [countdown=8,14,2009,13,23]Teksti[/countdown])';
$txt['cd_year'] = ' vuosi';
$txt['cd_years'] = ' vuotta';
$txt['cd_month'] = ' kuukausi';
$txt['cd_months'] = ' kuukautta';
$txt['cd_day'] = ' päivä';
$txt['cd_days'] = ' päivää';
$txt['cd_hour'] = ' tunti';
$txt['cd_hours'] = ' tuntia';
$txt['cd_minute'] = ' minuutti';
$txt['cd_minutes'] = ' minuuttia';
$txt['cd_remaning'] = ' jäljellä.';

Chalky

This mod appears to have been affected by the 2.0.12 update (not tested it with 2.0.13 yet, that's my job for this afternoon).  The [countdown] tags now require some (any) text to be placed inside them otherwise the whole thing disappears when posted, as though it's being sanitised.  Any suggestions to solve this are welcomed, but I also wanted to leave a heads-up for anyone else experiencing the same issue.

[countdown=MONTH,DAY,YEAR,HOUR,MINUTE][/countdown] no longer works
[countdown=MONTH,DAY,YEAR,HOUR,MINUTE]type something here[/countdown] does work.

Shambles

Quote from: ChalkCat(not tested it with 2.0.13 yet, that's my job for this afternoon). 

Your job will end with a smile on your face ;)

Chalky

Quote from: Shambles on January 09, 2017, 08:06:30 AM
Quote from: ChalkCat(not tested it with 2.0.13 yet, that's my job for this afternoon). 

Your job will end with a smile on your face ;)

Woohoooo!!!!  Thank you!  Sorry, I should have done that first  ::) :P O:) :D

Shades.

Can anyone update this mod for 2.0.17? I have it installed and it appears to be working but after the mod install it goes to the redirect page and this code appears:
<div style="padding: 10px;"> <div style="border-bottom: 1px dashed; padding-bottom: 5px; width: 300px; font-weight: bold; font-size: 130%;">Installation Complete!</div> <br /> <p>Congratulations</p> <p>Countdown BBCode Version 2.0.2 (Free Version) was just installed successfully in your SMF.</p> <br /> <p>If you later encounter problems with this mod, simply visit our support forums at: <a href="http://forum.sid-giessen.de" target="_blank">http://forum.sid-giessen.de</a></p> <br /> <p>Hope you like the mod</p> </div>
Then it redirects you to the Modifications Settings page when it should go to Post and topics>Bulletin Board code. And the setting in Bulletin Board Code IS there so it CAN be turned on and off. But like I said it does work on the forum so not a big deal just wondering.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

I got this working on 2.0.17 & 2.0.18 a while back and forgot to update my post above. :o

Anyhow, is there any plans whatsoever in the future to update this for 2.1RC3 or later or is there another version of this mod I'm not aware of? Thanks! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: