Connexion
S'inscrire
Actualités
Quoi de neuf
Activités générales
Auteurs
Forums
Nouveaux messages
Rechercher un forum
Quoi de neuf
Nouveaux messages
Nouveaux messages de profil
Activités générales
Membres
Membres inscrits
Visiteurs actuels
Nouveaux messages de profil
Rechercher dans les messages des profils
Teams
Créé ton équipe
Quoi de neuf ?
Nouveaux messages
Rechercher un forum
Menu
Connexion
S'inscrire
Install the app
Install
Forums
Forums généraux
Informatique
Développement
Questions, aides et recherches
Résolus
Impossible d'installer FontAwesome
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="Paul GTP" data-source="post: 6948392" data-attributes="member: 315249"><p>Tu n'as pas mis le code au bon endroit d'après son tuto <img src="/data/assets/smilies/mmh.gif" class="smilie" loading="lazy" alt=":mmh:" title="Mmh :mmh:" data-shortname=":mmh:" /></p><p>Essaie ça peut-être ?</p><p></p><p>[CODE]<xen:if is="{$xenOptions.uix_useSameJsForAllStyles}"></p><p><xen:set var="$uix_jsPathUsed">{$xenOptions.uix_jsPath}</xen:set></p><p><xen:else/></p><p><xen:set var="$uix_jsPathUsed">@uix_jsPath</xen:set></p><p></xen:if></p><p></p><p><xen:set var="$headerTabHeight_outer">{xen:calc '@headerTabHeight + @navTabs.border-top-width + @navTabs.border-bottom-width + @navTabs.padding-top + @navTabs.padding-bottom'}</xen:set></p><p><xen:set var="$uix_fixedNavigationHeight_outer">{xen:calc '@uix_fixedNavigationHeight + @uix_fixedNavigation_style.border-top-width + @uix_fixedNavigation_style.border-bottom-width + @uix_fixedNavigation_style.padding-top + @uix_fixedNavigation_style.padding-bottom'}</xen:set></p><p></p><p><xen:set var="$uix_tabLinksHeight_outer">{xen:calc '@uix_tabLinksHeight + @uix_tabLinks_style.padding-top + @uix_tabLinks_style.padding-bottom + @uix_tabLinks_style.border-bottom-width + @uix_tabLinks_style.border-top-width'}</xen:set></p><p><xen:set var="$uix_tabLinksHeightSticky_outer">{xen:calc '@uix_tabLinksHeightSticky + @uix_tabLinksSticky_style.padding-top + @uix_tabLinksSticky_style.padding-bottom + @uix_tabLinksSticky_style.border-bottom-width + @uix_tabLinksSticky_style.border-top-width'}</xen:set></p><p></p><p><xen:set var="$userBar_headerTabHeight_outer">{xen:calc '@uix_userBarHeight + @uix_userBar_style.border-top-width + @uix_userBar_style.border-bottom-width + @uix_userBar_style.padding-top + @uix_userBar_style.padding-bottom'}</xen:set></p><p><xen:set var="$userBar_uix_fixedNavigationHeight_outer">{xen:calc '@uix_fixedUserBarHeight + @uix_fixedUserBar_style.border-top-width + @uix_fixedUserBar_style.border-bottom-width + @uix_fixedUserBar_style.padding-top + @uix_fixedUserBar_style.padding-bottom'}</xen:set></p><p></p><p><xen:comment>LOAD FONTS</xen:comment></p><p><xen:if is="@uix_fontAwesome"><link href="@uix_fontAwesome" rel="stylesheet"></xen:if></p><p><xen:if is="@uix_googleFonts"><link href='//fonts.googleapis.com/css?family=@uix_googleFonts' rel='stylesheet' type='text/css'></xen:if></p><p></p><p></p><p><script src="{$jQuerySource}"></script> </p><p><xen:if is="{$jQuerySource} != {$jQuerySourceLocal}"></p><p><script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script></p><p></xen:if></p><p></p><p><xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3"></p><p><script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script></p><p></xen:if> </p><p><script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script></p><p><!--XenForo_Require:JS--></p><p><link rel="stylesheet" href="font-awesome-4.1.0/css/font-awesome.min.css"></p><p></p><p></p><p></p><p><xen:if is="@uix_ie8Support"></p><p><!--[if lt IE 9]></p><p><xen:if is="@uix_ie8Support_local"></p><p><script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/ie8_polyfill.min.js"></script></p><p><xen:else /></p><p><xen:comment> HTML5 Shim </xen:comment></p><p><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script></p><p><xen:comment> Media queries for IE8 </xen:comment></p><p><script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script></p><p><xen:comment> CSS3 selectors for IE8 </xen:comment></p><p><script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script></p><p></xen:if></p><p></p><p><![endif]--></p><p></p><p></xen:if></p><p></p><p><script></p><p>uix = {</p><p>elm: {},</p><p>fn:{},</p><p>init: function(){</p><p>if (uix.betaMode) {</p><p>console.group('uix.%cinit()', 'color:#3498DB');</p><p>}</p><p>for(var x=0;x<uix.events.init.length;x++){</p><p>uix.events.init[x]()</p><p>}</p><p>console.groupEnd('uix.%cinit()','color:#3498DB')</p><p>},</p><p>events: {init:[]},</p><p>on: function(event, fn){</p><p>if(event=='init'){</p><p>uix.events.init.push(fn)</p><p>}</p><p>},</p><p></p><p>betaMode : parseInt('@uix_beta'),</p><p>jsPathUsed : '{$uix_jsPathUsed}',</p><p>jsGlobal : parseInt('{$xenOptions.uix_useSameJsForAllStyles}'),</p><p></p><p></p><p>version : '@uix_version',</p><p>jsHeadVersion : '1.5.4.0',</p><p>addonVersion : '{$xenAddOns.uix}',</p><p>contentTemplate : '{$contentTemplate}',</p><p></p><p>globalPadding : parseInt('@uix_gutterWidth'),</p><p>sidebarWidth : parseInt('@sidebar.width'),</p><p>mainContainerMargin : '{xen:calc '@sidebar.width + @uix_gutterWidth'}px',</p><p>maxResponsiveWideWidth : parseInt('@maxResponsiveWideWidth'),</p><p>maxResponsiveMediumWidth : parseInt('@maxResponsiveMediumWidth'),</p><p>maxResponsiveNarrowWidth : parseInt('@maxResponsiveNarrowWidth'),</p><p>sidebarMaxResponsiveWidth : parseInt('@uix_sidebarMaxResponsiveWidth'),</p><p><xen:if is="@uix_responsiveMessageBreakpoint == '100%'"></p><p>responsiveMessageBreakpoint : 99999,</p><p><xen:else /></p><p>responsiveMessageBreakpoint : parseInt('@uix_responsiveMessageBreakpoint'),</p><p></xen:if></p><p>sidebarMaxResponsiveWidthStr : '@uix_sidebarMaxResponsiveWidth',</p><p></p><p><xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"></p><p>offCanvasRightTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasRightTriggerWidth : parseInt('@uix_rightPanelBreakpoint'),</p><p></xen:if></p><p></p><p><xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"></p><p>offCanvasLeftTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasLeftTriggerWidth : parseInt('@uix_leftPanelBreakpoint'),</p><p></xen:if></p><p></p><p><xen:if is="@uix_offCanvasSidebarRight == 1"></p><p><xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"></p><p>offCanvasNavTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasNavTriggerWidth : parseInt('@uix_rightPanelBreakpoint'),</p><p></xen:if></p><p><xen:elseif is="@uix_offCanvasSidebarLeft == 1" /></p><p><xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"></p><p>offCanvasNavTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasNavTriggerWidth : parseInt('@uix_leftPanelBreakpoint'),</p><p></xen:if></p><p><xen:else /></p><p>offCanvasNavTriggerWidth : 99999,</p><p></xen:if></p><p><xen:if is="@uix_offCanvasSidebarRight == 2"></p><p><xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"></p><p>offCanvasVisitorTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasVisitorTriggerWidth : parseInt('@uix_rightPanelBreakpoint'),</p><p></xen:if></p><p><xen:elseif is="@uix_offCanvasSidebarLeft == 2" /></p><p><xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"></p><p>offCanvasVisitorTriggerWidth : 99999,</p><p><xen:else /></p><p>offCanvasVisitorTriggerWidth : parseInt('@uix_leftPanelBreakpoint'),</p><p></xen:if></p><p><xen:else /></p><p>offCanvasVisitorTriggerWidth : 99999,</p><p></xen:if></p><p></p><p>offcanvasTriggerAnimationDuration : parseInt('@uix_panelAnimationDuration'),</p><p></p><p></p><p></p><p></p><p>dropdownMenuAnimationSpeed : parseInt('@uix_dropdownMenuAnimationSpeed'),</p><p>inlineAlertBalloons : (parseInt('@uix_inlineAlertBalloon_navigation') && !parseInt('@uix_visitorTabsToUserBar')) || parseInt('@uix_visitorTabsToUserBar'),</p><p></p><p>jumpToFixedDelayHide : parseInt('@uix_jumpToTopFixed_delayHide'),</p><p></p><p>stickyNavigationMinWidth : parseInt('@uix_stickyNavigation_minWidth'),</p><p>stickyNavigationMinHeight : parseInt('@uix_stickyNavigation_minHeight'),</p><p>stickyNavigationMaxWidth : parseInt('@uix_stickyNavigation_maxWidth'),</p><p>stickyNavigationMaxHeight : parseInt('@uix_stickyNavigation_maxHeight'),</p><p>stickyNavigationPortraitMinWidth : parseInt('@uix_stickyNavigationPortrait_minWidth'),</p><p>stickyNavigationPortraitMinHeight : parseInt('@uix_stickyNavigationPortrait_minHeight'),</p><p>stickyNavigationPortraitMaxWidth : parseInt('@uix_stickyNavigationPortrait_maxWidth'),</p><p>stickyNavigationPortraitMaxHeight : parseInt('@uix_stickyNavigationPortrait_maxHeight'),</p><p>stickySidebar : {xen:if '@uix_sidebarMaxResponsiveWidth != "100%"', '@uix_collapsibleSidebar_sticky', 0},</p><p><xen:if is="{$uix_sidebarLocation}"></p><p>sidebarInnerFloat : {xen:if "{$pageIsRtl}", '"right"', '"left"'},</p><p><xen:else /></p><p>sidebarInnerFloat : {xen:if "{$pageIsRtl}", '"left"', '"right"'},</p><p></xen:if></p><p>RTL : {xen:if "{$pageIsRtl}", "1", "0"},</p><p>stickyItems : {},</p><p>stickyGlobalMinimumPosition : parseInt('@uix_stickyGlobalMinimumPosition'),</p><p>stickyGlobalScrollUp : parseInt('@uix_stickyGlobalScrollUp'),</p><p>stickyDisableIOSThirdParty : parseInt('@uix_disableStickyIOS'),</p><p>preventAlwaysSticky : parseInt('@uix_preventAlwaysSticky'),</p><p></p><p>searchMinimalSize : {xen:if '@uix_searchMinimalSize == "100%"', "99999", "parseInt('@uix_searchMinimalSize')"},</p><p></p><p>searchPosition : parseInt('<xen:comment> EDGE CASES WHERE SEARCH POSITION DEFAULTS TO 2 </xen:comment><xen:if is="( @uix_searchPosition == 1 && ( @uix_navStyle == 2 || (@uix_navStyle == 3 && @uix_pageStyle != 1) ) || (@uix_searchPosition == 0 && @uix_removeTabLinks) )">2<xen:else />@uix_searchPosition</xen:if>'),</p><p></p><p>nodeStyle : parseInt('@uix_nodeStyle'),</p><p>pageStyle : parseInt('@uix_pageStyle'),</p><p></p><p>enableBorderCheck : parseInt('@uix_enableBorderJS'),</p><p>enableULManager : parseInt('@uix_enableULManagerJs'),</p><p></p><p>threadSlidingAvatar : parseInt('@uix_threadSlidingAvatar'),</p><p>threadSlidingExtra : parseInt('@uix_threadSlidingExtra'),</p><p>threadSlidingHover : parseInt('@uix_threadSlidingHover'),</p><p>threadSlidingStaffShow : parseInt('{$xenOptions.uix_noCollapseStaffPost}'),</p><p>threadSlidingGlobalEnable : parseInt('{$xenOptions.uix_enableCollapseUserInfo}'),</p><p></p><p>signatureHidingEnabled : parseInt('@uix_signatureHidingEnabled'),</p><p>signatureHidingEnabledAddon : parseInt('{$xenOptions.uix_enableCollapseUserInfo}'),</p><p>signatureMaxHeight : parseInt('@uix_signatureMaxHeight'),</p><p>signatureHoverEnabled : parseInt('@uix_signatureHoverEnabled'),</p><p></p><p>enableStickyFooter : parseInt('@uix_enableStickyFooter'),</p><p>stickyFooterBottomOffset : parseInt('@uix_gutterWidth') * 2,</p><p></p><p><xen:if is="@uix_nodeStyle == 3"></p><p>sidebarStickyBottomOffset : parseInt('{xen:calc '(@uix_gutterWidthSmall / 2)'}'),</p><p><xen:else /></p><p>sidebarStickyBottomOffset : parseInt(0),</p><p></xen:if></p><p></p><p><xen:if is="@uix_offCanvasSidebarLeft > 0 || @uix_offCanvasSidebarRight > 0"></p><p>offCanvasSidebar : 1,</p><p></p><p><xen:if is="@uix_offCanvasSidebarLeft == 2 || @uix_offCanvasSidebarRight == 2"></p><p>offCanvasSidebarVisitorTabs : 1,</p><p><xen:else /></p><p>offCanvasSidebarVisitorTabs : 0,</p><p></xen:if></p><p></p><p><xen:else /></p><p>offCanvasSidebar : 0,</p><p>offCanvasSidebarVisitorTabs : 0,</p><p></xen:if></p><p></p><p>offcanvasLeftStatic : {xen:if {$visitor.user_id}, '1', {xen:if '@uix_offCanvasSidebarLeft==2', '0', '1'}} && parseInt('@uix_offCanvasSidebarLeftStatic'),</p><p>offcanvasRightStatic : {xen:if {$visitor.user_id}, '1', {xen:if '@uix_offCanvasSidebarRight==2', '0', '1'}} && parseInt('@uix_offCanvasSidebarRightStatic'),</p><p>offcanvasLeftStaticBreakpoint : parseInt('@uix_offCanvasSidebarLeftStaticBreakpoint'),</p><p>offcanvasRightStaticBreakpoint : parseInt('@uix_offCanvasSidebarRightStaticBreakpoint'),</p><p></p><p>reinsertWelcomeBlock : parseInt('@uix_reinsertWelcomeBlock'),</p><p></p><p>sidebarCookieExpire : '{$xenOptions.adhub_sidebarCollapseDays}',</p><p>canCollapseSidebar : '{$uix_canCollapseSidebar}',</p><p></p><p>cookiePrefix : '{xen:jsescape $xenOptions.cookieConfig.prefix}',</p><p>sidebarLocation : parseInt('{$uix_sidebarLocation}'),</p><p></p><p>collapsibleSidebar : parseInt('@uix_collapsibleSidebar'),</p><p>collapsedNodesDefault : '<xen:if is="is_array({$uix_collapsedNodes})"><xen:foreach loop="$uix_collapsedNodes" value="$nodeId">node_{$nodeId},</xen:foreach></xen:if>',</p><p>widthToggleUpper : '100%',</p><p>widthToggleLower : '@uix_pageWidth',</p><p><xen:if is="@uix_pageWidth > 100"></p><p>toggleWidthEnabled : parseInt('@uix_widthToggle'),</p><p><xen:else /></p><p>toggleWidthEnabled : false,</p><p></xen:if></p><p>collapsibleNodes : parseInt('@uix_collapseNodes'),</p><p>collapsibleSticky : parseInt('@uix_collapseSticky'),</p><p>ajaxWidthToggleLink : '{xen:link uix/toggle-width}',</p><p>ajaxStickyThreadToggleLink : '{xen:link uix/toggle-sticky-threads}',</p><p>ajaxStickyThreadExpandLink : '{xen:link uix/expand-sticky-threads}',</p><p>ajaxStickyThreadCollapseLink : '{xen:link uix/collapse-sticky-threads}',</p><p>ajaxSidebarToggleLink : '{xen:link uix/toggle-sidebar}',</p><p></p><p>stickySidebarDelayInit : parseInt('@uix_stickySidebarDelayInit'),</p><p></p><p>user : {</p><p>'themeName' : '{$visitorStyle.title}',</p><p>'-themeParents' : '{$visitorStyle.parent_list}',</p><p>'-themeModified' : '{$visitorStyle.last_modified_date}',</p><p>'-themeSelectable' : '{$visitorStyle.user_selectable}',</p><p>languageName : '{$visitorLanguage.title}',</p><p>stickyEnableUserbar : (parseInt('{$visitor.uix_sticky_userbar}') == parseInt('{$visitor.uix_sticky_userbar}')) ? parseInt('{$visitor.uix_sticky_userbar}') : true,</p><p>stickyEnableNav : (parseInt('{$visitor.uix_sticky_navigation}') == parseInt('{$visitor.uix_sticky_navigation}')) ? parseInt('{$visitor.uix_sticky_navigation}') : true,</p><p>stickyEnableSidebar : (parseInt('{$visitor.uix_sticky_sidebar}') == parseInt('{$visitor.uix_sticky_sidebar}')) ? parseInt('{$visitor.uix_sticky_sidebar}') : true,</p><p>widthToggleState : (parseInt('{$visitor.uix_width}') == parseInt('{$visitor.uix_width}')) ? parseInt('{$visitor.uix_width}') : parseInt('{$xenOptions.uix_defaultWidth}'),</p><p>stickyThreadsState : (parseInt('{$uix_collapseStickyThreads}') == parseInt('{$uix_collapseStickyThreads}')) ? (parseInt('{$uix_collapseStickyThreads}') > 0) : 0,</p><p><xen:if is="{$visitor.uix_sidebar} > {$uix_currentTimestamp}"></p><p>sidebarState : 1,</p><p><xen:else /></p><p>sidebarState : 0,</p><p></xen:if></p><p><xen:if is="!{$visitor.user_id} || {$visitor.uix_collapse_user_info}"></p><p>collapseUserInfo : 1,</p><p><xen:else /></p><p>collapseUserInfo : 0,</p><p></xen:if></p><p><xen:if is="!{$visitor.user_id} || {$visitor.uix_collapse_signature}"></p><p>signatureHiding : 1,</p><p><xen:else /></p><p>signatureHiding : 0,</p><p></xen:if></p><p>isAdmin : parseInt('{$visitor.is_admin}"')</p><p>}</p><p>};</p><p></p><p>if(uix.stickyNavigationMaxWidth == 0){uix.stickyNavigationMaxWidth = 999999}</p><p>if(uix.stickyNavigationMaxHeight == 0){uix.stickyNavigationMaxHeight = 999999}</p><p>if(uix.stickyNavigationPortraitMaxWidth == 0){uix.stickyNavigationPortraitMaxWidth = 999999}</p><p>if(uix.stickyNavigationPortraitMaxHeight == 0){uix.stickyNavigationPortraitMaxHeight = 999999}</p><p></p><p><xen:if is="@uix_stickyNavigation && ({$visitor.uix_sticky_navigation} || {$visitor.user_id} == 0)"></p><p>uix.stickyItems['#navigation'] = {normalHeight:parseInt('{$headerTabHeight_outer}'), stickyHeight:parseInt('{$uix_fixedNavigationHeight_outer}')}</p><p></p><p>var subElement = null;</p><p><xen:if is="@uix_removeTabLinks == 0"></p><p>//if tablinks are visible</p><p>uix.stickyItems['#navigation'].options = {subElement: '#navigation .tabLinks', subNormalHeight: parseInt('{$uix_tabLinksHeight_outer}'), subStickyHeight: parseInt('{$uix_tabLinksHeightSticky_outer}'), subStickyHide: @uix_removeTabLinksSticky == 1 , scrollSticky: uix.stickyGlobalScrollUp }</p><p><xen:else /></p><p>uix.stickyItems['#navigation'].options = {scrollSticky: uix.stickyGlobalScrollUp }</p><p></xen:if></p><p></p><p></xen:if></p><p></p><p><xen:if is="@uix_stickyUserBar && ({$visitor.uix_sticky_userbar} || {$visitor.user_id} == 0)"></p><p>$(document).ready(function() {</p><p>if ( $('#userBar').length ) {</p><p>uix.stickyItems['#userBar']= {normalHeight:parseInt('{$userBar_headerTabHeight_outer}'), stickyHeight:parseInt('{$userBar_uix_fixedNavigationHeight_outer}')}</p><p></p><p>uix.stickyItems['#userBar'].options = {scrollSticky: uix.stickyGlobalScrollUp }</p><p>}</p><p>});</p><p></xen:if></p><p></p><p><xen:include template="uix_quickScripts_head" /></p><p></p><p>uix.debug = function() {</p><p>result = "\n\n############============ Begin Copying Here ============############\n\n";</p><p>result += "Error: the functions file was not found.";</p><p>result += "\n\n############============ End Copying Here ============############\n\n";</p><p></p><p>console.log(result);</p><p>}</p><p></p><p></script></p><p></p><p><script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/functions{xen:if '!@uix_beta', '.min'}.js?_v={$xenOptions.jsVersion}_@uix_version"></script></p><p></p><p><script></p><p>uix.adminJsError = function(errMsg) {</p><p>console.error(errMsg);</p><p></p><p><xen:if is="{$visitor.is_admin}"></p><p>if (parseInt('{$xenOptions.uix_enableHelpfulAlerts}')) {</p><p>var errorEle = document.createElement("div");</p><p>errorEle.innerHTML = '<div class="uix_upgradeMessage importantMessage"><i class="uix_icon uix_icon-alerts"></i>' + errMsg.split('\n').join('<br />') + '</div>';</p><p>var contentPage = $('#content .pageContent');</p><p>if (contentPage.length) {</p><p>contentPage.prepend(errorEle);</p><p>}</p><p>}</p><p></xen:if></p><p>}</p><p></p><p>uix.fixJsVisibility = function() {</p><p>var userBar = $('.hasJs #userBar');</p><p>var nodeList = $('.hasJs #forums, .hasJs .category_view .nodeList, .hasJs .watch_forums .nodeList');</p><p>var panels = $('.js-uix_panels')</p><p>if (userBar.length) userBar.css('display', 'block');</p><p>if (nodeList.length) nodeList.css('visibility', 'visible');</p><p>if (panels.length) $('.js-uix_panels').removeClass('needsInit');</p><p>}</p><p></p><p>uix.catchJsError = function(err) {</p><p>console.log("\n\n############============ Begin Copying Here ============############\n\n")</p><p>var errMsg = "Uh Oh! It looks like there's an error in your page's javascript. There will likely be significant issues with the use of the forum until this is corrected. If you are unable to resolve this and believe it is due to a bug in your Audentio Design theme, contact Audentio support and include a copy of the text between the designated areas from your javascript console. This is the error: \n\n" + err ;</p><p>uix.fixJsVisibility(); </p><p>uix.adminJsError(errMsg);</p><p>console.log("\n\n");</p><p>console.log(err);</p><p>console.log("\n\n");</p><p>try {</p><p>uix.debug(true);</p><p>} catch (err) {</p><p>console.log("Unable to include uix.debug();");</p><p>}</p><p></p><p>console.log("\n\n############============ End Copying Here ============############\n\n");</p><p>}</p><p></p><p>$(document).ready(function(){</p><p>if (typeof(audentio) === 'undefined') {</p><p>var errMsg = 'Uh Oh! It looks like the javascript for your theme was not found in /js/audentio/{$uix_jsPathUsed}/.\n\n';</p><p>if (uix.jsGlobal) {</p><p>errMsg += 'Your forum is set to use the same javascript directory for all your themes. Consider disabling this or modifying the directory. Options are located under Options > [UI.X] General.\n\n'</p><p>} else {</p><p>errMsg += 'Your theme has set the location of its javascript directory. You may need to modify the javascript directory location style property located under [UI.X] Global Settings > Javascript Path.\n\n'</p><p>}</p><p>errMsg += 'If your files are in the directory specified, ensure that your file permissions allow them to be read. There will likely be significant issues with the use of the forum until this is corrected. If you are unable to resolve this, contact Audentio support. This error has also been logged to the javascript console.';</p><p></p><p>uix.fixJsVisibility();</p><p></p><p>uix.adminJsError(errMsg);</p><p>} else if (uix.jsHeadVersion != uix.jsVersion) {</p><p>var errMsg = 'Uh Oh! It looks like the version of your javascript functions file does not match the version of your page_container_js_head template. \n\nYour javascript functions file is version "' + uix.jsVersion + '". \nYour page_container_js_head is version "' + uix.jsHeadVersion + '". \n\nIf your functions file version number is higher, ensure that you have merged all templates (especially page_container_js_head). If your page_container_js_head version number is higher, ensure that you have correctly uploaded the latest version of the javascript functions file and that you have cleared anything that could cache an old version of the javascript (CDN / Cloudflare / etc.). \n\nThis issue could cause parts of your forum to not display or function correctly. If this does not resolve the issue contact Audentio support. This error has also been logged to the javascript console.';</p><p>uix.adminJsError(errMsg);</p><p>}</p><p>});</p><p></script></p><p></p><p><script></p><p>try {</p><p>uix.dateHelper.phrase = {</p><p>now: '{xen:phrase uix_now}',</p><p>second: '{xen:phrase uix_second}',</p><p>minute: '{xen:phrase uix_minute}',</p><p>hour: '{xen:phrase uix_hour}',</p><p>day: '{xen:phrase uix_day}',</p><p>week: '{xen:phrase uix_week}',</p><p>year: '{xen:phrase uix_year}',</p><p>century: '{xen:phrase uix_century}',</p><p>ago: '{xen:phrase uix_x_ago}'</p><p>}</p><p></p><p></p><p>uix.sticky.stickyMinDist = parseInt('@uix_stickyGlobalMinTriggerDist');</p><p></p><p>$(document).ready(function(){</p><p>try {</p><p><xen:if is="@uix_nodeStyle == 3"></p><p>audentio.grid.parse('{xen:raw $uix_nodeLayouts}');</p><p><xen:include template="uix_grid_sizeListeners_js" /></p><p></xen:if></p><p><xen:if is="@uix_postPagination"> </p><p>audentio.pagination.enabled = true;</p><p><xen:if is="@uix_postPaginationPos == 0"></p><p>audentio.grid.parentEle = 'navigation';</p><p><xen:elseif is="@uix_postPaginationPos == 1" /></p><p>audentio.grid.parentEle = 'userBar';</p><p></xen:if></p><p>audentio.pagination.outOfPhrase = '{xen:phrase uix_x_out_of_y, 'x=<span id="audentio_postPaginationCurrent" class="uix_postPagination_x"></span>', 'y=<span id="audentio_postPaginationTotal" class="uix_postPagination_y"></span>'}';</p><p>audentio.pagination.enterIndexPhrase = '{xen:phrase uix_enter_index}';</p><p>audentio.pagination.offset = parseInt('@uix_postPaginationOffset');</p><p></xen:if></p><p></p><p>uix.initFunc();</p><p>} catch (err) {</p><p>uix.catchJsError(err);</p><p>}</p><p>});</p><p>} catch (err) {</p><p>uix.catchJsError(err);</p><p>}</p><p></script></p><p></p><p><xen:if is="@uix_enableBackstretch && @uix_backstretchImages"></p><p><script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/backstretch.min.js?_v={$xenOptions.jsVersion}_@uix_version"></script></p><p></p><p><script></p><p>$(document).ready(function() {</p><p>var backstretchImages = [@uix_backstretchImages];</p><p>function shuffle(array) {</p><p>var m = array.length, t, i;</p><p></p><p>// While there remain elements to shuffle…</p><p>while (m) {</p><p></p><p>// Pick a remaining element…</p><p>i = Math.floor(Math.random() * m--);</p><p></p><p>// And swap it with the current element.</p><p>t = array[m];</p><p>array[m] = array;</p><p>array = t;</p><p>}</p><p></p><p>return array;</p><p>}</p><p>backstretchImages = shuffle(backstretchImages);</p><p></p><p>$<xen:if is="@uix_backstretchSelector">("@uix_backstretchSelector")</xen:if>.backstretch(backstretchImages, {</p><p>fade: @uix_backstretchFade,</p><p>duration: @uix_backstretchDuration</p><p>});</p><p>});</p><p></script></p><p></xen:if></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="Paul GTP, post: 6948392, member: 315249"] Tu n'as pas mis le code au bon endroit d'après son tuto :mmh: Essaie ça peut-être ? [CODE]<xen:if is="{$xenOptions.uix_useSameJsForAllStyles}"> <xen:set var="$uix_jsPathUsed">{$xenOptions.uix_jsPath}</xen:set> <xen:else/> <xen:set var="$uix_jsPathUsed">@uix_jsPath</xen:set> </xen:if> <xen:set var="$headerTabHeight_outer">{xen:calc '@headerTabHeight + @navTabs.border-top-width + @navTabs.border-bottom-width + @navTabs.padding-top + @navTabs.padding-bottom'}</xen:set> <xen:set var="$uix_fixedNavigationHeight_outer">{xen:calc '@uix_fixedNavigationHeight + @uix_fixedNavigation_style.border-top-width + @uix_fixedNavigation_style.border-bottom-width + @uix_fixedNavigation_style.padding-top + @uix_fixedNavigation_style.padding-bottom'}</xen:set> <xen:set var="$uix_tabLinksHeight_outer">{xen:calc '@uix_tabLinksHeight + @uix_tabLinks_style.padding-top + @uix_tabLinks_style.padding-bottom + @uix_tabLinks_style.border-bottom-width + @uix_tabLinks_style.border-top-width'}</xen:set> <xen:set var="$uix_tabLinksHeightSticky_outer">{xen:calc '@uix_tabLinksHeightSticky + @uix_tabLinksSticky_style.padding-top + @uix_tabLinksSticky_style.padding-bottom + @uix_tabLinksSticky_style.border-bottom-width + @uix_tabLinksSticky_style.border-top-width'}</xen:set> <xen:set var="$userBar_headerTabHeight_outer">{xen:calc '@uix_userBarHeight + @uix_userBar_style.border-top-width + @uix_userBar_style.border-bottom-width + @uix_userBar_style.padding-top + @uix_userBar_style.padding-bottom'}</xen:set> <xen:set var="$userBar_uix_fixedNavigationHeight_outer">{xen:calc '@uix_fixedUserBarHeight + @uix_fixedUserBar_style.border-top-width + @uix_fixedUserBar_style.border-bottom-width + @uix_fixedUserBar_style.padding-top + @uix_fixedUserBar_style.padding-bottom'}</xen:set> <xen:comment>LOAD FONTS</xen:comment> <xen:if is="@uix_fontAwesome"><link href="@uix_fontAwesome" rel="stylesheet"></xen:if> <xen:if is="@uix_googleFonts"><link href='//fonts.googleapis.com/css?family=@uix_googleFonts' rel='stylesheet' type='text/css'></xen:if> <script src="{$jQuerySource}"></script> <xen:if is="{$jQuerySource} != {$jQuerySourceLocal}"> <script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script> </xen:if> <xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3"> <script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script> </xen:if> <script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script> <!--XenForo_Require:JS--> <link rel="stylesheet" href="font-awesome-4.1.0/css/font-awesome.min.css"> <xen:if is="@uix_ie8Support"> <!--[if lt IE 9]> <xen:if is="@uix_ie8Support_local"> <script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/ie8_polyfill.min.js"></script> <xen:else /> <xen:comment> HTML5 Shim </xen:comment> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> <xen:comment> Media queries for IE8 </xen:comment> <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script> <xen:comment> CSS3 selectors for IE8 </xen:comment> <script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script> </xen:if> <![endif]--> </xen:if> <script> uix = { elm: {}, fn:{}, init: function(){ if (uix.betaMode) { console.group('uix.%cinit()', 'color:#3498DB'); } for(var x=0;x<uix.events.init.length;x++){ uix.events.init[x]() } console.groupEnd('uix.%cinit()','color:#3498DB') }, events: {init:[]}, on: function(event, fn){ if(event=='init'){ uix.events.init.push(fn) } }, betaMode : parseInt('@uix_beta'), jsPathUsed : '{$uix_jsPathUsed}', jsGlobal : parseInt('{$xenOptions.uix_useSameJsForAllStyles}'), version : '@uix_version', jsHeadVersion : '1.5.4.0', addonVersion : '{$xenAddOns.uix}', contentTemplate : '{$contentTemplate}', globalPadding : parseInt('@uix_gutterWidth'), sidebarWidth : parseInt('@sidebar.width'), mainContainerMargin : '{xen:calc '@sidebar.width + @uix_gutterWidth'}px', maxResponsiveWideWidth : parseInt('@maxResponsiveWideWidth'), maxResponsiveMediumWidth : parseInt('@maxResponsiveMediumWidth'), maxResponsiveNarrowWidth : parseInt('@maxResponsiveNarrowWidth'), sidebarMaxResponsiveWidth : parseInt('@uix_sidebarMaxResponsiveWidth'), <xen:if is="@uix_responsiveMessageBreakpoint == '100%'"> responsiveMessageBreakpoint : 99999, <xen:else /> responsiveMessageBreakpoint : parseInt('@uix_responsiveMessageBreakpoint'), </xen:if> sidebarMaxResponsiveWidthStr : '@uix_sidebarMaxResponsiveWidth', <xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"> offCanvasRightTriggerWidth : 99999, <xen:else /> offCanvasRightTriggerWidth : parseInt('@uix_rightPanelBreakpoint'), </xen:if> <xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"> offCanvasLeftTriggerWidth : 99999, <xen:else /> offCanvasLeftTriggerWidth : parseInt('@uix_leftPanelBreakpoint'), </xen:if> <xen:if is="@uix_offCanvasSidebarRight == 1"> <xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"> offCanvasNavTriggerWidth : 99999, <xen:else /> offCanvasNavTriggerWidth : parseInt('@uix_rightPanelBreakpoint'), </xen:if> <xen:elseif is="@uix_offCanvasSidebarLeft == 1" /> <xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"> offCanvasNavTriggerWidth : 99999, <xen:else /> offCanvasNavTriggerWidth : parseInt('@uix_leftPanelBreakpoint'), </xen:if> <xen:else /> offCanvasNavTriggerWidth : 99999, </xen:if> <xen:if is="@uix_offCanvasSidebarRight == 2"> <xen:if is="@uix_rightPanelBreakpoint == '100%' || !@uix_rightPanelBreakpoint"> offCanvasVisitorTriggerWidth : 99999, <xen:else /> offCanvasVisitorTriggerWidth : parseInt('@uix_rightPanelBreakpoint'), </xen:if> <xen:elseif is="@uix_offCanvasSidebarLeft == 2" /> <xen:if is="@uix_leftPanelBreakpoint == '100%' || !@uix_leftPanelBreakpoint"> offCanvasVisitorTriggerWidth : 99999, <xen:else /> offCanvasVisitorTriggerWidth : parseInt('@uix_leftPanelBreakpoint'), </xen:if> <xen:else /> offCanvasVisitorTriggerWidth : 99999, </xen:if> offcanvasTriggerAnimationDuration : parseInt('@uix_panelAnimationDuration'), dropdownMenuAnimationSpeed : parseInt('@uix_dropdownMenuAnimationSpeed'), inlineAlertBalloons : (parseInt('@uix_inlineAlertBalloon_navigation') && !parseInt('@uix_visitorTabsToUserBar')) || parseInt('@uix_visitorTabsToUserBar'), jumpToFixedDelayHide : parseInt('@uix_jumpToTopFixed_delayHide'), stickyNavigationMinWidth : parseInt('@uix_stickyNavigation_minWidth'), stickyNavigationMinHeight : parseInt('@uix_stickyNavigation_minHeight'), stickyNavigationMaxWidth : parseInt('@uix_stickyNavigation_maxWidth'), stickyNavigationMaxHeight : parseInt('@uix_stickyNavigation_maxHeight'), stickyNavigationPortraitMinWidth : parseInt('@uix_stickyNavigationPortrait_minWidth'), stickyNavigationPortraitMinHeight : parseInt('@uix_stickyNavigationPortrait_minHeight'), stickyNavigationPortraitMaxWidth : parseInt('@uix_stickyNavigationPortrait_maxWidth'), stickyNavigationPortraitMaxHeight : parseInt('@uix_stickyNavigationPortrait_maxHeight'), stickySidebar : {xen:if '@uix_sidebarMaxResponsiveWidth != "100%"', '@uix_collapsibleSidebar_sticky', 0}, <xen:if is="{$uix_sidebarLocation}"> sidebarInnerFloat : {xen:if "{$pageIsRtl}", '"right"', '"left"'}, <xen:else /> sidebarInnerFloat : {xen:if "{$pageIsRtl}", '"left"', '"right"'}, </xen:if> RTL : {xen:if "{$pageIsRtl}", "1", "0"}, stickyItems : {}, stickyGlobalMinimumPosition : parseInt('@uix_stickyGlobalMinimumPosition'), stickyGlobalScrollUp : parseInt('@uix_stickyGlobalScrollUp'), stickyDisableIOSThirdParty : parseInt('@uix_disableStickyIOS'), preventAlwaysSticky : parseInt('@uix_preventAlwaysSticky'), searchMinimalSize : {xen:if '@uix_searchMinimalSize == "100%"', "99999", "parseInt('@uix_searchMinimalSize')"}, searchPosition : parseInt('<xen:comment> EDGE CASES WHERE SEARCH POSITION DEFAULTS TO 2 </xen:comment><xen:if is="( @uix_searchPosition == 1 && ( @uix_navStyle == 2 || (@uix_navStyle == 3 && @uix_pageStyle != 1) ) || (@uix_searchPosition == 0 && @uix_removeTabLinks) )">2<xen:else />@uix_searchPosition</xen:if>'), nodeStyle : parseInt('@uix_nodeStyle'), pageStyle : parseInt('@uix_pageStyle'), enableBorderCheck : parseInt('@uix_enableBorderJS'), enableULManager : parseInt('@uix_enableULManagerJs'), threadSlidingAvatar : parseInt('@uix_threadSlidingAvatar'), threadSlidingExtra : parseInt('@uix_threadSlidingExtra'), threadSlidingHover : parseInt('@uix_threadSlidingHover'), threadSlidingStaffShow : parseInt('{$xenOptions.uix_noCollapseStaffPost}'), threadSlidingGlobalEnable : parseInt('{$xenOptions.uix_enableCollapseUserInfo}'), signatureHidingEnabled : parseInt('@uix_signatureHidingEnabled'), signatureHidingEnabledAddon : parseInt('{$xenOptions.uix_enableCollapseUserInfo}'), signatureMaxHeight : parseInt('@uix_signatureMaxHeight'), signatureHoverEnabled : parseInt('@uix_signatureHoverEnabled'), enableStickyFooter : parseInt('@uix_enableStickyFooter'), stickyFooterBottomOffset : parseInt('@uix_gutterWidth') * 2, <xen:if is="@uix_nodeStyle == 3"> sidebarStickyBottomOffset : parseInt('{xen:calc '(@uix_gutterWidthSmall / 2)'}'), <xen:else /> sidebarStickyBottomOffset : parseInt(0), </xen:if> <xen:if is="@uix_offCanvasSidebarLeft > 0 || @uix_offCanvasSidebarRight > 0"> offCanvasSidebar : 1, <xen:if is="@uix_offCanvasSidebarLeft == 2 || @uix_offCanvasSidebarRight == 2"> offCanvasSidebarVisitorTabs : 1, <xen:else /> offCanvasSidebarVisitorTabs : 0, </xen:if> <xen:else /> offCanvasSidebar : 0, offCanvasSidebarVisitorTabs : 0, </xen:if> offcanvasLeftStatic : {xen:if {$visitor.user_id}, '1', {xen:if '@uix_offCanvasSidebarLeft==2', '0', '1'}} && parseInt('@uix_offCanvasSidebarLeftStatic'), offcanvasRightStatic : {xen:if {$visitor.user_id}, '1', {xen:if '@uix_offCanvasSidebarRight==2', '0', '1'}} && parseInt('@uix_offCanvasSidebarRightStatic'), offcanvasLeftStaticBreakpoint : parseInt('@uix_offCanvasSidebarLeftStaticBreakpoint'), offcanvasRightStaticBreakpoint : parseInt('@uix_offCanvasSidebarRightStaticBreakpoint'), reinsertWelcomeBlock : parseInt('@uix_reinsertWelcomeBlock'), sidebarCookieExpire : '{$xenOptions.adhub_sidebarCollapseDays}', canCollapseSidebar : '{$uix_canCollapseSidebar}', cookiePrefix : '{xen:jsescape $xenOptions.cookieConfig.prefix}', sidebarLocation : parseInt('{$uix_sidebarLocation}'), collapsibleSidebar : parseInt('@uix_collapsibleSidebar'), collapsedNodesDefault : '<xen:if is="is_array({$uix_collapsedNodes})"><xen:foreach loop="$uix_collapsedNodes" value="$nodeId">node_{$nodeId},</xen:foreach></xen:if>', widthToggleUpper : '100%', widthToggleLower : '@uix_pageWidth', <xen:if is="@uix_pageWidth > 100"> toggleWidthEnabled : parseInt('@uix_widthToggle'), <xen:else /> toggleWidthEnabled : false, </xen:if> collapsibleNodes : parseInt('@uix_collapseNodes'), collapsibleSticky : parseInt('@uix_collapseSticky'), ajaxWidthToggleLink : '{xen:link uix/toggle-width}', ajaxStickyThreadToggleLink : '{xen:link uix/toggle-sticky-threads}', ajaxStickyThreadExpandLink : '{xen:link uix/expand-sticky-threads}', ajaxStickyThreadCollapseLink : '{xen:link uix/collapse-sticky-threads}', ajaxSidebarToggleLink : '{xen:link uix/toggle-sidebar}', stickySidebarDelayInit : parseInt('@uix_stickySidebarDelayInit'), user : { 'themeName' : '{$visitorStyle.title}', '-themeParents' : '{$visitorStyle.parent_list}', '-themeModified' : '{$visitorStyle.last_modified_date}', '-themeSelectable' : '{$visitorStyle.user_selectable}', languageName : '{$visitorLanguage.title}', stickyEnableUserbar : (parseInt('{$visitor.uix_sticky_userbar}') == parseInt('{$visitor.uix_sticky_userbar}')) ? parseInt('{$visitor.uix_sticky_userbar}') : true, stickyEnableNav : (parseInt('{$visitor.uix_sticky_navigation}') == parseInt('{$visitor.uix_sticky_navigation}')) ? parseInt('{$visitor.uix_sticky_navigation}') : true, stickyEnableSidebar : (parseInt('{$visitor.uix_sticky_sidebar}') == parseInt('{$visitor.uix_sticky_sidebar}')) ? parseInt('{$visitor.uix_sticky_sidebar}') : true, widthToggleState : (parseInt('{$visitor.uix_width}') == parseInt('{$visitor.uix_width}')) ? parseInt('{$visitor.uix_width}') : parseInt('{$xenOptions.uix_defaultWidth}'), stickyThreadsState : (parseInt('{$uix_collapseStickyThreads}') == parseInt('{$uix_collapseStickyThreads}')) ? (parseInt('{$uix_collapseStickyThreads}') > 0) : 0, <xen:if is="{$visitor.uix_sidebar} > {$uix_currentTimestamp}"> sidebarState : 1, <xen:else /> sidebarState : 0, </xen:if> <xen:if is="!{$visitor.user_id} || {$visitor.uix_collapse_user_info}"> collapseUserInfo : 1, <xen:else /> collapseUserInfo : 0, </xen:if> <xen:if is="!{$visitor.user_id} || {$visitor.uix_collapse_signature}"> signatureHiding : 1, <xen:else /> signatureHiding : 0, </xen:if> isAdmin : parseInt('{$visitor.is_admin}"') } }; if(uix.stickyNavigationMaxWidth == 0){uix.stickyNavigationMaxWidth = 999999} if(uix.stickyNavigationMaxHeight == 0){uix.stickyNavigationMaxHeight = 999999} if(uix.stickyNavigationPortraitMaxWidth == 0){uix.stickyNavigationPortraitMaxWidth = 999999} if(uix.stickyNavigationPortraitMaxHeight == 0){uix.stickyNavigationPortraitMaxHeight = 999999} <xen:if is="@uix_stickyNavigation && ({$visitor.uix_sticky_navigation} || {$visitor.user_id} == 0)"> uix.stickyItems['#navigation'] = {normalHeight:parseInt('{$headerTabHeight_outer}'), stickyHeight:parseInt('{$uix_fixedNavigationHeight_outer}')} var subElement = null; <xen:if is="@uix_removeTabLinks == 0"> //if tablinks are visible uix.stickyItems['#navigation'].options = {subElement: '#navigation .tabLinks', subNormalHeight: parseInt('{$uix_tabLinksHeight_outer}'), subStickyHeight: parseInt('{$uix_tabLinksHeightSticky_outer}'), subStickyHide: @uix_removeTabLinksSticky == 1 , scrollSticky: uix.stickyGlobalScrollUp } <xen:else /> uix.stickyItems['#navigation'].options = {scrollSticky: uix.stickyGlobalScrollUp } </xen:if> </xen:if> <xen:if is="@uix_stickyUserBar && ({$visitor.uix_sticky_userbar} || {$visitor.user_id} == 0)"> $(document).ready(function() { if ( $('#userBar').length ) { uix.stickyItems['#userBar']= {normalHeight:parseInt('{$userBar_headerTabHeight_outer}'), stickyHeight:parseInt('{$userBar_uix_fixedNavigationHeight_outer}')} uix.stickyItems['#userBar'].options = {scrollSticky: uix.stickyGlobalScrollUp } } }); </xen:if> <xen:include template="uix_quickScripts_head" /> uix.debug = function() { result = "\n\n############============ Begin Copying Here ============############\n\n"; result += "Error: the functions file was not found."; result += "\n\n############============ End Copying Here ============############\n\n"; console.log(result); } </script> <script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/functions{xen:if '!@uix_beta', '.min'}.js?_v={$xenOptions.jsVersion}_@uix_version"></script> <script> uix.adminJsError = function(errMsg) { console.error(errMsg); <xen:if is="{$visitor.is_admin}"> if (parseInt('{$xenOptions.uix_enableHelpfulAlerts}')) { var errorEle = document.createElement("div"); errorEle.innerHTML = '<div class="uix_upgradeMessage importantMessage"><i class="uix_icon uix_icon-alerts"></i>' + errMsg.split('\n').join('<br />') + '</div>'; var contentPage = $('#content .pageContent'); if (contentPage.length) { contentPage.prepend(errorEle); } } </xen:if> } uix.fixJsVisibility = function() { var userBar = $('.hasJs #userBar'); var nodeList = $('.hasJs #forums, .hasJs .category_view .nodeList, .hasJs .watch_forums .nodeList'); var panels = $('.js-uix_panels') if (userBar.length) userBar.css('display', 'block'); if (nodeList.length) nodeList.css('visibility', 'visible'); if (panels.length) $('.js-uix_panels').removeClass('needsInit'); } uix.catchJsError = function(err) { console.log("\n\n############============ Begin Copying Here ============############\n\n") var errMsg = "Uh Oh! It looks like there's an error in your page's javascript. There will likely be significant issues with the use of the forum until this is corrected. If you are unable to resolve this and believe it is due to a bug in your Audentio Design theme, contact Audentio support and include a copy of the text between the designated areas from your javascript console. This is the error: \n\n" + err ; uix.fixJsVisibility(); uix.adminJsError(errMsg); console.log("\n\n"); console.log(err); console.log("\n\n"); try { uix.debug(true); } catch (err) { console.log("Unable to include uix.debug();"); } console.log("\n\n############============ End Copying Here ============############\n\n"); } $(document).ready(function(){ if (typeof(audentio) === 'undefined') { var errMsg = 'Uh Oh! It looks like the javascript for your theme was not found in /js/audentio/{$uix_jsPathUsed}/.\n\n'; if (uix.jsGlobal) { errMsg += 'Your forum is set to use the same javascript directory for all your themes. Consider disabling this or modifying the directory. Options are located under Options > [UI.X] General.\n\n' } else { errMsg += 'Your theme has set the location of its javascript directory. You may need to modify the javascript directory location style property located under [UI.X] Global Settings > Javascript Path.\n\n' } errMsg += 'If your files are in the directory specified, ensure that your file permissions allow them to be read. There will likely be significant issues with the use of the forum until this is corrected. If you are unable to resolve this, contact Audentio support. This error has also been logged to the javascript console.'; uix.fixJsVisibility(); uix.adminJsError(errMsg); } else if (uix.jsHeadVersion != uix.jsVersion) { var errMsg = 'Uh Oh! It looks like the version of your javascript functions file does not match the version of your page_container_js_head template. \n\nYour javascript functions file is version "' + uix.jsVersion + '". \nYour page_container_js_head is version "' + uix.jsHeadVersion + '". \n\nIf your functions file version number is higher, ensure that you have merged all templates (especially page_container_js_head). If your page_container_js_head version number is higher, ensure that you have correctly uploaded the latest version of the javascript functions file and that you have cleared anything that could cache an old version of the javascript (CDN / Cloudflare / etc.). \n\nThis issue could cause parts of your forum to not display or function correctly. If this does not resolve the issue contact Audentio support. This error has also been logged to the javascript console.'; uix.adminJsError(errMsg); } }); </script> <script> try { uix.dateHelper.phrase = { now: '{xen:phrase uix_now}', second: '{xen:phrase uix_second}', minute: '{xen:phrase uix_minute}', hour: '{xen:phrase uix_hour}', day: '{xen:phrase uix_day}', week: '{xen:phrase uix_week}', year: '{xen:phrase uix_year}', century: '{xen:phrase uix_century}', ago: '{xen:phrase uix_x_ago}' } uix.sticky.stickyMinDist = parseInt('@uix_stickyGlobalMinTriggerDist'); $(document).ready(function(){ try { <xen:if is="@uix_nodeStyle == 3"> audentio.grid.parse('{xen:raw $uix_nodeLayouts}'); <xen:include template="uix_grid_sizeListeners_js" /> </xen:if> <xen:if is="@uix_postPagination"> audentio.pagination.enabled = true; <xen:if is="@uix_postPaginationPos == 0"> audentio.grid.parentEle = 'navigation'; <xen:elseif is="@uix_postPaginationPos == 1" /> audentio.grid.parentEle = 'userBar'; </xen:if> audentio.pagination.outOfPhrase = '{xen:phrase uix_x_out_of_y, 'x=<span id="audentio_postPaginationCurrent" class="uix_postPagination_x"></span>', 'y=<span id="audentio_postPaginationTotal" class="uix_postPagination_y"></span>'}'; audentio.pagination.enterIndexPhrase = '{xen:phrase uix_enter_index}'; audentio.pagination.offset = parseInt('@uix_postPaginationOffset'); </xen:if> uix.initFunc(); } catch (err) { uix.catchJsError(err); } }); } catch (err) { uix.catchJsError(err); } </script> <xen:if is="@uix_enableBackstretch && @uix_backstretchImages"> <script src="{$javaScriptSource}/audentio/{$uix_jsPathUsed}/backstretch.min.js?_v={$xenOptions.jsVersion}_@uix_version"></script> <script> $(document).ready(function() { var backstretchImages = [@uix_backstretchImages]; function shuffle(array) { var m = array.length, t, i; // While there remain elements to shuffle… while (m) { // Pick a remaining element… i = Math.floor(Math.random() * m--); // And swap it with the current element. t = array[m]; array[m] = array; array = t; } return array; } backstretchImages = shuffle(backstretchImages); $<xen:if is="@uix_backstretchSelector">("@uix_backstretchSelector")</xen:if>.backstretch(backstretchImages, { fade: @uix_backstretchFade, duration: @uix_backstretchDuration }); }); </script> </xen:if> [/CODE] [/QUOTE]
Insérer les citations…
Vérification
Publier la réponse
Forums
Forums généraux
Informatique
Développement
Questions, aides et recherches
Résolus
Impossible d'installer FontAwesome
Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
Acceptez
En savoir plus.…
Haut