PhpBB Countdown MOD
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
PhpBB Countdown MOD
Ok. I feel free now to insert my text in Countdown in latin caracters
PhpBB Countdown MOD
hello stoker, beautiful mod.
I put here, the Italian translation.
open
language/it/common.php
find
add after
also copy the 2 files attached on language / it / mods
I think there is a mistake here.
open styles/prosilver/template/overall_header.html
find
add before
in this way you will see the countdown on every page of the forum
I put here, the Italian translation.
open
language/it/common.php
find
Code: Select all
'YOU_NO_NEW_PM' => 'Nessun nuovo messaggio privato.',
Code: Select all
// BEGIN Countdown years and months
'COUNT_YEARS' => 'Anni',
'COUNT_MONTHS' => 'Mesi',
// END Countdown years and months
I think there is a mistake here.
I fixed that and it worksOpen: styles/prosilver/template/overall_header.html
Find
<!-- INCLUDE overall_header.html -->
open styles/prosilver/template/overall_header.html
find
Code: Select all
<a name="start_here"></a>
Code: Select all
<!-- IF COUNTDOWN_ENABLE -->
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
<script src="{ROOT_PATH}script/jquery.jcountdown.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
$("#time").countdown({
date: "{COUNTDOWN_DATE}",
onComplete: function( event ) {
$(this).html("{COUNTDOWN_COMPLETE}");
},
leadingZero: true,
<!-- IF COUNTDOWN_OFFSET_ENABLE -->
offset: {COUNTDOWN_OFFSET},
<!-- ENDIF -->
<!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH -->
yearsAndMonths: true,
<!-- ENDIF -->
htmlTemplate: "<span class='cd-time'>{COUNTDOWN_TEXT}</span><!-- IF COUNTDOWN_YEAR and COUNTDOWN_MONTH --> %y <span class=\"cd-time\">{L_COUNT_YEARS}</span><!-- ENDIF --><!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH --> %m <span class=\"cd-time\">{L_COUNT_MONTHS}</span><!-- ENDIF --> %d <span class=\"cd-time\">{L_DAYS}</span> %h <span class=\"cd-time\">{L_HOURS}</span> %i <span class=\"cd-time\">{L_MINUTES}</span> %s <span class=\"cd-time\">{L_SECONDS}</span>",
direction: "<!-- IF COUNTDOWN_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->"
});
});
// ]]>
</script>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
<div class="navbar timecount">
<div class="inner"><span class="corners-top"><span></span></span>
<span id="time"></span>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
PhpBB Countdown MOD
I checked this code but i am confuse what exactly it.
PhpBB Countdown MOD
sorry, I did not get confused. these are the signs of the mod.
Open: styles/prosilver/template/overall_header.html
Find
Add after
find
add before
since I have not found in styles/prosilver/template/overall_header.html
this code
I combined the 2 changes
that
find:
add before
and it works
Open: styles/prosilver/template/overall_header.html
Find
Code: Select all
<!-- INCLUDE overall_header.html -->
Code: Select all
<!-- IF COUNTDOWN_ENABLE -->
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
<script src="{ROOT_PATH}script/jquery.jcountdown.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
$("#time").countdown({
date: "{COUNTDOWN_DATE}",
onComplete: function( event ) {
$(this).html("{COUNTDOWN_COMPLETE}");
},
leadingZero: true,
<!-- IF COUNTDOWN_OFFSET_ENABLE -->
offset: {COUNTDOWN_OFFSET},
<!-- ENDIF -->
<!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH -->
yearsAndMonths: true,
<!-- ENDIF -->
htmlTemplate: "<span class='cd-time'>{COUNTDOWN_TEXT}</span><!-- IF COUNTDOWN_YEAR and COUNTDOWN_MONTH --> %y <span class=\"cd-time\">{L_COUNT_YEARS}</span><!-- ENDIF --><!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH --> %m <span class=\"cd-time\">{L_COUNT_MONTHS}</span><!-- ENDIF --> %d <span class=\"cd-time\">{L_DAYS}</span> %h <span class=\"cd-time\">{L_HOURS}</span> %i <span class=\"cd-time\">{L_MINUTES}</span> %s <span class=\"cd-time\">{L_SECONDS}</span>",
direction: "<!-- IF COUNTDOWN_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->"
});
});
// ]]>
</script>
<!-- ENDIF -->
Code: Select all
<a name="start_here"></a>
Code: Select all
<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
<div class="navbar timecount">
<div class="inner"><span class="corners-top"><span></span></span>
<span id="time"></span>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
this code
Code: Select all
<!-- INCLUDE overall_header.html -->
that
find:
Code: Select all
<a name="start_here"></a>
Code: Select all
<!-- IF COUNTDOWN_ENABLE -->
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
<script src="{ROOT_PATH}script/jquery.jcountdown.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
$("#time").countdown({
date: "{COUNTDOWN_DATE}",
onComplete: function( event ) {
$(this).html("{COUNTDOWN_COMPLETE}");
},
leadingZero: true,
<!-- IF COUNTDOWN_OFFSET_ENABLE -->
offset: {COUNTDOWN_OFFSET},
<!-- ENDIF -->
<!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH -->
yearsAndMonths: true,
<!-- ENDIF -->
htmlTemplate: "<span class='cd-time'>{COUNTDOWN_TEXT}</span><!-- IF COUNTDOWN_YEAR and COUNTDOWN_MONTH --> %y <span class=\"cd-time\">{L_COUNT_YEARS}</span><!-- ENDIF --><!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH --> %m <span class=\"cd-time\">{L_COUNT_MONTHS}</span><!-- ENDIF --> %d <span class=\"cd-time\">{L_DAYS}</span> %h <span class=\"cd-time\">{L_HOURS}</span> %i <span class=\"cd-time\">{L_MINUTES}</span> %s <span class=\"cd-time\">{L_SECONDS}</span>",
direction: "<!-- IF COUNTDOWN_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->"
});
});
// ]]>
</script>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
<div class="navbar timecount">
<div class="inner"><span class="corners-top"><span></span></span>
<span id="time"></span>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
PhpBB Countdown MOD
hey stoker,
can u help me please...
im a totaly newby in phpbb3 using and want to install the countdown mod.
i have the stupid question - how can i install this mod?
i downloadet it und i see the files, but now... i dont know the way.
im not a programmer and its my first mod i want to install.
is there an installmanual for this mod?
thanx
can u help me please...
im a totaly newby in phpbb3 using and want to install the countdown mod.
i have the stupid question - how can i install this mod?
i downloadet it und i see the files, but now... i dont know the way.
im not a programmer and its my first mod i want to install.
is there an installmanual for this mod?
thanx
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
PhpBB Countdown MOD
There is a guide here: https://www.phpbb.com/community/viewtop ... 1&t=724145
Board rules! No PM support
PhpBB Countdown MOD
Hello.
I need your help.
After complete installation I have noticed error: countdown block shows
Can somebody help?
I need your help.
After complete installation I have noticed error: countdown block shows
I checked, exists language file with COUNT_YEARS & COUNT_ MONTHS variables.text 00 { COUNT_YEARS } 08 { COUNT_MONTHS } 06 Days 22 Hours 20 Minutes 51 Seconds
Can somebody help?
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
PhpBB Countdown MOD
Version 2.0.1 released
Fixed 2 bugs in the install instructions
Fixed 2 bugs in the install instructions
Download newest version here: dm_eds/showcat.php?id=4 and do the update instructions.Citromon wrote:Hello.
I need your help.
After complete installation I have noticed error: countdown block showsI checked, exists language file with COUNT_YEARS & COUNT_ MONTHS variables.text 00 { COUNT_YEARS } 08 { COUNT_MONTHS } 06 Days 22 Hours 20 Minutes 51 Seconds
Can somebody help?
Board rules! No PM support
PhpBB Countdown MOD
Thanks for quick reply.
In update instruction in language/common.php section is error: you forget write variable 'COUNT_MINUTES' description.
In update instruction in language/common.php section is error: you forget write variable 'COUNT_MINUTES' description.
PhpBB Countdown MOD
And yet one more question: have you plan to add ability to edit different countdown message in ACP for every installed language?