Page 1 of 1

Error: jQuery is not defined

Posted: 21 May 2012, 18:29
by Nully
The Mod works fine, but I have 2 errors:

1) in ./script/jquery.totemticker.min.js
Line: 1

2) Error : $ is not defined
Line : 69

Code: Select all

<script src="./script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
I think this error was not there before I updated the Mod Countdown today.

err0r: jQuery is not defined

Posted: 21 May 2012, 20:08
by Stoker
I need to see your overall_header.html

err0r: jQuery is not defined

Posted: 21 May 2012, 23:28
by Nully
I don't know how to show it to you. I use your BBcode :

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-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP --> &bull; {L_MCP}<!-- ELSEIF S_IN_UCP --> &bull; {L_UCP}<!-- ENDIF --></title>
<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}
<link rel="shortcut icon" href="http://www.bulgaria-france.net/salon/favicon.ico" type="image/x-icon" />
<link rel="icon" href="http://www.bulgaria-france.net/salon/favicon.ico" type="image/x-icon" />
<!-- 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 -->


<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 -->
	if ({S_NEW_PM})
	{
		var answer = confirm("{L_PM_ALERT_BOX}")
                if (answer) 
                {
                window.location = "{U_PRIVATEMSGS}";
                }
	}
	<!-- 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>
<!-- 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 (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->
<!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
<script src="{ROOT_PATH}script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$('#vertical-ticker').totemticker({
				row_height	:	'41px',
				max_items   :   3,
				speed       :   {JSSCROLL_SPEED},
				interval    :   {JSSCROLL_INTERVAL},
				<!-- IF TS_JSSCROLL_NAVIGATION -->
				next		:	'#ticker-next',
				previous	:	'#ticker-previous',
				stop		:	'#stop',
				start		:	'#start',
				<!-- ENDIF -->
				mousestop	:	true,
				direction	:	'<!-- IF TS_JSSCROLL_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->'
	});
});
// ]]>
</script>
<!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->
<script src="{ROOT_PATH}script/jquery.newsticker.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$("#news").newsTicker();
});
// ]]>
</script>
<!-- ENDIF -->
<!-- ENDIF -->
<!--[if IE 6]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/DD_belatedPNG.js"></script>
<script type="text/javascript">DD_belatedPNG.fix('img, ul.linklist li, a.print, a.sendemail, a.fontsize, ul.profile-icons li, ul.profile-icons li a, .buttons div span, .online, img');</script>
<![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 -->
<!-- INCLUDE ads/ads.js -->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" or SCRIPT_NAME == "ucp" or SCRIPT_NAME == "search" -->
<script type="text/javascript" src="{ROOT_PATH}/highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="{ROOT_PATH}/highslide/highslide.css" />      
<script type="text/javascript">
	hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = false;
	hs.dimmingOpacity = 0.75;
	hs.wrapperClassName = 'borderless';
	hs.captionOverlay.hideOnMouseOut = true;
	hs.marginLeft = 85;
	hs.marginBottom = 0;
	hs.marginTop = 0;
	hs.numberPosition = 'caption';

	
	// Adding the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 3000,
		repeat: false,
		useControls: true,
		fixedControls: true,
		overlayOptions: {
			opacity: .6,
			position: 'top center',
			hideOnMouseOut: true
		},
		thumbstrip: {
			position: 'middle left',
			mode: 'vertical',
			relativeTo: 'viewport'
		}
	});
	// Language strings
   hs.lang = {
   cssDirection:     'ltr',
   loadingText :     'Chargement...',
   loadingTitle :    'Cliquer pour annuler',
   focusTitle :      'Cliquer pour mettre cette image au premier plan',
   fullExpandTitle : 'Afficher à la taille réelle',
   fullExpandText :  'Taille réelle',
   creditsText :     'Développé par Highslide JS',
   creditsTitle :    'Site Web de Highslide JS',
   previousText :    'Précédente',
   previousTitle :   'Précédente (flèche gauche)',
   nextText :        'Suivante',
   nextTitle :       'Suivante (flèche droite)',
   moveTitle :       'Déplacer',
   moveText :        'Déplacer',
   closeText :       'Fermer',
   closeTitle :      'Fermer (esc ou Echap)',
   resizeTitle :     'Redimensionner',
   playText :        'Lancer',
   playTitle :       'Lancer le diaporama (barre d\'espace)',
   pauseText :       'Pause',
   pauseTitle :      'Suspendre le diaporama (barre d\'espace)',   
   number :          'Image %1 sur %2',
   restoreTitle :    'Cliquer pour fermer l\'image, cliquer et faire glisser pour déplacer, utiliser les touches flèches droite et gauche pour suivante et précédente.' 
};
</script>
<!-- ENDIF -->
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		{ADS_1}
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>
			<div id="site-description">
			<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<h1>{SITENAME}</h1>
				<p>Forum Bulgarie : culture, vie en Bulgarie, photos, tourisme<br />
				<span lang="bg" xml:lang="bg">&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103; &#1092;&#1086;&#1088;&#1091;&#1084; &#1085;&#1072; &#1092;&#1088;&#1077;&#1085;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;.</span></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 perso_services">
			<div class="inner"><span class="corners-top"><span></span></span>
				<ul class="linklist leftside">
					<li class="icon-homepage"><a href="{U_HOMEPAGE}" title="{L_HOMEPAGE_EXPLAIN}">{L_HOMEPAGE}</a></li>
					<li class="icon-radio"><a href="{U_RADIO}" title="{L_RADIO_EXPLAIN}" onclick="window.open('radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=440, height=380, left=20, top=20'); return false;">{L_RADIO}</a></li>
					<li class="icon-rules"><a href="{U_RULES}" title="{L_RULES}">{L_RULES}</a></li>
					<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
					<li class="icon-bank"><a href="{U_PAYPAL}" title="{L_VIEWING_PAYPAL}">{L_PAYPAL}</a></li>
					<li class="icon-contact"><a href="{U_CONTACT}" title="Contact Administrateur">Contact</a></li>
				</ul>
			<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>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a>
				<!-- END navlinks --></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="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
					<!-- IF S_DISPLAY_SEARCH --> &bull;
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
				</li>
			</ul>
			<!-- ENDIF -->

			    <!-- IF not S_IS_BOT -->
    <ul class="linklist rightside">
                   <!-- 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>
             </ul>
             <!-- ENDIF -->
			<span class="corners-bottom"><span></span></span></div>
		</div>
	</div>

	<!-- IF ADS_2 -->
	<br />
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt>{L_ADVERTISEMENT}</dt>
					</dl>
				</li>
			</ul>
			<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #FFFFFF; margin: 0px auto; text-align: center;">
				{ADS_2}
			</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- 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 -->	
	<a name="start_here"></a>
	<div id="page-body">
		<!-- 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 -->]

err0r: jQuery is not defined

Posted: 22 May 2012, 05:13
by Stoker
Try this:

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-style-type" content="text/css" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <title>{PAGE_TITLE}<!-- IF S_IN_MCP --> &bull; {L_MCP}<!-- ELSEIF S_IN_UCP --> &bull; {L_UCP}<!-- ENDIF --></title>
    <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}
    <link rel="shortcut icon" href="http://www.bulgaria-france.net/salon/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="http://www.bulgaria-france.net/salon/favicon.ico" type="image/x-icon" />
    <!-- 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 -->


    <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 -->
       if ({S_NEW_PM})
       {
          var answer = confirm("{L_PM_ALERT_BOX}")
                    if (answer)
                    {
                    window.location = "{U_PRIVATEMSGS}";
                    }
       }
       <!-- 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 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_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 (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->
    <!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
    <script src="{ROOT_PATH}script/jquery.totemticker.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    // <![CDATA[
    $(document).ready(function() {
       $('#vertical-ticker').totemticker({
                row_height   :   '41px',
                max_items   :   3,
                speed       :   {JSSCROLL_SPEED},
                interval    :   {JSSCROLL_INTERVAL},
                <!-- IF TS_JSSCROLL_NAVIGATION -->
                next      :   '#ticker-next',
                previous   :   '#ticker-previous',
                stop      :   '#stop',
                start      :   '#start',
                <!-- ENDIF -->
                mousestop   :   true,
                direction   :   '<!-- IF TS_JSSCROLL_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->'
       });
    });
    // ]]>
    </script>
    <!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->
    <script src="{ROOT_PATH}script/jquery.newsticker.js" type="text/javascript"></script>
    <script type="text/javascript">
    // <![CDATA[
    $(document).ready(function() {
       $("#news").newsTicker();
    });
    // ]]>
    </script>
    <!-- ENDIF -->
    <!-- ENDIF -->
    <!--[if IE 6]>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix('img, ul.linklist li, a.print, a.sendemail, a.fontsize, ul.profile-icons li, ul.profile-icons li a, .buttons div span, .online, img');</script>
    <![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 -->
    <!-- INCLUDE ads/ads.js -->
    <!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" or SCRIPT_NAME == "ucp" or SCRIPT_NAME == "search" -->
    <script type="text/javascript" src="{ROOT_PATH}/highslide/highslide-with-gallery.js"></script>
    <link rel="stylesheet" type="text/css" href="{ROOT_PATH}/highslide/highslide.css" />     
    <script type="text/javascript">
       hs.graphicsDir = 'highslide/graphics/';
       hs.align = 'center';
       hs.transitions = ['expand', 'crossfade'];
       hs.fadeInOut = false;
       hs.dimmingOpacity = 0.75;
       hs.wrapperClassName = 'borderless';
       hs.captionOverlay.hideOnMouseOut = true;
       hs.marginLeft = 85;
       hs.marginBottom = 0;
       hs.marginTop = 0;
       hs.numberPosition = 'caption';

       
       // Adding the controlbar
       if (hs.addSlideshow) hs.addSlideshow({
          //slideshowGroup: 'group1',
          interval: 3000,
          repeat: false,
          useControls: true,
          fixedControls: true,
          overlayOptions: {
             opacity: .6,
             position: 'top center',
             hideOnMouseOut: true
          },
          thumbstrip: {
             position: 'middle left',
             mode: 'vertical',
             relativeTo: 'viewport'
          }
       });
       // Language strings
       hs.lang = {
       cssDirection:     'ltr',
       loadingText :     'Chargement...',
       loadingTitle :    'Cliquer pour annuler',
       focusTitle :      'Cliquer pour mettre cette image au premier plan',
       fullExpandTitle : 'Afficher à la taille réelle',
       fullExpandText :  'Taille réelle',
       creditsText :     'Développé par Highslide JS',
       creditsTitle :    'Site Web de Highslide JS',
       previousText :    'Précédente',
       previousTitle :   'Précédente (flèche gauche)',
       nextText :        'Suivante',
       nextTitle :       'Suivante (flèche droite)',
       moveTitle :       'Déplacer',
       moveText :        'Déplacer',
       closeText :       'Fermer',
       closeTitle :      'Fermer (esc ou Echap)',
       resizeTitle :     'Redimensionner',
       playText :        'Lancer',
       playTitle :       'Lancer le diaporama (barre d\'espace)',
       pauseText :       'Pause',
       pauseTitle :      'Suspendre le diaporama (barre d\'espace)',   
       number :          'Image %1 sur %2',
       restoreTitle :    'Cliquer pour fermer l\'image, cliquer et faire glisser pour déplacer, utiliser les touches flèches droite et gauche pour suivante et précédente.'
    };
    </script>
    <!-- ENDIF -->
    </head>
    <body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">

    <div id="wrap">
       <a id="top" name="top" accesskey="t"></a>
       <div id="page-header">
          {ADS_1}
          <div class="headerbar">
             <div class="inner"><span class="corners-top"><span></span></span>
             <div id="site-description">
             <a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
                <h1>{SITENAME}</h1>
                <p>Forum Bulgarie : culture, vie en Bulgarie, photos, tourisme<br />
                <span lang="bg" xml:lang="bg">&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1080;&#1103; &#1092;&#1086;&#1088;&#1091;&#1084; &#1085;&#1072; &#1092;&#1088;&#1077;&#1085;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;.</span></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 perso_services">
             <div class="inner"><span class="corners-top"><span></span></span>
                <ul class="linklist leftside">
                   <li class="icon-homepage"><a href="{U_HOMEPAGE}" title="{L_HOMEPAGE_EXPLAIN}">{L_HOMEPAGE}</a></li>
                   <li class="icon-radio"><a href="{U_RADIO}" title="{L_RADIO_EXPLAIN}" onclick="window.open('radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=440, height=380, left=20, top=20'); return false;">{L_RADIO}</a></li>
                   <li class="icon-rules"><a href="{U_RULES}" title="{L_RULES}">{L_RULES}</a></li>
                   <li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
                   <li class="icon-bank"><a href="{U_PAYPAL}" title="{L_VIEWING_PAYPAL}">{L_PAYPAL}</a></li>
                   <li class="icon-contact"><a href="{U_CONTACT}" title="Contact Administrateur">Contact</a></li>
                </ul>
             <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>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a>
                <!-- END navlinks --></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="icon-ucp">
                   <a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
                      <!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
                   <!-- IF S_DISPLAY_SEARCH --> &bull;
                   <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
                   <!-- ENDIF -->
                   <!-- IF U_RESTORE_PERMISSIONS --> &bull;
                   <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
                   <!-- ENDIF -->
                </li>
             </ul>
             <!-- ENDIF -->

                 <!-- IF not S_IS_BOT -->
        <ul class="linklist rightside">
                       <!-- 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>
                 </ul>
                 <!-- ENDIF -->
             <span class="corners-bottom"><span></span></span></div>
          </div>
       </div>

       <!-- IF ADS_2 -->
       <br />
       <div class="forabg">
          <div class="inner"><span class="corners-top"><span></span></span>
             <ul class="topiclist">
                <li class="header">
                   <dl class="icon">
                      <dt>{L_ADVERTISEMENT}</dt>
                   </dl>
                </li>
             </ul>
             <div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #FFFFFF; margin: 0px auto; text-align: center;">
                {ADS_2}
             </div>
          <span class="corners-bottom"><span></span></span></div>
       </div>
       <!-- 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 -->   
       <a name="start_here"></a>
       <div id="page-body">
          <!-- 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 -->]

err0r: jQuery is not defined

Posted: 22 May 2012, 08:00
by Nully
Hi,
I uploaded the file.
I did not find wich modifications you made (it's early morning for me).
The errors are still there and Top Stats does not scroll :?:

err0r: jQuery is not defined

Posted: 22 May 2012, 08:20
by Nully
After a coffee, I found your modification. I did the same on overall_header of Prosilver_SE and it seems fine.
Now Top Stats scrolls and the errors are no more notified. :o
Thanks and have a nice day.

err0r: jQuery is not defined

Posted: 22 May 2012, 08:27
by Stoker
We have all been there ;)
And coffee just make our day :thumb:

err0r: jQuery is not defined

Posted: 22 May 2012, 09:58
by Nully
Yes :thumb: