NaSk1lle Posted January 16, 2013 Report Share Posted January 16, 2013 Всем привет. Интересует как вообще адаптируют стили под новые версии ipb? Какие изменение вносят и т.п. Буду признателен если кто нибудь поделится. Link to comment Share on other sites More sharing options...
D1gaTel Posted January 17, 2013 Report Share Posted January 17, 2013 Тоже интересует этот вопрос.. Link to comment Share on other sites More sharing options...
D1gaTel Posted January 17, 2013 Report Share Posted January 17, 2013 Нужно хотя бы адаптировать цитаты.. Link to comment Share on other sites More sharing options...
sanello Posted January 18, 2013 Report Share Posted January 18, 2013 Нужно хотя бы адаптировать цитаты.. В файле шаблона ipb_common.css заменить div.blockquote на blockquote.ipsBlockquote P.S. Интересует добавление функционала лучшего ответа в шаблон, в стандартном копаться всё никак времени нет D1gaTel 1 Link to comment Share on other sites More sharing options...
D1gaTel Posted January 18, 2013 Report Share Posted January 18, 2013 В файле шаблона ipb_common.css заменить div.blockquote на blockquote.ipsBlockquote P.S. Интересует добавление функционала лучшего ответа в шаблон, в стандартном копаться всё никак времени нет Спасибо! Хоть что-то Link to comment Share on other sites More sharing options...
Respected Posted January 18, 2013 Report Share Posted January 18, 2013 P.S. Интересует добавление функционала лучшего ответа в шаблон, в стандартном копаться всё никак времени нет Ну держи, раз так хочешь Темы --> topicViewTemplate Найти: //<![CDATA[ ipb.topic.inSection = 'topicview'; ipb.topic.topic_id = {$topic['tid']}; ipb.topic.forum_id = {$forum['id']}; ipb.topic.start_id = {parse expression="intval($this->request['st'])"}; ipb.topic.topPid = 0; ipb.topic.counts = { postTotal: {parse expression="intval($topic['posts']+1)"}, curStart: ipb.topic.start_id, perPage: {parse expression="intval($this->settings['display_max_posts'])"} }; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = {$forum['id']}; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = {$topic['tid']}; <if test="canDeleteUrls:|:!$this->member->is_not_human"> // Delete stuff set up ipb.topic.deleteUrls['hardDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate§ion=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&p=#{pid}" ); ipb.topic.deleteUrls['softDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate§ion=moderate&do=postchoice&tact=sdelete&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}&selectedpids[#{pid}]=#{pid}&pid=#{pid}" ); </if> ipb.templates['post_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['comment_action_count']} </span><select id='tactInPopup' class='input_select'><option value='approve'>{$this->lang->words['cpt_approve']}</option><option value='delete'>{$this->lang->words['cpt_hide']}</option><option value='sundelete'>{$this->lang->words['cpt_undelete']}</option><option value='deletedo'>{$this->lang->words['cpt_delete']}</option><option value='merge'>{$this->lang->words['cpt_merge']}</option><option value='split'>{$this->lang->words['cpt_split']}</option><option value='move'>{$this->lang->words['cpt_move']}</option></select> <input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>"); //]]> Заменить на: //<![CDATA[ ipb.topic.inSection = 'topicview'; ipb.topic.topic_id = {$topic['tid']}; ipb.topic.forum_id = {$forum['id']}; ipb.topic.redirectPost = 1; ipb.topic.start_id = {parse expression="$this->registry->getClass('topics')->pageToSt( intval($this->request['page']) )"}; ipb.topic.page_id = {parse expression="intval($this->request['page'])"}; ipb.topic.topPid = 0; ipb.topic.counts = { postTotal: {parse expression="intval($topic['posts']+1)"}, curStart: ipb.topic.start_id, perPage: {parse expression="intval($this->settings['display_max_posts'])"} }; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = {$forum['id']}; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = {$topic['tid']}; <if test="canDeleteUrls:|:!$this->member->is_not_human"> // Delete stuff set up ipb.topic.deleteUrls['hardDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate§ion=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&p=#{pid}" ); ipb.topic.deleteUrls['softDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate§ion=moderate&do=postchoice&tact=sdelete&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}&selectedpids[#{pid}]=#{pid}&pid=#{pid}" ); </if> ipb.topic.modPerms = []; <if test="$this->memberData['g_is_supmod']"> ipb.topic.modPerms['approve'] = 1; ipb.topic.modPerms['delete'] = 1; ipb.topic.modPerms['hide'] = 1; ipb.topic.modPerms['unhide'] = 1; ipb.topic.modPerms['merge'] = 1; ipb.topic.modPerms['split'] = 1; ipb.topic.modPerms['move'] = 1; <else /> <if test="isset( $this->memberData['forumsModeratorData'][ $forum['id'] ] )"> ipb.topic.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['post_q']}; ipb.topic.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_post']}; ipb.topic.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_soft_delete']}; ipb.topic.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_un_soft_delete']}; ipb.topic.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']}; ipb.topic.modPerms['split'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']}; ipb.topic.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']}; </if> </if> ipb.templates['post_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['comment_action_count']} </span><select id='tactInPopup' class='input_select'><option value='approve'>{$this->lang->words['cpt_approve']}</option><option value='delete'>{$this->lang->words['cpt_hide']}</option><option value='sundelete'>{$this->lang->words['cpt_undelete']}</option><option value='deletedo'>{$this->lang->words['cpt_delete']}</option><option value='merge'>{$this->lang->words['cpt_merge']}</option><option value='split'>{$this->lang->words['cpt_split']}</option><option value='move'>{$this->lang->words['cpt_move']}</option></select> <input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>"); //]]> Найти: {$displayData['follow_data']} <if test="linkAvatarOpen:|:!empty($topic['_starter']['member_id']) && $this->memberData['g_mem_info']"> <a href='{parse url="showuser={$topic['_starter']['member_id']}" seotitle="{$topic['_starter']['members_seo_name']}" template="showuser" base="public"}' class='ipsUserPhotoLink'> </if> <img src='{$topic['_starter']['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' /> <if test="linkAvatarclose:|:!empty($topic['_starter']['member_id']) && $this->memberData['g_mem_info']"> </a> </if> Заменить на: <if test="followsismember:|:$this->memberData['member_id']"> {$displayData['follow_data']} </if> {parse template="userSmallPhoto" group="global" params="array_merge( $topic['_starter'], array( '_customClass' => 'ipsUserPhoto_medium' ) )"} Найти: {$this->lang->words['started_by']} <span itemprop="creator">{parse template="userHoverCard" group="global" params="$topic['_starter']"}</span>, <span itemprop="dateCreated">{parse date="$topic['start_date']" format="SHORT"}</span> Заменить на: {$this->lang->words['started_by']} <span itemprop="creator">{parse template="userHoverCard" group="global" params="$topic['_starter']"}</span>, <span itemprop="dateCreated" datetime="{parse date="$topic['start_date']" format="YMD" relative="false"}">{parse date="$topic['start_date']" format="SHORT"}</span> Найти: <if test="topicHasBeenHidden:|:$topic['approved'] == -1"> Добавить выше: <if test="$displayData['best_answer_post_data']"> <br /> <div class='post post_block feature_box'> <if test="canSeeProfiles1:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $displayData['best_answer_post_data']['author'] ) )"> <a itemprop="url" href="{parse url="showuser={$displayData['best_answer_post_data']['author']['member_id']}" template="showuser" seotitle="{$displayData['best_answer_post_data']['author']['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$displayData['best_answer_post_data']['author']['members_display_name']}" class='ipsUserPhotoLink'> </if> <img itemprop="image" src='{$displayData['best_answer_post_data']['author']['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' /> <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $displayData['best_answer_post_data']['author'] ) )"> </a> </if> <div class="ipsBox_withphoto"> <p class='ipsType_sectiontitle'> <span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span> {parse template="userHoverCard" group="global" params="$displayData['best_answer_post_data']['author']"}, <if test="samePageBA:|:isset($post_data[ $displayData['best_answer_post_data']['post']['pid'] ])"> <if test="hasPagesBA:|:$this->request['page']"> <a href='{parse url="showtopic={$topic['tid']}&page={$this->request['page']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a> <else /> <a href='{parse url="showtopic={$topic['tid']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a> </if> <else /> <a href="{parse url="app=forums&module=forums&section=findpost&pid={$displayData['best_answer_post_data']['post']['pid']}" base="public"}">{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a> </if> </p> <p class='ipsPad_top desc'> {$displayData['best_answer_post_data']['post']['post']} <if test="samePageBA2:|:isset($post_data[ $displayData['best_answer_post_data']['post']['pid'] ])"> <if test="hasPagesBA2:|:$this->request['page']"> <a href='{parse url="showtopic={$topic['tid']}&page={$this->request['page']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'> <else /> <a href='{parse url="showtopic={$topic['tid']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'> </if> <else /> <a href="{parse url="app=forums&module=forums&section=findpost&pid={$displayData['best_answer_post_data']['post']['pid']}" base="public"}"> </if> <span class='ipsBadge has_icon ipsBadge_lightgrey'>{$this->lang->words['answer_gotopost']} <img class='icon' src="{$this->settings['img_url']}/right_white_10px.png"></span></a> </p> </div> </div> </if> Найти: <if test="tbdSoftRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_un_soft_delete_topic']"> <a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum['id']}&t={$topic['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&do=sundelete" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_restore']}</a> </if> <if test="tbdRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_topic']"> <a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum['id']}&st={$this->request['st']}&t={$topic['tid']}&auth_key={$this->member->form_hash}&do=08" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary important'>{$this->lang->words['dl_ths_delete']}</a> </if> Заменить на: <if test="tbdSoftRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_un_soft_delete_topic']"> <a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&do=sundelete" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_restore']}</a> </if> <if test="tbdRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_topic']"> <a href='{parse url="app=forums&module=moderate&section=moderate&f={$forum['id']}&page={$this->request['page']}&t={$topic['tid']}&auth_key={$this->member->form_hash}&do=08" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary important'>{$this->lang->words['dl_ths_delete']}</a> </if> Найти: <ul class='ipbmenu_content' id='topic_mod_options_menucontent' style='display:none'> <foreach loop="mod_links:$displayData['mod_links'] as $_mod_link"> <li><a <if test="isDelete:|_mod_link['option'] == '08'"> data-confirmaction="true"</if> href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&_fromTopic=1&do={$_mod_link['option']}" base="public"}" class='modlink_{$_mod_link['option']}'>{$_mod_link['value']}</a></li> </foreach> <if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canQueuePosts( $forum['id'] )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_approve'], $topic['topic_queuedposts'])"}</a></li> </if> <if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_delete_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_approve'], $topic['topic_queuedposts'])"}</a></li> </if> <if test="$this->registry->class_forums->can_Un_SoftDeletePosts( $forum['id'] ) AND $topic['topic_deleted_posts']"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_restore" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_restore'], $topic['topic_deleted_posts'])"}</a></li> </if> <if test="$topic['topic_deleted_posts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_delete_softed" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_softed'], $topic['topic_deleted_posts'])"}</a></li> </if> <if test="mmModOptions:|:is_array( $displayData['multi_mod'] ) AND count( $displayData['multi_mod'] )"> <foreach loop="mm:$displayData['multi_mod'] as $mm_data"> <li><a href="{parse url="app=forums&module=moderate&section=multimod&t={$topic['tid']}&mm_id={$mm_data[0]}" base="public"}">{$mm_data[1]}</a></li> </foreach> </if> </ul> Заменить на: <ul class='ipbmenu_content' id='topic_mod_options_menucontent' style='display:none'> <foreach loop="mod_links:$displayData['mod_links'] as $_mod_link"> <li><a <if test="isDelete:|_mod_link['option'] == '08'"> data-confirmaction="true"</if> href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&do={$_mod_link['option']}" base="public"}" class='modlink_{$_mod_link['option']}'>{$_mod_link['value']}</a></li> </foreach> <if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canQueuePosts( $forum['id'] )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_approve'], $topic['topic_queuedposts'])"}</a></li> </if> <if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_delete_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_approve'], $topic['topic_queuedposts'])"}</a></li> </if> <if test="$this->registry->class_forums->can_Un_SoftDeletePosts( $forum['id'] ) AND $topic['topic_deleted_posts']"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_restore" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_restore'], $topic['topic_deleted_posts'])"}</a></li> </if> <if test="$topic['topic_deleted_posts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )"> <li><a href="{parse url="app=forums&module=moderate&section=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&do=p_delete_softed" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_softed'], $topic['topic_deleted_posts'])"}</a></li> </if> <if test="mmModOptions:|:is_array( $displayData['multi_mod'] ) AND count( $displayData['multi_mod'] )"> <foreach loop="mm:$displayData['multi_mod'] as $mm_data"> <li><a href="{parse url="app=forums&module=moderate&section=multimod&t={$topic['tid']}&mm_id={$mm_data[0]}" base="public"}">{$mm_data[1]}</a></li> </foreach> </if> </ul> Найти: <ul id='rep_filter_menucontent' class='ipbmenu_content with_checks' style='display: none'> <li <if test="optSelectStar:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $this->memberData['_members_cache']['rep_filter'] === '*'">class='selected'</if>> <a href='{parse url="app=forums&module=forums&section=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&st={$this->request['st']}&rep_filter_set=*" base="public"}'>{$this->lang->words['rep_f_all_posts']}</a> </li> <if test="repFilterOptions:|:is_array($this->caches['reputation_levels'])"> <foreach loop="reputation_levels:$this->caches['reputation_levels'] as $k => $v"> <li <if test="optRepFilterSelected:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $v['level_points'] == $this->memberData['_members_cache']['rep_filter']">class='selected'</if>> <a href='{parse url="app=forums&module=forums&section=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&st={$this->request['st']}&rep_filter_set={$v['level_points']}" base="public"}' rel='nofollow'> {$this->lang->words['rep_f_hide']} <strong>{$v['level_points']} {$this->lang->words['rep_f_points']}</strong> </a> </li> </foreach> </if> </ul> Заменить на: <ul id='rep_filter_menucontent' class='ipbmenu_content with_checks' style='display: none'> <li <if test="optSelectStar:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $this->memberData['_members_cache']['rep_filter'] === '*'">class='selected'</if>> <a href='{parse url="app=forums&module=forums&section=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&rep_filter_set=*" base="public"}'>{$this->lang->words['rep_f_all_posts']}</a> </li> <if test="repFilterOptions:|:is_array($this->caches['reputation_levels'])"> <foreach loop="reputation_levels:$this->caches['reputation_levels'] as $k => $v"> <li <if test="optRepFilterSelected:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $v['level_points'] == $this->memberData['_members_cache']['rep_filter']">class='selected'</if>> <a href='{parse url="app=forums&module=forums&section=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&rep_filter_set={$v['level_points']}" base="public"}' rel='nofollow'> {$this->lang->words['rep_f_hide']} <strong>{$v['level_points']} {$this->lang->words['rep_f_points']}</strong> </a> </li> </foreach> </if> </ul> Найти: <if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> Заменить на: <if test="modOptions2:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> Найти: <if test="$this->memberData['auto_track']"> <input type="hidden" name="enabletrack" value="1" /> </if> Заменить на: <if test="$this->memberData['auto_track']"> <input type="hidden" name="enabletrack" value="1" /> <else /> <input type="hidden" name="enabletrack" value="{$topic['_isLiked']}" /> </if> Найти: {parse editor="Post" options="array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'autoSaveKey' => 'reply-' . $topic[tid], 'warnInfo' => 'fastReply', 'modAll' => $topic['_fastReplyModAll'] )"} Заменить на: {parse editor="Post" options="array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'legacyMode' => 'off', 'autoSaveKey' => 'reply-' . $topic[tid], 'warnInfo' => 'fastReply', 'modAll' => $topic['_fastReplyModAll'] )"} Найти: <input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='3' accesskey='s' id='submit_post' /> <input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='0' id='full_compose' /> Заменить на: <input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='50' accesskey='s' id='submit_post' /> <input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='51' id='full_compose' /> Найти: {parse template="editorLoadJs" group="editors" params="$displayData['smilies']"} Заменить на: {parse template="editorLoadJs" group="editors" params="array( 'smilies' => $displayData['smilies'] )"} Найти: {IPSLib::shareLinks( $topic['title'] )} Заменить на: {IPSLib::shareLinks( $topic['title'], $topic['posts'] > 300 ? array( 'skip' => array( 'print', 'download' ) ) : array() )} Темы --> post Найти: <div class='post_block hentry clear clearfix <if test="postQueued:|:$post['post']['_isHidden']">moderated</if>' id='post_id_{$post['post']['pid']}'> Заменить на: <div class='post_block hentry clear clearfix <if test="isSolvedCss:|:$post['post']['_isMarkedAnswered']">solved</if> <if test="postQueued:|:$post['post']['_isHidden']">moderated</if>' id='post_id_{$post['post']['pid']}'> Найти: <if test="userIgnoredLangTwo:|:$this->settings['reputation_enabled'] AND $post['post']['_repignored'] == 1"><div><a href="{parse url="showtopic={$post['post']['topic_id']}&st={$this->request['st']}&rep_filter_set=*&rep_filter=update&secure_key={$this->member->form_hash}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}">{$this->lang->words['post_ignore_reset_rep']}</a></div></if> Заменить на: <if test="userIgnoredLangTwo:|:$this->settings['reputation_enabled'] AND $post['post']['_repignored'] == 1"><div><a href="{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}&rep_filter_set=*&rep_filter=update&secure_key={$this->member->form_hash}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}">{$this->lang->words['post_ignore_reset_rep']}</a></div></if> Найти и удалить: <if test="postModCheckbox:|:$this->memberData['is_mod'] && ! $topic['_isArchived']"> <span class='right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' /> </span> </if> Найти: <span class='post_id right ipsType_small desc blend_links'> <if test="hasPages:|:$this->request['st']"> <a itemprop="replyToUrl" href='{parse url="showtopic={$post['post']['topic_id']}&st={$this->request['st']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> <else /> <a itemprop="replyToUrl" href='{parse url="showtopic={$post['post']['topic_id']}&#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> </if> #{$post['post']['post_count']} </a> </span> Заменить на: <span class='post_id right ipsType_small desc blend_links'> <if test="hasPages:|:$this->request['page']"> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> <else /> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> </if> #{$post['post']['post_count']} <img src='{$this->settings['img_url']}/icon_share.png' class='small' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}' /> </a> </span> Ниже вставить: <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']"> <span class='right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' /> </span> </if> Найти: {$this->lang->words['posted']} <abbr class="published" itemprop="commentTime" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr> Добавить ниже: <if test="isSolvedSausage:|:$post['post']['_isMarkedAnswered']"> <span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span></if> Найти: <a class='ipsButton_secondary' href='{parse url="module=moderate&section=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' onclick='if( !confirm("{$this->lang->words['post_delete_confirm']}") ){ return false; }' >{$this->lang->words['post_delete']}</a> Заменить на: <a class='ipsButton_secondary' href='{parse url="module=moderate&section=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' onclick='if( !confirm("{$this->lang->words['post_delete_confirm']}") ){ return false; }' >{$this->lang->words['post_delete']}</a> Найти: <li class='post_edit'><a href='{parse url="module=post&section=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&st={$this->request['st']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='ipsButton_secondary edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> Заменить на: <li class='post_edit'><a href='{parse url="module=post&section=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='ipsButton_secondary edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> Найти: <li class='top hide'><a href='#ipboard_body' class='top' title='{$this->lang->words['back_top']}'>{$this->lang->words['back_top']}</a></li> Ниже добавить: <if test="$topic['Perms']['canAnswerTopic'] && $post['post']['post_count'] > 1"> <if test="$post['post']['_isMarkedAnswered']"> <if test="$post['post']['_canMarkUnanswered']"> <li><a href="{parse url="module=extras&section=answer&do=unanswer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="unanswer" class='ipsButton_secondary important' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/cross_white_10px.png">{$this->lang->words['topic_mark_unsolved']}</a></li> </if> <else /> <if test="$post['post']['_canAnswer'] && $topic['topic_firstpost'] != $post['post']['pid']"> <li><a href="{parse url="module=extras&section=answer&do=answer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="answer" class='ipsButton_secondary' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/tick_10px.png">{$this->lang->words['topic_mark_solved']}</a></li> </if> </if> </if> Найти: <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li id='del_post_{$post['post']['pid']}' class='post_del'> <a href='{parse url="module=moderate&section=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' class='delete_post' onclick='return false;' >{$this->lang->words['post_delete']}</a> </li> </if> <if test="canHide:|:$post['post']['_softDelete'] && ! $topic['_isArchived']"> <li id='hide_post_{$post['post']['pid']}'> <a href='{parse url="module=moderate&section=moderate&do=postchoice&tact=delete&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' class='hide_post'>{$this->lang->words['post_hide']}</a> </li> </if> Заменить на: <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li id='del_post_{$post['post']['pid']}' class='post_del'> <a href='{parse url="module=moderate&section=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' class='delete_post' onclick='return false;' >{$this->lang->words['post_delete']}</a> </li> </if> <if test="canHide:|:$post['post']['_softDelete'] && ! $topic['_isArchived']"> <li id='hide_post_{$post['post']['pid']}'> <a href='{parse url="module=moderate&section=moderate&do=postchoice&tact=delete&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' class='hide_post'>{$this->lang->words['post_hide']}</a> </li> </if> Найти: <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post&section=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&st={$this->request['st']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> <if test="hasblog:|:$this->settings['blog_allow_bthis'] AND $this->memberData['has_blog'] AND IPSLib::appIsInstalled( 'blog' ) AND $post['post']['_canReply']"> <li> <a href='{parse url="app=blog&blog_this=forums&id1={$this->request['t']}&id2={$post['post']['pid']}" base="public"}'>{$this->lang->words['blog_this']}</a> </li> </if> <if test="canReportPost:|:$topic['_canReport'] and ! $topic['_isArchived']"> <li class='report'> <a href='{parse url="app=core&module=reports&rcom=post&tid={$this->request['t']}&pid={$post['post']['pid']}&st={$this->request['st']}" base="public"}'>{$this->lang->words['report']}</a> </li> <if test="postIsReported:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <li class='report'> <a href="{$this->settings['base_url']}app=core&module=reports&section=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="" /></span> </a> </li> </if> </if> Заменить на: <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post&section=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> <if test="canReportPost:|:$topic['_canReport'] and ! $topic['_isArchived']"> <li class='report'> <a href='{parse url="app=core&module=reports&rcom=post&tid={$this->request['t']}&pid={$post['post']['pid']}&page={$this->request['page']}" base="public"}'>{$this->lang->words['report']}</a> </li> <if test="postIsReported:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <li class='report'> <a href="{$this->settings['base_url']}app=core&module=reports&section=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="" /></span> </a> </li> </if> </if> Список тем форума --> forumIndexTemplate Найти: var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />"; Добавить ниже: ipb.forums.modPerms = []; <if test="$this->memberData['g_is_supmod']"> ipb.forums.modPerms['approve'] = 1; ipb.forums.modPerms['delete'] = 1; ipb.forums.modPerms['hide'] = 1; ipb.forums.modPerms['unhide'] = 1; ipb.forums.modPerms['pin'] = 1; ipb.forums.modPerms['unpin'] = 1; ipb.forums.modPerms['open'] = 1; ipb.forums.modPerms['close'] = 1; ipb.forums.modPerms['move'] = 1; ipb.forums.modPerms['merge'] = 1; <else /> <if test="isset( $this->memberData['forumsModeratorData'][ $forum_data['id'] ] )"> ipb.forums.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['topic_q']}; ipb.forums.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']}; ipb.forums.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_soft_delete']}; ipb.forums.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_un_soft_delete']}; ipb.forums.modPerms['pin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic']}; ipb.forums.modPerms['unpin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']}; ipb.forums.modPerms['open'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['open_topic']}; ipb.forums.modPerms['close'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['close_topic']}; ipb.forums.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['move_topic']}; ipb.forums.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['split_merge']}; </if> </if> Найти: {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"} Заменить на: <if test="hideTopicInTitle:|:$forum_data['_hide_last_date']"> {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => '' )"} <else /> {parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"} </if> Найти: <ul class='ipsList_inline ipsType_small'> <li <if test="ka_last_post:|:$this->request['sort_key'] == 'last_post' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=last_post&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_recent']}</a></li> <li <if test="ka_start_date:|:$this->request['sort_key'] == 'start_date' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=start_date&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_start']}</a></li> <li <if test="ka_replies:|:$this->request['sort_key'] == 'posts' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=posts&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_replies']}</a></li> <li <if test="ka_viewed:|:$this->request['sort_key'] == 'views' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=views&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_views']}</a></li> <li <if test="$this->request['sort_by'] == 'A-Z' or !in_array( $this->request['sort_key'], array( 'last_post', 'start_date', 'posts', 'views' ) )">class='active'</if>><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']}</a></li> </ul> Заменить на: <ul class='ipsList_inline ipsType_small'> <li <if test="ka_last_post:|:$this->request['sort_key'] == 'last_post' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=last_post&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_recent']}</a></li> <li <if test="ka_start_date:|:$this->request['sort_key'] == 'start_date' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=start_date&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_start']}</a></li> <li <if test="ka_replies:|:$this->request['sort_key'] == 'posts' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=posts&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_replies']}</a></li> <li <if test="ka_viewed:|:$this->request['sort_key'] == 'views' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key=views&sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_views']}</a></li> <li <if test="$this->request['sort_by'] == 'A-Z' or !in_array( $this->request['sort_key'], array( 'last_post', 'start_date', 'posts', 'views' ) )">class='active'</if>><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li> <if test="answerLink:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )"> <li <if test="ka_viewed:|:isset($this->request['answered'])">class='active'</if>><a href="#filter_answered_menucontent" id='filter_answered'>{$this->lang->words['tmenu_answered_link']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li> </if> </ul> Найти: <div id='forum_filter_menucontent' class='ipbmenu_content ipsPad' style='display: none'> Добавить выше: <if test="answerMenu:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )"> <ul id='filter_answered_menucontent' class='ipbmenu_content' style='display: none'> <li><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}&answered=true" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_answered']}</a></li> <li><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}&answered=false" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_unanswered']}</a></li> <li><a href='{parse url="showforum={$forum_data['id']}&st={$this->request['st']}&sort_key={$this->request['sort_key']}&sort_by={$this->request['sort_by']}" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_show_all']}</a></li> </ul> <script type='text/javascript'> new ipb.Menu( $('filter_answered'), $('filter_answered_menucontent'), { stopClose: true } ); </script> </if> Найти: 'st': parseInt("{$this->request['st']}"), Заменить на: 'page': parseInt("{$this->request['page']}"), Найти: <if test="usercanpost:|:$forum_data['_user_can_post']"> Заменить на: <if test="bottomusercanpost:|:$forum_data['_user_can_post']"> Link to comment Share on other sites More sharing options...
dzoker Posted January 18, 2013 Report Share Posted January 18, 2013 Здравствуйте. Подскажите пожалуйста как можно этот стиль baugo IP.Board 3.2.x под IP.Board 3.3.x подогнать? Link to comment Share on other sites More sharing options...
egorea1999 Posted January 18, 2013 Report Share Posted January 18, 2013 dzoker, возможно, но за $ Link to comment Share on other sites More sharing options...
dzoker Posted January 18, 2013 Report Share Posted January 18, 2013 Pазве там так много надо правит? Link to comment Share on other sites More sharing options...
HooLIGUN Posted January 18, 2013 Report Share Posted January 18, 2013 Обновил форум до 3.4.1 В инструменатх стиля нашел такую штуку Я так понял это различия в шаблонах,но она почему то не исправляется автоматом,а в ручную там геморно...Что можно придумать? Link to comment Share on other sites More sharing options...
egorea1999 Posted January 18, 2013 Report Share Posted January 18, 2013 HooLIGUN, автоматом можно, но эти стили берутся со стандартного шаблона, так что эффекта ноль dzoker, ну если честно, то да, плюшки прикручивать от нового шаба, могу сделать Link to comment Share on other sites More sharing options...
Respected Posted January 20, 2013 Report Share Posted January 20, 2013 В IP.Board реализована функция поиска различий в шаблонах. Он выводит различия, которые можно поправить только вручную. Автоматизированного способа пока не придумали/реализовали Link to comment Share on other sites More sharing options...
dzoker Posted January 25, 2013 Report Share Posted January 25, 2013 Как именно сравнивать если стиль не ставится на I.P.B - 3.3.x и какие именно файлы нужно сравнивать? Link to comment Share on other sites More sharing options...
AUYKGN Posted January 25, 2013 Report Share Posted January 25, 2013 dzoker, нужно посмотреть для какой версии стиль в описании. Ничего сравнивать не нужно в файлах. Первые вопросы в теме такие смешные... Как адаптируется... Ставится на новую версию IPB и вручную ошибки правятся авторами и потом релиз новой версии скина Link to comment Share on other sites More sharing options...
dzoker Posted January 25, 2013 Report Share Posted January 25, 2013 Стиль - Baugo 3.2.3 а у меня движок IP.Board 3.3.x сам images-baugo.xml загрузить можно но сам стиль baugo-import.xml нет ну вот и как тогда? Link to comment Share on other sites More sharing options...
AUYKGN Posted January 25, 2013 Report Share Posted January 25, 2013 dzoker, где ты такой скачал? Или проблема в твоём форуме. На сайте IPS нету даже. В подвале каком-то секретном делали походу. Link to comment Share on other sites More sharing options...
fzf4n Posted January 28, 2013 Report Share Posted January 28, 2013 Всем добрый день,столкнулся с такой проблемой,когда импортирую шаблон выдает такую ошибку: mySQL query error: INSERT INTO cache_store (`cs_key`,`cs_value`) VALUES('_importSkinContent_','nn n n core.xmln Версия IBP 3.4 Помогите решить данную проблему. Link to comment Share on other sites More sharing options...
Respected Posted January 28, 2013 Report Share Posted January 28, 2013 С поиск. Закрыто! Link to comment Share on other sites More sharing options...
Recommended Posts