PhpBB Countdown MOD
PhpBB Countdown MOD
I know HTML but am a novice at JS and php - I looked at common.php in language directory, it looks correct?
// BEGIN Countdown
$lang = array_merge($lang, array(
'COUNT_YEARS' => 'Years',
'COUNT_MONTHS' => 'Months',
'COUNT_DAYS' => 'Days',
'COUNT_HOURS' => 'Hours',
'COUNT_MINUTES' => 'Minutes',
'COUNT_SECONDS' => 'Seconds',
));
// END Countdown
// BEGIN Countdown
$lang = array_merge($lang, array(
'COUNT_YEARS' => 'Years',
'COUNT_MONTHS' => 'Months',
'COUNT_DAYS' => 'Days',
'COUNT_HOURS' => 'Hours',
'COUNT_MINUTES' => 'Minutes',
'COUNT_SECONDS' => 'Seconds',
));
// END Countdown
- 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
Yes, it looks correct. Must be done to all languages installed
Board rules! No PM support
PhpBB Countdown MOD
FINALLY!!
That was it, had en and en_us languages installed, MOD updated en but en_us did not include the update so I updated en_us common.php and now works as expected.
Thank you so much for sticking with me until it got fixed, really appreciate it!
Terry
That was it, had en and en_us languages installed, MOD updated en but en_us did not include the update so I updated en_us common.php and now works as expected.
Thank you so much for sticking with me until it got fixed, really appreciate it!
Terry
PhpBB Countdown MOD
works on all pages except on index page?
- martin123456
- BBCoder VI
- Posts: 765
- Joined: 25 Jul 2011, 13:29
- BBCodes: 34
- Favourite MOD: Ban button
- Location: Down south!
- Contact:
PhpBB Countdown MOD
Board link is ? or post up overall header file
PhpBB Countdown MOD
here it is:
i try to move
just under
but no result, on all other pages it works except the index page.
thanks,
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF S_ERROR_PAGE -->
<base href="{U_FORUM_BASE}" />
<!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS -->
<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
<!--
phpBB style name: prosilver
Based on style: prosilver (this is the default phpBB3 style)
Original author: Tom Beddard ( http://www.subBlue.com/ )
Modified by:
-->
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var style_cookie = 'phpBBstyle';
var style_cookie_settings = '{A_COOKIE_SETTINGS}';
var onload_functions = new Array();
var onunload_functions = new Array();
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
<!-- ENDIF -->
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (var i = 0; i < onload_functions.length; i++)
{
eval(onload_functions[i]);
}
};
window.onunload = function()
{
for (var i = 0; i < onunload_functions.length; i++)
{
eval(onunload_functions[i]);
}
};
// ]]>
</script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.cookie.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.collapse.js"></script>
<!-- IF S_NEW_DL_POPUP -->
<script type="text/javascript">
// <![CDATA[
window.open('{U_NEW_DOWNLOAD_POPUP}', '_blank', 'HEIGHT=300,resizable=yes,WIDTH=400');
// ]] >
</script>
<!-- ENDIF -->
<!-- IF S_DL_LYTEBOX -->
<script type="text/javascript" src="{ROOT_PATH}dl_mod/js/lytebox/lytebox.js"></script>
<link rel="stylesheet" type="text/css" href="{ROOT_PATH}dl_mod/js/lytebox/lytebox.css" />
<!-- ENDIF -->
<!-- IF S_TOTAL_IMAGES -->
<script type="text/javascript" src="{ROOT_PATH}dl_mod/js/jquery/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="{ROOT_PATH}dl_mod/js/jquery/skins/tango/skin.css" />
<!-- ENDIF -->
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}script/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery.titlealert.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->
<!-- IF GUEST_HIDE_BBCODE_MOD -->
<link href="{T_THEME_PATH}/guest_hide_bbcode_mod.css" rel="stylesheet" type="text/css" />
<!-- ENDIF -->
<!-- IF S_JQUERY_TOPIC_PREVIEW -->
<link href="{ROOT_PATH}styles/topic_preview_assets/topic_preview.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF SITE_BG_IMG -->
<style type="text/css">
<!--
.headerbar {background:url("{SITE_BG_IMG}") repeat;}
-->
</style>
<!-- ENDIF -->
<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<script type="text/javascript" src="{ROOT_PATH}script/prettySociable/js/jquery.prettySociable.js"></script>
<!-- ENDIF -->
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
$.prettySociable();
<!-- ENDIF -->
});
// ]]>
</script>
<!--[if lte IE 6]><script src="{ROOT_PATH}script/prettySociable/js/DD_belatedPNG.js" type="text/javascript"></script><![endif]-->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<link rel="stylesheet" href="{ROOT_PATH}script/prettySociable/css/prettySociable.css" type="text/css" media="screen" />
<!-- ENDIF -->
<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar">
<a href="{U_REGISTER}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" />{L_PMG_WELCOME} {SITENAME}. {L_PMG_REGISTER}<img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" /></a>
</div></div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_USER_PM_POPUP and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" />{L_PMG_HELLO} {S_USERNAME} {L_PMG_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMG_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" /></a>
</div></div>
<!-- ENDIF -->
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<div class="headerbar">
<div class="inner"><span class="corners-top"><span>{SITENAME}</span></span>
<div id="site-description">
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<p>{SITE_DESCRIPTION}</p>
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="get" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --> <!-- BEGIN dl_nav --> <strong>‹</strong> <a href="{dl_nav.U_DOWNLOAD}">{dl_nav.L_DOWNLOAD}</a><!-- END dl_nav --></li>
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<ul class="linklist leftside">
<li class="">
<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
<!-- IF S_DISPLAY_SEARCH --> •
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> •
<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
</li>
</ul>
<!-- ENDIF -->
<ul class="linklist rightside">
<li class="icon-logout"><a href="radio.php" title="Radio" onclick="window.open('{ROOT_PATH}radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=560, left=20, top=20'); return false;">{L_RADIO}</a></li>
<!-- IF S_DONATE_ENABLED -->
<li class="icon-donate"><a href="{U_DONATE}" title="{L_DONATE_EXPLAIN}">{L_DONATE}</a></li>
<!-- IF S_DONATE_LIST_ENABLED --><li class="icon-donate-list"><a href="{U_DONATE_LIST}" title="{L_DONORS_EXPLAIN}">{L_DONORS}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="icon-rules"><a href="{U_RULES}" title="{L_BOARD_RULES_HDR}">{L_BOARD_RULES}</a></li>
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- IF S_SHOW_DL_LINK --><li class="icon-download"><a href="{U_DL_NAVS}" title="{L_DOWNLOADS}">{L_DOWNLOADS}</a></li><!-- ENDIF -->
<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_HACKLIST_ON --><li class="icon-hacklist"><a href="{U_HACKLIST}" title="{L_HACKLIST}">{L_HACKLIST}</a></li><!-- ENDIF -->
<!-- IF S_BUGTRACKER_ON --><li class="icon-tracker"><a href="{U_BUG_TRACKER}" title="{L_BUG_TRACKER}">{L_BUG_TRACKER}</a></li><!-- ENDIF -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
<!-- 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 -->
<a name="start_here"></a>
<!-- 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_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 -->
<div id="page-body">
<!-- IF S_NEW_DL_MESSAGE -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
{NEW_DOWNLOAD_MESSAGE}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="information" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!--
welcome
-->
<!-- IF not S_IS_BOT -->
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<li class="header">
<dl class="icon"></dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<dl>
<dd style="padding:5px; text-align: center; border:none;">
<!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
</dd>
<dd class="lastpost" style="padding:5px; width:40%;">
<p>{S_WELCOME}<br/><!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li class="icon-ucp"><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a><!-- IF S_DISPLAY_PM --><!-- ENDIF --></li><!-- ENDIF --><!-- IF U_ACP --><br /><li class="icon-ucp"><a href="{U_ACP}" title="Beheerderspaneel">{L_ACP}</a><!-- ENDIF --><!-- IF U_MCP --> • <a href="{U_MCP}" title="Moderatorpaneel">{L_MCP}</a></li><!-- ELSEIF S_USER_LOGGED_IN --><!-- ENDIF --><br/><!-- IF S_VIEW_STATS --><li class="icon-faq"><a href="{U_STATS}" title="{L_STATS_EXPLAIN}">{L_STATISTICS}</a></li><!-- ENDIF --> </p>
</dd>
<dd class="lastpost" style="padding:5px; width:36%;"><span><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br />{CURRENT_TIME}<!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br /><br />{S_JOINED_DATE}<br /><strong>{MEMBER_FOR}</strong><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br />{L_TOTAL_TIME_LOGGED_IN}: {TOTAL_TIME_LOGGED_IN}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></span>
</dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>
<!-- ENDIF -->
<p></p>
<!-- IF not S_USER_LOGGED_IN and NEWS_BREAKER --><!-- INCLUDE news_admin_body.html --><!-- ENDIF -->
i try to move
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_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 -->
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
thanks,
- 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
Delete these two lines
Use this for countdown and place it where instructed:
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="{ROOT_PATH}script/jquery-1.8.3.min.js"></script>
Code: Select all
<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 -->
Board rules! No PM support
PhpBB Countdown MOD
when i delete these lines collapsible and Pretty social stop working.
when i add:
without all pages work also collapsible and pretty social, but still not countdown on index....
Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}script/jquery-1.8.3.min.js"></script>
when i add:
Code: Select all
<!-- 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 -->
Code: Select all
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
- 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
Please read my instructions in last post again
Especially the countdown thing.
Especially the countdown thing.
Board rules! No PM support
PhpBB Countdown MOD
did what you told me but no result.
this is index:
this is example help section:
when placing: under
it all stops working.
regards
this is index:
this is example help section:
when placing:
Code: Select all
<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 -->
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
it all stops working.
regards