Posted 13 мая, 201212 yr comment_4213 Установил пару скинов(Cielo, light, Caja) на свой локальный форум. Все нормально, но если отключить интернет, форум грузится полчаса. Выяснилось что скин ломится в интернет чтоб подгрузить оттуда шрифты и другое. В результате использовать такие прекрасные скины на локальном форуме невозможно Пытался изменить в скине адрес откуда должны грузиться шрифты, ява.. и разместить на той же машине что и форум, но не вышло Может поможете? Или есть уже готовое решение? Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/ Share on other sites Больше вариантов
13 мая, 201212 yr comment_4215 Установил пару скинов(Cielo, light, Caja) на свой локальный форум. Все нормально, но если отключить интернет, форум грузится полчаса. Выяснилось что скин ломится в интернет чтоб подгрузить оттуда шрифты и другое. В результате использовать такие прекрасные скины на локальном форуме невозможно Пытался изменить в скине адрес откуда должны грузиться шрифты, ява.. и разместить на той же машине что и форум, но не вышло Может поможете? Или есть уже готовое решение? А где именно меняли? Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4215 Share on other sites Больше вариантов
13 мая, 201212 yr Author comment_4218 globalTemplate искал по google нашел например вот что: <link href='__fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>[/CODE] Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4218 Share on other sites Больше вариантов
13 мая, 201212 yr comment_4220 Меняйте на полный адрес. Создайте в корне форума папку, скажем, InternetFiles, в нее все положите (шрифты, JS и прочее). Потом в globalTemplate пишите так: http://ваш_адрес.ru/InternetFiles/файл.расширение [/CODE] Если не заработает - посмотрите исходный код вашей страницы и посмотрите на ссылки на файлы в нем. Попробуйте перейти по этим ссылкам, если файл откроется - проблема в кэше браузера. Обновите страницу нажатием на F5 (это удаляет кэш страницы и загружает ее полностью заново). Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4220 Share on other sites Больше вариантов
13 мая, 201212 yr Author comment_4226 Такую ссылку я могу заменить https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js Но такую <link href='__fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'> [/code] Не представляю как заменить. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4226 Share on other sites Больше вариантов
13 мая, 201212 yr comment_4228 Качаем все яваскрипты и шрифты к себе в папку стиля и подключаем всё через локалку. Например, при выборе шрифта в Google Web Fonts, есть возможность подключить шрифт в css файле, что и нужно сделать. Url до папки изображений в globalTemplate выглядит так: {$this->settings['img_url']} [/CODE] Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4228 Share on other sites Больше вариантов
13 мая, 201212 yr Author comment_4243 Ни одного изображения нет с гугла. Не могу найти строчку https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js[/CODE] Остальные заменил. Шрифт не подгружается, используется стандартный. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4243 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4256 Шрифт не подгружается, используется стандартный. Посмотри в другом браузере. Не могу найти строчку Как не можешь? Где? в globalTemplate? Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4256 Share on other sites Больше вариантов
14 мая, 201212 yr Author comment_4277 Где только не искал. В globalTemplate в первую очередь искал Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4277 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4280 Посмотри тогда в Глобальные --> includeJS Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4280 Share on other sites Больше вариантов
14 мая, 201212 yr Author comment_4284 Я там уже заменил 4 строчки, но там нет именно этой строчки. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4284 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4285 Значит плохо искал, эта строчка 100% должна находиться в globalTemplate! Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4285 Share on other sites Больше вариантов
14 мая, 201212 yr Author comment_4332 Вот текст. Может вы найдете <php> if( !class_exists('Platform') ) require_once IPS_PUBLIC_PATH . '/style_images/' . $this->registry->getClass('output')->skin['set_image_dir'] . '/_php/loader.php'; </php> <!DOCTYPE html> <html lang="en" <if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE || $this->settings['fbc_appid']"> xmlns:fb="__www.facebook.com/2008/fbml"</if>> <head> {parse expression="Platform::javascripts()"} <meta charset="{$this->settings['gb_char_set']}" /> <title>{$header_items['title']}<if test="pagenumberintitle:|:$header_items['page']"> {$this->lang->words['page_title_page']} {$header_items['page']}</if></title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' /> <link rel="image_src" href='{$this->settings['meta_imagesrc']}' /> <script type='text/javascript'> //<![CDATA[ jsDebug = {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */ USE_RTE = 1; DISABLE_AJAX = parseInt({$this->settings['disable_text_ajax']}); /* Disables ajax requests where text is sent to the DB; helpful for charset issues */ inACP = false; var isRTL = false; var rtlIe = ''; var rtlFull = ''; //]]> </script> <link href='/inetfls/cielo/css?family=Lato:400,700' rel='stylesheet' type='text/css'> {parse template="includeCSS" group="global" params="$css"} {parse template="includeMeta" group="global" params="$metaTags"} <meta property="og:title" content="{$this->registry->output->encodeMetaTagContent( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/> <meta property="og:site_name" content="{$this->registry->output->encodeMetaTagContent( $this->settings['board_name'] )}"/> <meta property="og:image" content="{$this->settings['meta_imagesrc']}"/> <meta property="og:type" content="article" /> <if test="isLargeTouch:|:$this->registry->output->isLargeTouchDevice()"> <!-- <meta name="viewport" content="width=device-width;"> --> </if> <if test="isSmallTouch:|:$this->registry->output->isSmallTouchDevice()"> <meta name="viewport" content="width=1024px"> </if> <script type='text/javascript' src="{style_images_url}/js/ipbforumskins.js"></script> {parse template="includeJS" group="global" params="$jsModules"} {parse template="includeFeeds" group="global" params="$documentHeadItems"} {parse template="includeRTL" group="global" params=""} {parse template="includeVars" group="global" params="$header_items"} </head> <body id='ipboard_body' class="{parse expression="Platform::state()->css_classes()"}"> <p id='content_jump' class='hide'><a href='#j_content' title='{$this->lang->words['jump_to_content']}' accesskey='m'>{$this->lang->words['jump_to_content']}</a></p> <div id='ipbwrapper'> <!-- ::: BRANDING STRIP: Logo and search box ::: --> <div id='branding'><div id='branding_halo'><div id='branding_left'><div id='branding_right'> <div class="width clearfix"> <div id='logo'> <if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']"> {parse template="overwriteHeader" group="{current_app}_global" params=""} <else /> {parse template="defaultHeader" group="global" params=""} </if> </div> <!-- ::: APPLICATION TABS ::: --> <div id='primary_nav' class='clearfix'> <ul class='ipsList_inline' id='community_app_menu'> <if test="showhomeurl:|:$this->settings['home_url'] AND $this->settings['home_name']"> <li id='nav_home' class='left'><a href='{$this->settings['home_url']}' title='{$this->lang->words['homepage_title']}' rel="home"><img src="{style_images_url}/_custom/navIcon.png" class='navIcon' alt='' /><br />{$this->settings['home_name']}</a></li> </if> <if test="hasCustomPrimaryNavigation:|:!empty($header_items['primary_navigation_menu'])"> {$header_items['primary_navigation_menu']} <else /> <if test="applicationsloop:|:is_array($header_items['applications']) AND count($header_items['applications'])"> <foreach loop="applications:$header_items['applications'] as $data"> <if test="showingapp:|:$data['app_show']"> {parse variable="appActive" default="" oncondition="$data['app_active']" value="active"} <li id='nav_app_{$data['app_dir']}' class="left {parse variable="appActive"}"><a href='{parse url="{$data['app_link']}" seotitle="{$data['app_seotitle']}" template="{$data['app_template']}" base="{$data['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle($data['app_dir']) )"}'><img src="{style_images_url}/_custom/navIcon.png" class='navIcon' alt='' /><br />{IPSLib::getAppTitle($data['app_dir'])}</a></li> </if> </foreach> </if></if> <li class='left'> <a href="/img" onclick="window.open('/img'); return false" title="Размещение изображений"> <img src="{style_images_url}/_custom/navIcon.png" class='navIcon' alt='' /><br />Фотохостинг</a> </li> <li id="nav_more" data-dropdown> <a href="#"><img src="{style_images_url}/_custom/navIcon.png" class='navIcon' alt='' /><br />Еще <img src="{style_images_url}/_custom/dropdown_arrow.png" alt="" /></a> <ul> <li><a href="__www.twitter.com/username"><img src="{style_images_url}/_custom/icon-social_twitter.png" alt="" /> Follow Us on Twitter</a></li> <li><a href="__www.facebook.com/page"><img src="{style_images_url}/_custom/icon-social_facebook.png" alt="" /> Like Us on Facebook</a></li> <li><a href="__www.youtube.com/page"><img src="{style_images_url}/_custom/icon-social_youtube.png" alt="" /> Subscribe on Youtube</a></li> </ul> </li> <li id='nav_other_apps' style='display: none'> <a href='#' class='ipbmenu' id='more_apps'>{$this->lang->words['more_apps']} <img src='{$this->settings['img_url']}/useropts_arrow.png' /></a> </li> </ul> <script type='text/javascript'> // if( $('primary_nav') ){ ipb.global.activateMainMenu(); } </script> </div> </div> </div></div></div></div> <div id="bg-area"> <div class="topshadow"></div> <div id='userBarWrapper'><div class='width'> <div id='user_bar' class='clearfix'> <if test="memberbox:|:$this->memberData['member_id']"> <div id='user_navigation' class='logged_in'> <ul class='ipsList_inline'> <li><a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> <img src='{$this->memberData['pp_small_photo']}' alt="{$this->memberData['members_display_name']}{$this->lang->words['users_photo']}" class='user_photo' /> </a></li> <li><a id='user_link' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']} <span id='user_link_dd'></span></a></li> <if test="showInboxNotify:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])"> <if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0"> <li><a data-clicklaunch="getInboxList" id='inbox_link' href='{parse url="app=members&module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><img src="{style_images_url}/clear.gif" alt="" /><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if> </a></li> </if> <li><a data-clicklaunch="getNotificationsList" id='notify_link' href="{parse url="app=core&module=usercp&area=notificationlog" base="public"}" title="{$this->lang->words['notifications_at_the_top']}"><img src="{style_images_url}/clear.gif" alt="" /><if test="notifications:|:$this->memberData['notification_cnt']"><span class='ipsHasNotifications'>{$this->memberData['notification_cnt']}</span></if> </a></li> </if> <li><a href="{parse url="app=core&module=usercp" base="public"}"><img src="{style_images_url}/_custom/icon_settings.png" alt="" /> {$this->lang->words['your_cp']}</a></li> <li><a href="{parse url="app=core&module=global&section=login&do=logout&k={$this->member->form_hash}" base="public"}"><img src="{style_images_url}/_custom/icon_logout.png" alt="" /> {$this->lang->words['log_out']}</a></li> <if test="authenticating:|:$this->memberData['member_group_id'] == $this->settings['auth_group']"> <li><a href="{parse url="app=core&module=global&section=register&do=reval" base="public"}" title='{$this->lang->words['resend_val']}'>{$this->lang->words['resend_val']}</a></li> </if> </ul> </div> <!-- ::: USER DROP DOWN MENU ::: --> <div id='user_link_menucontent' class='ipsHeaderMenu clearfix boxShadow' style='display: none'> <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'> <img src='{$this->memberData['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium photo' /> </a> <div class='left'> <if test="canUpdateStatus:|:$this->registry->getClass('memberStatus')->canCreate( $this->memberData ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])"> <form id='statusForm' action='{$this->settings['base_url']}app=members&module=profile&section=status&do=new&k={$this->member->form_hash}&id={$this->memberData['member_id']}' method='post'> <input type='text' id='statusUpdateGlobal' name='content' class='input_text' style='width: 97%' /><br /> <input type='submit' id='statusSubmitGlobal' class='ipsButton_secondary' value='{$this->lang->words['global_update_status']}' /> <if test="update:|:(IPSLib::twitter_enabled() OR IPSLib::fbc_enabled() ) AND ( $this->memberData['fb_uid'] OR $this->memberData['twitter_id'] )"> <if test="updateTwitter:|:IPSLib::twitter_enabled() AND ( $this->memberData['twitter_id'] )"><input type='checkbox' id='su_TwitterGlobal' value='1' name='su_Twitter' /> <label for='su_TwitterGlobal' class='desc ipsType_smaller'>Twitter</label></if> <if test="updateFacebook:|:IPSLib::fbc_enabled() AND ( $this->memberData['fb_uid'] )"> <input type='checkbox' id='su_FacebookGlobal' value='1' name='su_Facebook' /> <label for='su_FacebookGlobal' class='desc ipsType_smaller'>Facebook</label></if> </if> <br /> <hr /> </form> </if> <ul id='links'> <li id='user_profile'><a href='{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}' title='{$this->lang->words['your_profile']}'>{$this->lang->words['my_profile']}</a></li> <li id='user_ucp'><a href="{parse url="app=core&module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}">{$this->lang->words['your_cp']}</a></li> <li id='user_content'><a href="{parse url="app=core&module=search&do=user_activity&mid={$this->memberData['member_id']}" base="public"}" title="{$this->lang->words['my_content_link']}">{$this->lang->words['my_content_link']}</a></li> <if test="userLikeLink:|:count( IPSLib::getEnabledApplications('like') )"> <li id='user_likes'><a href='{parse url="app=core&module=search&do=followed" base="public"}' title='{$this->lang->words['your_likes']}'>{$this->lang->words['your_likes']}</a></li> </if> <if test="nobbyNoMates:|:$this->settings['friends_enabled'] && $this->memberData['g_can_add_friends']"> <li id='user_friends'><a href='{parse url="app=members&module=profile&section=friends&do=list" base="public"}' title="{$this->lang->words['manage_friends']}" class='manage_friends'>{$this->lang->words['manage_friends']}</a></li> </if> <li id='user_enemies'><a href='{parse url="app=core&module=usercp&tab=core&area=ignoredusers" base="public"}' title="{$this->lang->words['manage_ignored_users']}" class='manage_enemies'>{$this->lang->words['manage_ignored_users']}</a></li> <if test="bloglink:|:IPSLib::appIsInstalled('blog')"> <li id='user_blog'><a href="{parse url="app=blog&module=manage" base="public" template="manageblog" seotitle="false"}">{$this->lang->words['manage_blogs']}</a></li> </if> <if test="pmLink:|:$this->memberData['members_disable_pm'] != 2"> <li id='user_pm'><a href="{parse url="app=members&module=messaging" base="public"}">{$this->lang->words['user_dd_go_pm']}</a></li> </if> <if test="gallerylink:|:$this->memberData['has_gallery'] AND IPSLib::appIsInstalled('gallery')"> <li id='user_gallery'><a href='{parse url="app=gallery&user={$this->memberData['member_id']}" base="public" seotitle="{$this->memberData['members_seo_name']}" template="useralbum"}' title="{$this->lang->words['go_to_my_gallery']}">{$this->lang->words['my_gallery']}</a></li> </if> <if test="nexuslink:|:IPSLib::appIsInstalled('nexus')"> <li id='user_nexus'><a href='{parse url="app=nexus&module=clients" base="public"}' title="{$this->lang->words['client_area']}">{$this->lang->words['client_area']}</a></li> </if> </ul> </div> </div> <else /> <div id='user_navigation' class='not_logged_in'> <ul class='ipsList_inline'> <li> <span class='services'> <if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')"> <a href='{parse url="app=core&module=global&section=login&serviceClick=facebook" base="public"}'>{parse replacement="lim_facebook"}</a> </if> <if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')"> <a href='{parse url="app=core&module=global&section=login&serviceClick=twitter" base="public"}'>{parse replacement="lim_twitter"}</a> </if> <if test="limWindows:|:IPSLib::loginMethod_enabled('live')"> <a href='{parse url="app=core&module=global&section=login&do=process&use_live=1&auth_key={$this->member->form_hash}" base="public"}'>{parse replacement="lim_windows"}</a> </if> </span> <a href='{parse url="app=core&module=global&section=login" base="public"}' title='{$this->lang->words['sign_in']}' id='sign_in'><img src="{style_images_url}/user_login.png" alt="" /> {$this->lang->words['sign_in']}</a> </li> <li> <a href="{parse url="app=core&module=global&section=register" base="public"}" title='{$this->lang->words['register']}' id='register_link'><img src="{style_images_url}/user_register.png" alt="" /> {$this->lang->words['register']}</a> </li> </ul> </div> </if> {parse expression="Platform::template()->view_picker()"} <if test="canSearch:|:$this->memberData['g_use_search']">{parse template="quickSearch" group="global" params=""}</if> </div> </div></div> <div class="width"> <!-- ::: TOP BAR: Sign in / register or user drop down and notification alerts ::: --> <if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])"> <div id='admin_bar'> <if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']"> <ul class='ipsList_inline right'> <li> <a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a> </li> </ul> </if> <ul class='ipsList_inline left'> <li><a href="{parse url="app=core&module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link']}'>{$this->lang->words['gbl_modcp_link']}</a></li> <if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0"> <li class='active'> <a href="{parse url="app=core&module=reports&do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a> </li> </if> </ul></div> </if> <!-- ::: MAIN CONTENT AREA ::: --> <div id='content' class='clearfix'> <!-- ::: NAVIGATION BREADCRUMBS ::: --> <div id='secondary_navigation' class='clearfix'> <ol class='breadcrumb top ipsList_inline left' id='breadcrumb'> <php>$this->did_first = 0;</php> <if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb" <if test="!$this->did_first">class='first'</if>> <a href='{parse url="act=idx" seotitle="false" base="public"}' itemprop="url"> <span itemprop="title">{$this->settings['board_name']}</span> </a> </li> <if test="didfirstnav:|:$this->did_first=1"></if> </if> <foreach loop="navigation:$items['navigation'] as $idx => $data"> <li itemscope itemtype="__data-vocabulary.org/Breadcrumb" <if test="!$this->did_first">class='first'</if>> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']} {$data[0]}' itemprop="url"></if><span itemprop="title">{$data[0]}</span><if test="closenavigationlink:|:$data[1]"></a></if> </li> <if test="forsuredidfirstnav:|:$this->did_first=1"></if> </foreach> </ol> <ul id='secondary_links' class='ipsList_inline right'> <if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']"><li><a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url="app=forums&module=extras&section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title']">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></li></if> <li><a href='{parse url="app=core&module=search&do=viewNewContent&search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li> <if test="showQuickNav:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline']) && $this->memberData['g_view_board']"> <li><a href="{parse url="app=core&module=global&section=navigation&inapp={parse expression="IPS_APP_COMPONENT"}" base="public"}" rel="quickNavigation" accesskey='9' id='quickNavLaunch' title="{$this->lang->words['launch_quicknav']}"><img src="{style_images_url}/icon_quicknav.png" alt="" /></a></li> </if> </ul> </div> <!-- ::: CONTENT ::: --> <noscript> <div class='message error'> <strong>{$this->lang->words['gbl_no_js_title']}</strong> <p>{$this->lang->words['gbl_no_js']}</p> </div> <br /> </noscript> <if test="hasHeaderAd:|:$items['adHeaderCode']"><div class='ipsAd'>{$items['adHeaderCode']}</div></if> <if test="mainpageContent:|:$html">{$html}</if> <if test="hasFooterAd:|:$items['adFooterCode']"><div class='ipsAd'>{$items['adFooterCode']}</div></if> <ol class='breadcrumb bottom ipsList_inline left clearfix clear'> <if test="count( $items['navigation'] )"> <php>$this->did_first_bottom = 0;</php> <if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'"> <li><a href='{parse url="act=idx" seotitle="false" base="public"}'>{$this->settings['board_name']}</a></li> <if test="didfirstnav:|:$this->did_first_bottom=1"></if> </if> <foreach loop="navigation:$items['navigation'] as $idx => $data"> <li><if test="didfirstappnow:|:$this->did_first_bottom"><span class='nav_sep'>{parse replacement="f_nav_sep"}</span></if> <if test="navigationlink:|:$data[1]"><a href='{parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to']} {$data[0]}'> </if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li> <if test="forsuredidfirstnav:|:$this->did_first_bottom=1"></if> </foreach> <else /> <li> </li> </if> </ol> </div> </div></div> <div class="downthere"> <div class="width"> <!-- ::: FOOTER (Change skin, language, mark as read, etc) ::: --> <div id='footer_utilities' class='clearfix clear'> <a rel="nofollow" href='#top' id='backtotop' title='{$this->lang->words['go_to_top']}'><img src='{$this->settings['img_url']}/top.png' alt='' /></a> {$footer_items['copyright']} <ul class='ipsList_inline left'> <li> <img src='{$this->settings['img_url']}/feed.png' alt='{$this->lang->words['rss_feed']}' id='rss_feed' class='clickable' /> </li> <if test="skinchanger:|: ! $this->member->is_not_human && count($footer_items['skin_chooser']) > 1"> <if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']"> <li id='useragent_msg'> {$this->lang->words['skin_browser_set']} <a href='#' data-clicklaunch='changeSkin' data-skinid='unlockUserAgent'>{$this->lang->words['override_browser_theme']}</a> </li> <else /> <if test="isTouchDevice:|:$this->registry->output->isTouchDevice()"> <li> <a href='#' data-clicklaunch='changeSkin' data-skinid='setAsMobile'>{$this->lang->words['set_mobile_theme']}</a> </li> </if> <li> <a rel="nofollow" id='new_skin' href='#'>{$this->lang->words['change_theme']}</a> <ul id='new_skin_menucontent' class='ipbmenu_content with_checks' style='display: none'> <foreach loop="$footer_items['skin_chooser'] as $skin"> <li <if test="$skin['selected']">class='selected'</if>> <a href='#' data-clicklaunch='changeSkin' data-skinid='{$skin['id']}'>{$skin['title']}</a> </li> </foreach> </ul> </li> </if> </if> <if test="langchooser:|: ! $this->member->is_not_human && count( $footer_items['lang_chooser']['options'] ) > 1"> <li> <a rel="nofollow" href='#' id='new_language'>{$footer_items['lang_chooser']['default']}</a> <ul id='new_language_menucontent' class='ipbmenu_content with_checks' style='display: none'> <foreach loop="$footer_items['lang_chooser']['options'] as $lang"> <li <if test="$lang['selected']">class='selected'</if>> <a href="{parse url="{$this->settings['query_string_formatted']}&k={$this->member->form_hash}&setlanguage=1&langurlbits={$this->settings['query_string_safe']}&cal_id={$this->request['cal_id']}&langid={$lang['id']}" base="public"}">{$lang['title']}</a> </li> </foreach> </ul> </li> </if> <if test="markRead:|: ! $this->member->is_not_human"> <li> <a rel="nofollow" id='mark_all_read' href="{parse url="app=forums&module=forums&section=markasread&marktype=all&k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['mark_all_as_read']}'>{$this->lang->words['mark_board_as_read']}</a> <ul id='mark_all_read_menucontent' class='ipbmenu_content' style='display: none'> <foreach loop="$footer_items['mark_read_apps'] as $app => $appData"> <li> <if test="hideRcForPerms:|:$this->memberData['showReportCenter'] OR $app != 'core'"> <a href="{parse url="app=forums&module=forums&section=markasread&marktype=app&markApp={$app}&k={$this->member->form_hash}" base="public"}"><if test="isCoreRC:|:$app=='core'">{$this->lang->words['markread_rc_link']}<else />{IPSLib::getAppTitle($app)}</if></a> </if> </li> </foreach> <li> <a href="{parse url="app=forums&module=forums&section=markasread&marktype=all&k={$this->member->form_hash}" base="public"}"><strong>{$this->lang->words['mark_all_as_read']}</strong></a> </li> </ul> </li> </if> <li> <a href="{parse url="app=core&module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{$this->lang->words['sj_help']}</a> </li> </ul> </div> {parse replacement="skinlink"} <if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']"> <div id='ipsDebug_footer'> <strong>{$this->lang->words['time_now']}</strong> {$footer_items['time']} <if test="lastvisit:|:$this->memberData['member_id'] AND $this->memberData['last_visit']"><strong>{$this->lang->words['you_last_visit']}</strong> {parse date="$this->memberData['last_visit']" format="short"}</if> <strong>{$this->lang->words['stat_exec']}</strong> {$stats['ex_time']} <if test="isfloat:|:is_float($stats['ex_time'])">{$this->lang->words['stats_sec']}</if> <strong>{$this->lang->words['stat_load']}</strong> {$stats['server_load']} <strong>{$this->lang->words['stat_queries']}</strong> {$stats['queries']} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&debug=1" base="public"}'></if>{$this->lang->words['stats_queries']}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if> <strong>{$this->lang->words['stat_gzip']}</strong> {$stats['gzip_status']} </div> </if> </div></div> <div id='stats_div'>{$stats['task']}</div> <if test="includeLightboxDoReal:|:$this->settings['do_include_lightbox_real']"> {parse template="include_lightbox_real" group="global" params=""} </if> </div> {parse expression="Platform::template()->background_picker()"} <div id="background"></div> <div id="background-above"></div> <if test="!$this->memberData['member_id']">{parse template="inlineLogin" group="global" params=""}</if> </body> </html> Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4332 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4333 Смотрите в шаблонах с названиями: {parse template="includeJS" group="global" params="$jsModules"} {parse template="includeFeeds" group="global" params="$documentHeadItems"} {parse template="includeRTL" group="global" params=""} {parse template="includeVars" group="global" params="$header_items"} [/CODE] includeJS, includeFeeds и те два. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4333 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4338 Название конкретного стиля пожалуйста, сейчас всё найдём.. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4338 Share on other sites Больше вариантов
14 мая, 201212 yr Author comment_4343 Cielo includeFeeds <if test="minifyjs:|:$this->settings['use_minify']"> <if test="remoteloadjs:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="usehttpsprototype:|:$this->registry->output->isHTTPS">https<else />http</if>://mycuk.net/inetfls/ajax/libs/prototype/1.7/prototype.js'></script> <script type='text/javascript' src='<if test="usehttpsscriptaculous:|:$this->registry->output->isHTTPS">https<else />http</if>://mycuk.net/inetfls/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> <else /> <script type='text/javascript' src='{$this->settings['js_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&g=js'></script> </if> <script type='text/javascript' src='{$this->settings['js_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&charset={$this->settings['gb_char_set']}&f={parse expression="PUBLIC_DIRECTORY"}/js/ipb.js,cache/lang_cache/{$this->lang->lang_id}/ipb.lang.js,{parse expression="PUBLIC_DIRECTORY"}/js/ips.hovercard.js,{parse expression="PUBLIC_DIRECTORY"}/js/ips.quickpm.js<if test="hasjsmodules:|:count($jsModules)">,{parse expression="PUBLIC_DIRECTORY"}/js/ips.{parse expression="implode('.js,' . PUBLIC_DIRECTORY . '/js/ips.', array_unique( array_keys( $jsModules ) ) )"}.js</if>' charset='{$this->settings['gb_char_set']}'></script> <else /> <if test="nominifyremoteloadjs:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="nmusehttpsp:|:$this->registry->output->isHTTPS">https<else />http</if>://mycuk.net/inetfls/ajax/libs/prototype/1.7/prototype.js'></script> <else /> <script type='text/javascript' src='{$this->settings['js_base_url']}js/3rd_party/prototype.js'></script> </if> <script type='text/javascript' src='{$this->settings['js_base_url']}js/ipb.js?ipbv={$this->registry->output->antiCacheHash}&load=quickpm,hovercard,{parse expression="implode(',', array_unique( array_keys( $jsModules ) ) )"}'></script> <if test="nominifyremoteloadjs2:|:$this->settings['remote_load_js']"> <script type='text/javascript' src='<if test="nmusehttpss:|:$this->registry->output->isHTTPS">https<else />http</if>://mycuk.net/inetfls/ajax/libs/scriptaculous/1.8/scriptaculous.js?load=effects,dragdrop,builder'></script> <else /> <script type='text/javascript' src='{$this->settings['js_base_url']}js/3rd_party/scriptaculous/scriptaculous-cache.js'></script> </if> <script type="text/javascript" src='{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/ipb.lang.js' charset='{$this->settings['gb_char_set']}'></script> </if> {parse template="liveEditJs" group="global"} <if test="isLargeTouch:|:$this->registry->output->isLargeTouchDevice()"> <script type="text/javascript" src='{$this->settings['js_base_url']}js/3rd_party/iscroll/iscroll.js'></script> </if> includeRTL <php>$this->isRtlLang = false;</php> <foreach loop="langData:$this->cache->getCache('lang_data') as $data"> <if test="checkrtl:|:intval($this->member->language_id) == intval($data['lang_id'])"> <if test="isrtl:|:$data['lang_isrtl']"> <if test="$this->isRtlLang = true"></if> </if> </if> </foreach> <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl.css' )"> <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css" /> <script type='text/javascript'> var rtlFull = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl.css"; var isRTL = true; </script> <else /> <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl.css' )"> <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl.css" /> <script type='text/javascript'> var rtlFull = "{$this->settings['public_dir']}style_css/ipb_rtl.css"; var isRTL = true; </script> </if> </if> <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/' . $this->registry->output->skin['_csscacheid'] . '/ipb_rtl_ie.css' )"> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css" /> <![endif]--> <script type='text/javascript'> var rtlIe = "{$this->settings['public_dir']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_rtl_ie.css"; </script> <else /> <if test="importrtlcss:|:$this->isRtlLang AND is_file( DOC_IPS_ROOT_PATH . '/' . PUBLIC_DIRECTORY . '/style_css/ipb_rtl_ie.css' )"> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" media="screen" href="{$this->settings['public_dir']}style_css/ipb_rtl_ie.css" /> <![endif]--> <script type='text/javascript'> var rtlIe = "{$this->settings['public_dir']}style_css/ipb_rtl_ie.css"; </script> </if> </if> <if test="hasMemberTopicMax:|:$this->settings['member_topic_avatar_max']"> <!-- Forces topic photo to show without thumb --> <style type='text/css'> .ipsUserPhoto_variable { max-width: {parse expression="intval($this->settings['member_topic_avatar_max'])"}px !important; } <if test="RTLMargin:|:$this->isRtlLang"> .post_body { margin-right: {parse expression="((intval($this->settings['member_topic_avatar_max'] + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max'] + 25 ) )"}px !important; } <else /> .post_body { margin-left: {parse expression="((intval($this->settings['member_topic_avatar_max'] + 25 ) < 185 ) ? 185 : intval($this->settings['member_topic_avatar_max'] + 25 ) )"}px !important; } </if> </style> </if> includeVars <script type='text/javascript'> //<![CDATA[ /* ---- URLs ---- */ ipb.vars['base_url'] = '<if test="$this->registry->output->isHTTPS">{parse expression="str_replace( '__', 'https://', "{$this->settings['js_base']}" )"}<else />{$this->settings['js_base']}</if>'; ipb.vars['board_url'] = '{$this->settings['board_url']}'; ipb.vars['img_url'] = "{$this->settings['img_url']}"; ipb.vars['loading_img'] = '{$this->settings['img_url']}/loading.gif'; ipb.vars['active_app'] = '{$this->registry->getCurrentApplication()}'; ipb.vars['upload_url'] = '{$this->settings['upload_url']}'; /* ---- Member ---- */ ipb.vars['member_id'] = parseInt( {$this->memberData['member_id']} ); ipb.vars['is_supmod'] = parseInt( {parse expression="intval($this->memberData['g_is_supmod'])"} ); ipb.vars['is_admin'] = parseInt( {$this->memberData['g_access_cp']} ); ipb.vars['secure_hash'] = '{$this->member->form_hash}'; ipb.vars['session_id'] = '{$this->member->session_id}'; ipb.vars['twitter_id'] = {parse expression="intval($this->memberData['twitter_id'])"}; ipb.vars['fb_uid'] = <if test="hasFBCHash:|:$this->memberData['fb_token']">{parse expression="intval($this->memberData['fb_uid'])"}<else />0</if>; ipb.vars['auto_dst'] = parseInt( {$this->memberData['members_auto_dst']} ); ipb.vars['dst_in_use'] = parseInt( {$this->memberData['dst_in_use']} ); ipb.vars['is_touch'] = <if test="istl:|:$this->registry->output->isLargeTouchDevice()">'large';<else /><if test="istm:|:$this->registry->output->isSmallTouchDevice()">'small';<else />false;</if></if> ipb.vars['member_group'] = {parse expression="json_encode( array( 'g_mem_info' => $this->memberData['g_mem_info'] ) )"} /* ---- cookies ----- */ ipb.vars['cookie_id'] = '{$this->settings['cookie_id']}'; ipb.vars['cookie_domain'] = '{$this->settings['cookie_domain']}'; ipb.vars['cookie_path'] = '{$this->settings['cookie_path']}'; /* ---- Rate imgs ---- */ ipb.vars['rate_img_on'] = '{$this->settings['img_url']}/star.png'; ipb.vars['rate_img_off'] = '{$this->settings['img_url']}/star_off.png'; ipb.vars['rate_img_rated'] = '{$this->settings['img_url']}/star_rated.png'; /* ---- Uploads ---- */ ipb.vars['swfupload_swf'] = '{parse url="js/3rd_party/swfupload/swfupload.swf" base="public_dir"}'; ipb.vars['swfupload_enabled'] = <if test="canswfupload:|:$this->settings['uploadFormType']">true<else />false</if>; ipb.vars['use_swf_upload'] = ( '{$this->memberData['member_uploader']}' == 'flash' ) ? true : false; ipb.vars['swfupload_debug'] = false; /* ---- other ---- */ ipb.vars['highlight_color'] = "#ade57a"; ipb.vars['charset'] = "{$this->settings['gb_char_set']}"; ipb.vars['seo_enabled'] = {parse expression="intval($this->settings['use_friendly_urls'])"}; <if test="usefurl:|:$this->settings['use_friendly_urls']"> ipb.vars['seo_params'] = {parse expression="json_encode($this->registry->getClass('output')->seoTemplates['__data__'])"}; </if> /* Templates/Language */ ipb.templates['inlineMsg'] = "{$header_items['inlineMsg']}"; ipb.templates['ajax_loading'] = "<div id='ajax_loading'><img src='{$this->settings['img_url']}/ajax_loading.gif' alt='" + ipb.lang['loading'] + "' /></div>"; ipb.templates['close_popup'] = "<img src='{$this->settings['img_url']}/close_popup.png' alt='x' />"; ipb.templates['rss_shell'] = new Template("<ul id='rss_menu' class='ipbmenu_content'>#{items}</ul>"); ipb.templates['rss_item'] = new Template("<li><a href='#{url}' title='#{title}'>#{title}</a></li>"); <if test="$this->memberData['member_id']"> ipb.templates['m_add_friend'] = new Template("<a href='{parse url="app=members&module=profile&section=friends&do=add&member_id=#{id}" base="public"}' title='{$this->lang->words['add_friend']}' class='ipsButton_secondary'>{parse replacement="add_friend"}</a>"); ipb.templates['m_rem_friend'] = new Template("<a href='{parse url="app=members&module=profile&section=friends&do=remove&member_id=#{id}" base="public"}' title='{$this->lang->words['remove_friend']}' class='ipsButton_secondary'>{parse replacement="remove_friend"}</a>"); </if> ipb.templates['autocomplete_wrap'] = new Template("<ul id='#{id}' class='ipb_autocomplete' style='width: 250px;'></ul>"); ipb.templates['autocomplete_item'] = new Template("<li id='#{id}' data-url='#{url}'><img src='#{img}' alt='' class='ipsUserPhoto ipsUserPhoto_mini' /> #{itemvalue}</li>"); ipb.templates['page_jump'] = new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>{$this->lang->words['global_page_jump']}</h3><p class='ipsPad'><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit add_folder' id='#{id}_submit' /></p></div>"); ipb.templates['global_notify'] = new Template("<div class='popupWrapper'><div class='popupInner'><div class='ipsPad'>#{message} #{close}</div></div></div>"); <if test="hasNotification:|:! empty( $header_items['notifications'] )"> ipb.vars['notificationData'] = {$header_items['notifications']}; ipb.templates['notificationTemplate'] = new Template( "<div><h3>#{notify_title}</h3><div class='fixed_inner ipsPad row1'><h4 class='ipsType_sectiontitle'>#{member_PhotoTag} #{title} <span class='ipsType_smaller'>{$this->lang->words['by_ucfirst']} #{member_members_display_name} - #{date_parsed}</span><p class='ipsType_smaller right ipsPad_half'><a href='#{url}'>{parse expression="sprintf( $this->lang->words['global_pm_read_short'], '#{type}' )"}</a></p></h4><p class='ipsPad_half'>#{content}</p></div></div>"); </if> ipb.templates['header_menu'] = new Template("<div id='#{id}' class='ipsHeaderMenu boxShadow'></div>"); <if test="autodst:|:$this->memberData['members_auto_dst'] == 1 AND $this->settings['time_dst_auto_correction']"> ipb.global.checkDST(); </if> Loader.boot(); //]]> </script> Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4343 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4346 Подключение этого яваскрипта происходит из файлика. В папке изображений есть файл _php/Platform/Javascript.php Его тебе и нужно отредактировать :) Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4346 Share on other sites Больше вариантов
14 мая, 201212 yr Author comment_4351 Нашел )) Только шрифты стандартные остались :) Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4351 Share on other sites Больше вариантов
14 мая, 201212 yr comment_4352 Чуть позже напишу как шрифт с локалки подключить! Только имей ввиду, если форум на сервер будешь ставить, шрифты с локалки не подключатся.. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4352 Share on other sites Больше вариантов
15 мая, 201212 yr Author comment_4401 Вроде должны были подключиться, я ведь указал везде пути, разместил шрифты на одном сервере с форумом Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4401 Share on other sites Больше вариантов
15 мая, 201212 yr comment_4403 Вроде должны были подключиться, я ведь указал везде пути, разместил шрифты на одном сервере с форумом Шрифты должны быть доступны по URL. Введите их адрес в адресную строку браузера и проверьте, откроются ли они. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4403 Share on other sites Больше вариантов
15 мая, 201212 yr Author comment_4404 Разумеется проверял, качаются Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4404 Share on other sites Больше вариантов
15 мая, 201212 yr comment_4405 Разумеется проверял, качаются А сами адреса меняли в шаблоне? Если да, то кэш обновляли? Форума, разумеется. Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4405 Share on other sites Больше вариантов
15 мая, 201212 yr comment_4406 Посмотри с другого браузера Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4406 Share on other sites Больше вариантов
15 мая, 201212 yr Author comment_4419 Мдя Ребята, я все это делал, можно было не спрашивать. -адреса поменял на свои везде, где нашел, проверил ссылки, обновил все кеши, установил специально для проверки браузеры Опера и Хром Link to comment https://ipbmafia.ru/topic/874-skiny-i-internet/?&do=findComment&comment=4419 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.