Posted 29 марта, 20177 yr comment_125983 Здравствуйте! Подскажите как перенести наоборот как на скрине.
29 марта, 20177 yr comment_125985 BoardIndextemplated найти: <td class='col_c_stats ipsType_small'> <ul> <li><strong>{$this->lang->words['topics']}</strong> {$forum_data['topics']}</li> <li><strong>{$this->lang->words['replies']}</strong> {$forum_data['posts']}</li> </ul> </td> заменить на: <td class='col_c_stats ipsType_small'> <ul> <li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li> <li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li> </ul> </td>
29 марта, 20177 yr Author comment_125986 Не могу найти, вот сам плагин который выводит эту статистику, помогите исправить это. спасибо <?xml version="1.0" encoding="UTF-8"?> <plugin name="Number of topics" version_long="10000" version_human="1.0.0" author="eCig-forum.ru team" website="https://eCig-forum.ru" update_check=""><hooks><hook type="S" class="\IPS\Theme\class_forums_front_index" filename="numberoftopics"><![CDATA[//<?php /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { exit; } class hook343 extends _HOOK_CLASS_ { /* !Hook Data - DO NOT REMOVE */ public static function hookData() { return array_merge_recursive( array ( 'forumRow' => array ( 0 => array ( 'selector' => 'li.ipsDataItem.ipsDataItem_responsivePhoto.ipsClearfix > div.ipsDataItem_stats.ipsDataItem_statsLarge', 'type' => 'replace', 'content' => ' <div class="ipsDataItem_stats eCig_topics_type"> {{if $lastPost}} <dl> {{$countSubTopics = 0;}} {{foreach $forum->children() as $subforum}} {{$countSubTopics += $subforum->topics;}} {{endforeach}} {{$countTopics = $forum->topics + $countSubTopics;}} <dt class="ipsDataItem_stats_type"><span class="ipsType_light">{lang="eCig_topics"}</span> <span class="eCig_topics">{number="$countTopics"}</span></dt> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_type"><span class="ipsType_light">{lang="eCig_posts"}</span> <span class="eCig_topics">{number="$count"}</span></dt> </dl> {{endif}} {{if \IPS\forums\Topic::modPermission( \'unhide\', NULL, $forum ) AND $unapprovedContent = $forum->unapprovedContentRecursive() and ( $unapprovedContent[\'topics\'] OR $unapprovedContent[\'posts\'] )}} <strong class=\'ipsType_warning ipsType_medium\'> <i class=\'fa fa-warning\'></i> {{if $unapprovedContent[\'topics\']}} <a href=\'{$forum->url()->setQueryString( array( \'advanced_search_submitted\' => 1, \'topic_type\' => \'queued_topics\' ) )->csrf()}\' data-ipsTooltip title=\'{lang="queued_topics_badge" pluralize="$unapprovedContent[\'topics\']"}\' class=\'ipsType_blendLinks\'>{$unapprovedContent[\'topics\']}</a> {{else}} <span class=\'ipsType_light\'>0</span> {{endif}} / {{if $unapprovedContent[\'posts\']}} <a href=\'{$forum->url()->setQueryString( array( \'advanced_search_submitted\' => 1, \'topic_type\' => \'queued_posts\' ) )->csrf()}\' data-ipsTooltip title=\'{lang="queued_posts_badge" pluralize="$unapprovedContent[\'posts\']"}\' class=\'ipsType_blendLinks\'>{$unapprovedContent[\'posts\']}</a> {{else}} <span class=\'ipsType_light\'>0</span> {{endif}} </strong> {{endif}} </div> ', ), ), ), parent::hookData() ); } /* End Hook Data */ } ]]></hook></hooks><htmlFiles/><cssFiles><css filename="numberoftopics.css">LmVDaWdfdG9waWNzIHsKICAgIGZvbnQtc2l6ZTogMTVweDsKfQ==</css></cssFiles><jsFiles/><resourcesFiles/><lang><word key="eCig_topics" js="0">Topics:</word><word key="eCig_posts" js="0">Posts:</word></lang><versions/></plugin>
29 марта, 20177 yr comment_125987 <dt class="ipsDataItem_stats_type"><span class="ipsType_light">{lang="eCig_topics"}</span> <span class="eCig_topics">{number="$countTopics"}</span></dt> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_type"><span class="ipsType_light">{lang="eCig_posts"}</span> <span class="eCig_topics">{number="$count"}</span></dt> заменить на: <dt class="ipsDataItem_stats_type"><span class="ipsType_light"></span>{number="$countTopics"} <span class="eCig_topics">{lang="eCig_topics"}</span></dt> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_type"><span class="ipsType_light"></span>{number="$count"} <span class="eCig_topics">{lang="eCig_posts"}</span></dt> двоеточие убирайте в языках либо: <lang><word key="eCig_topics" js="0">Topics:</word><word key="eCig_posts" js="0">Posts:</word></lang> заменить: <lang><word key="eCig_topics" js="0">Topics</word><word key="eCig_posts" js="0">Posts</word></lang>
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.