PhpBB Countdown MOD
- Stoker
- Site Admin
- Posts: 3540
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
PhpBB Countdown MOD
Try read to topic at Rich place about countdown and mchat.
Board rules! No PM support
- martin123456
- BBCoder VI
- Posts: 765
- Joined: 25 Jul 2011, 13:29
- BBCodes: 34
- Favourite MOD: Ban button
- Location: Down south!
- Contact:
PhpBB Countdown MOD
Find and delete
Find
Add after
make sure you have jquery-1.8.3.min.js in the script folder in your root .
Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}script/jquery-1.8.3.min.js"></script>
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
<!-- IF COUNTDOWN_ENABLE -->
<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_COUNT_DAYS}</span> %h <span class=\"cd-time\">{L_COUNT_HOURS}</span> %i <span class=\"cd-time\">{L_COUNT_MINUTES}</span> %s <span class=\"cd-time\">{L_COUNT_SECONDS}</span>",
direction: "<!-- IF COUNTDOWN_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->"
});
});
// ]]>
</script>
<!-- ENDIF -->
- martin123456
- BBCoder VI
- Posts: 765
- Joined: 25 Jul 2011, 13:29
- BBCodes: 34
- Favourite MOD: Ban button
- Location: Down south!
- Contact:
PhpBB Countdown MOD
dmzx you can read the full topic and fix here http://blades-place.dyndns.info/viewtop ... 1006#p1006 all working on mine.
PhpBB Countdown MOD
working thanks martin123456martin123456 wrote:dmzx you can read the full topic and fix here http://blades-place.dyndns.info/viewtop ... 1006#p1006 all working on mine.
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
PhpBB Countdown MOD
Hello,
is it possible to show only hours and seconds?
is it possible to show only hours and seconds?
PhpBB Countdown MOD
Try taking this code:
And remove this section of that line:
Code: Select all
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_COUNT_DAYS}</span> %h <span class=\"cd-time\">{L_COUNT_HOURS}</span> %i <span class=\"cd-time\">{L_COUNT_MINUTES}</span> %s <span class=\"cd-time\">{L_COUNT_SECONDS}</span>",
Code: Select all
<!-- 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_COUNT_DAYS}</span>
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™
- Nully
- Donator
- Posts: 258
- Joined: 15 Mar 2010, 00:03
- BBCodes: 10
- Favourite MOD: Radios
- Location: France > Bulgaria
- Contact:
PhpBB Countdown MOD
Thank you Sniper_E
Yes it works, now only 3 hours left on my countdown
Yes it works, now only 3 hours left on my countdown
PhpBB Countdown MOD
Please could you tell me if there is a way to place this in the header box?
Thanks
Thanks
- Stoker
- Site Admin
- Posts: 3540
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
PhpBB Countdown MOD
It is in the headertjrayner wrote:Please could you tell me if there is a way to place this in the header box?
Thanks
Board rules! No PM support
PhpBB Countdown MOD
Sorry I meant in the header block rather than in it's own block under the header