Posted 1 февраля, 201212 yr comment_55 Это тема поддержки статьи: Горизонтальный профиль пользователя в теме. Здесь вы можете обсудить все вопросы, связанные с этой статьёй. Дата добавления статьи: 02 Февраль 2012 - 03:15 Дата обновления статьи: 02 Февраль 2012 - 03:15 Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/ Share on other sites Больше вариантов
31 октября, 201212 yr comment_13275 не получается обратно сделать, из горизонтального в вертикальный. помогите пожалуйста! Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13275 Share on other sites Больше вариантов
31 октября, 201212 yr Author comment_13276 Какой стиль? Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13276 Share on other sites Больше вариантов
31 октября, 201212 yr comment_13278 concise Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13278 Share on other sites Больше вариантов
31 октября, 201212 yr Author comment_13279 Отмени изменения в шаблонах 1) Глобальные --> userInfoPane 2) Topic View --> post 3) Topic View --> topicViewTemplate Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13279 Share on other sites Больше вариантов
31 октября, 201212 yr comment_13280 спасибо! получилось Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13280 Share on other sites Больше вариантов
31 октября, 201212 yr comment_13281 покажите картинку что получается в итоге Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13281 Share on other sites Больше вариантов
31 октября, 201212 yr Author comment_13289 Держи Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=13289 Share on other sites Больше вариантов
7 ноября, 201211 yr comment_14198 Скажите, а есть метод наоборот изменить горизонтальное меню в вертикальное? Тема Ванилла Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=14198 Share on other sites Больше вариантов
8 ноября, 201211 yr Author comment_14250 Lea,да, конечно: Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=14250 Share on other sites Больше вариантов
11 ноября, 201211 yr comment_14666 Lea,да, конечно: Ваш юмор греет мне сердце 1. Откройте шаблон topicViewTemplate, найдите в нём и вырежите следующий код: В Ванилле нет такого кода, поэтому я и попросила помощи А есть вот такой: [size=2]<if test="$this->settings['customizeView']='no'"></if> <if test="allowRating:|:$forum['forum_allow_rating']"> {parse js_module="rating"} </if> {parse js_module="topic"} <script type="text/javascript"> //<![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>"); //]]> </script> <if test="disablelightbox:|:!$this->settings['disable_lightbox']"> {parse template="include_lightbox" group="global" params=""} </if> <div class='ipbfs_titlebox'> <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> <div itemscope itemtype="[url="__schema.org/Article"]__schema.org/Article"[/url] class='ipsBox_withphoto'> <span class='right'>{$displayData['follow_data']}</span> <h1 itemprop="name" class='ipsType_pagetitle'> {$topic['title']} </h1> <if test="topicRating:|:$forum['forum_allow_rating']"> <span itemprop="aggregateRating" itemscope itemtype="[url="__schema.org/AggregateRating"]__schema.org/Ag...ggregateRating"[/url] class='rating ipsType_smaller right'> <if test="$topic['_allow_rate']"> <strong>{$this->lang->words['js_rate_me']}</strong> </if> <if test="$topic['_allow_rate']"> <a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=1&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_1' title='{$this->lang->words['top_js_1star']}'> </if> <if test="rate1:|:$topic['_rate_int'] >= 1"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=2&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_2' title='{$this->lang->words['top_js_2star']}'> </if> <if test="rate2:|:$topic['_rate_int'] >= 2"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=3&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_3' title='{$this->lang->words['top_js_3star']}'> </if> <if test="rate3:|:$topic['_rate_int'] >= 3"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=4&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_4' title='{$this->lang->words['top_js_4star']}'> </if> <if test="rate4:|:$topic['_rate_int'] >= 4"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=5&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_5' title='{$this->lang->words['top_js_5star']}'> </if> <if test="rate5:|:$topic['_rate_int'] >= 5"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a> </if> <span id='rating_text'> <if test="hasRates:|:$topic['topic_rating_hits'] > 0"> <span itemprop="ratingCount" id='rating_hits'>{$topic['topic_rating_hits']}</span> <span>{$this->lang->words['poll_s_votes']}</span> <meta itemprop="ratingValue" content="{parse expression="floor($topic['_rate_int'])"}" /> </if> </span> <if test="$topic['_allow_rate']"> <script type='text/javascript'> //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: ipb.vars['base_url'] + 'app=forums&module=ajax§ion=topics&do=rateTopic&t={$topic['tid']}&md5check=' + ipb.vars['secure_hash'], cur_rating: {$topic['_rate_int']}, rated: <if test="jsHasRates:|:$topic['_rating_value'] != -1">1<else />0</if>, allow_rate: {$topic['_allow_rate']}, multi_rate: 1, show_rate_text: true } ); //]]> </script> </if> </span> </if> <div class='desc lighter blend_links'> {$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> </div> <if test="hasTags:|:is_array($topic['tags'])"> {$topic['tags']['formatted']['parsedWithoutComma']} <br /> </if> <meta itemprop="interactionCount" content="UserComments:{parse expression="intval($topic['replies'] + 1)"}" /> </div> </div> <if test="topicHasBeenHidden:|:$topic['approved'] == -1"> <br /> <div class='message error'> {parse expression="sprintf( $this->lang->words['tdb__forumindex'], $topic['sdData']['members_display_name'] )"} {parse date="$topic['sdData']['sdl_obj_date']" format="long"} <if test="showReason:|:$this->registry->getClass('class_forums')->canSeeSoftDeleteReason( $forum['id'] )"> <br /> <span> <if test="$topic['sdData']['sdl_obj_reason']">{$topic['sdData']['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if> </span> </if> <br /> <br /> <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'>{$this->lang->words['dl_ths_delete']}</a> </if> </div> </if> <if test="topicHasBeenDeleted:|:$topic['approved'] == 2"> <br /> <div class='message error'> {$this->lang->words['topic_deleted']} <br /> <br /> <a href='{parse url="app=forums&module=moderate&section=moderate&do=topic_restore&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['restore_post']}</a> <a href='{parse url="app=forums&module=moderate&section=moderate&do=09&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['perm_delete_post']}</a> </div> </if> <br /> <div class='topic_controls'> {$topic['SHOW_PAGES']} <if test="isArchivedPostBox:|:$topic['_isArchived']"> {parse template="archiveStatusMessage" group="topic" params="$topic,$forum"} <else /> <ul class='topic_buttons'> <if test="closedButton:|:$displayData['reply_button']['image'] == 'locked'"> <li class='important'> <if test="pollOnly:|:isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only']"> <if test="closedButtonLink:|:$displayData['reply_button']['url']"> <a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only_reply']}</a> <else /> <span>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only']}</span> </if> <else /> <if test="closedButtonLink:|:$displayData['reply_button']['url']"> <a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a> <else /> <span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span> </if> </if> </li> <else /> <if test="replyButton:|:$displayData['reply_button']['image']"> <if test="replyButtonLink:|:$displayData['reply_button']['url']"> <li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li> <else /> <li class='disabled'><span><if test="isMemberTop:|: ! $this->memberData['member_id']">{$this->lang->words['topic_no_reply_guest']}<else />{$this->lang->words['top_cannot_reply']}</if></span></li> </if> </if> </if> <if test="topicDescription:|:$topic['hasUnreadPosts'] AND ( $topic['posts'] + 1 ) > $this->settings['display_max_posts']"> <li class='non_button'><a href='{parse url="showtopic={$topic['tid']}&view=getnewpost" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{$this->lang->words['go_to_first_unread']}</a></li> </if> <if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <li class='non_button'><a href='#' id='topic_mod_options' title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a></li> </if> </ul> </if> </div> <if test="modOptionsDropdown:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <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> <script type='text/javascript'> document.observe("dom:loaded", function() { new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') ); } ); </script> </if> <div class='fullWidth'> {parse replacement="header_start"}<div class='maintitle clear clearfix'> <if test="$this->settings['customizeView']=='yes'"> <div class='topicViewIcons left'> <a href="#" id="topicViewRegular" title="Regular View"><img src="{style_images_url}/spacer.gif" alt="" /></a> <a href="#" id="topicViewBasic" title="Basic View"><img src="{style_images_url}/spacer.gif" alt="" /></a> </div> </if> <span class='ipsType_small'> <if test="$topic['posts']"> {parse expression="sprintf( ( $topic['posts'] > 1 ) ? $this->lang->words['x_replies_to_topic'] : $this->lang->words['x_reply_to_topic'], $topic['posts'] )"} <else /> {$this->lang->words['no_replies_to_topic']} </if> </span> <if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])"> <a href='#rep_filter_menucontent' id='rep_filter' class='right ipsType_smaller'> <if test="repFilterDefault:|:$this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*'"> {$this->lang->words['rep_f_viewing_all']} <else /> {parse expression="sprintf( $this->lang->words['rep_f_hiding'], $this->memberData['_members_cache']['rep_filter'] )"} </if> <img src='{$this->settings['img_url']}/useropts_arrow.png' /> </a> </if> </div>{parse replacement="header_end"} <if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])"> <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> <script type='text/javascript'> new ipb.Menu( $('rep_filter'), $('rep_filter_menucontent') ); </script> </if> <div class='topic hfeed clear clearfix removeDefault horizontalView' <if test="$this->settings['customizeView']=='yes'">id='customize_topic'</if>> {$displayData['poll_data']['html']} <if test="hasPosts:|:is_array( $post_data ) AND count( $post_data )"> <div class='ipsBox'> <div class='ipsBox_container' id='ips_Posts'> <foreach loop="post_data:$post_data as $post"> {parse template="post" group="topic" params="$post, $displayData, $topic, $forum"} </foreach> </div> </div> </if> </div>{parse replacement="box_end"} </div> <!-- end negative margin --> <hr /> <div class='topic_controls clear ipsPad_top_bottom_half'> <if test="$topic['SHOW_PAGES']"> <div class='left'>{$topic['SHOW_PAGES']}</div> </if> <div class='ipsPad_top_slimmer right'> <if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <a href='#' id='topic_mod_options_alt' class="ipsType_small desc" title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a> · </if> <a href='{parse url="showforum={$forum['id']}" template="showforum" seotitle="{$forum['name_seo']}" base="public"}' class="ipsType_small desc">{parse expression="sprintf( $this->lang->words['go_back_to'], $forum['name'] )"}</a> <if test="hasUnreadNext:|:$forum['_hasUnreadTopics']"> · <a href='{parse url="showtopic={$topic['tid']}&view=getnextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' class="ipsType_small desc">{$this->lang->words['goto_next_unread_topic']}</a> </if> </div> </div> <if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']"> <hr /> <div class='fullWidth'> {parse replacement="header_start"}<h3 class='maintitle'>{$this->lang->words['topic_add_reply']}</h3>{parse replacement="header_end"} <div class='ipsBox removeDefault' id='fast_reply_wrapper'> <div class='ipsBox_container ipsPad'> <if test="isLockedFR:|:$topic['state'] == 'closed'"><div class='message error'>{$this->lang->words['locked_reply_fr']}</div></if> <br /> <if test="isMember:|:$this->memberData['member_id']"> <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' /></a> <else /> <div class='left'>{IPSMember::buildNoPhoto(0, 'small' )}</div> </if> <div class='ipsBox_withphoto clearfix'> <form action="{parse url="" base="public"}" method="post" id='ips_fastReplyForm'> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="post" /> <input type="hidden" name="section" value="post" /> <input type="hidden" name="do" value="reply_post_do" /> <input type="hidden" name="f" value="{$forum['id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="fast_reply_used" value="1" /> <input type="hidden" name="enableemo" value="yes" /> <input type="hidden" name="enablesig" value="yes" /> <if test="$this->memberData['auto_track']"> <input type="hidden" name="enabletrack" value="1" /> </if> <if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])"> <div class='message'>{parse expression="implode( '<br />', $topic['_fastReplyStatusMessage'] )"}</div> </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'] )"} <br /> <fieldset class='right' id='fast_reply_controls'> <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' /> </fieldset> </form> </div> <div id='ips_HasReplies'></div> </div> </div> {parse replacement="box_end"} </div> <script type='text/javascript'> ipb.topic.fastReplyId = '{$this->settings['_lastEditorId']}'; </script> <else /> <if test="loadJsManually:|:$displayData['load_editor_js']"> {parse template="editorLoadJs" group="editors" params="$displayData['smilies']"} </if> </if> <!-- Close topic --> <!-- BOTTOM BUTTONS --> <if test="canShare:|:!$forum['disable_sharelinks'] AND $this->settings['sl_enable']"> <br /> <div class='clear clearfix left'> {IPSLib::shareLinks( $topic['title'] )} </div> <br /> </if> <!-- SAME TAGGED --> <if test="sameTagged:|:is_array( $displayData['same_tagged'] ) and count( $displayData['same_tagged'] )"> <br /> <div class='fullWidth'> {parse replacement="header_start"}<h3 class='maintitle'>{parse expression="sprintf( $this->lang->words['topic_same_tagged_as'], $topic['tags']['formatted']['string'] )"}</h3>{parse replacement="header_end"} <div class='ipsBox_container removeDefault'> <table class='ipb_table topic_list'> <foreach loop="topics:$displayData['same_tagged'] as $tid => $tdata"> {parse template="topic" group="forum" params="$tdata, $forum, array(), false"} </foreach> </table> </div>{parse replacement="box_end"} </div> </if> <!-- ACTIVE USERS --> <if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )"> <div class='fullWidth'> <div id='topic_stats' class='statistics clear clearfix'> <div id='topic_active_users' class='active_users'> <h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_title'], $displayData['active_users']['stats']['total'] )"}</h4> <p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['stats']['members'], $displayData['active_users']['stats']['guests'], $displayData['active_users']['stats']['anon'] )"}</p> <if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )"> <br /> <ul class='ipsList_inline'> {parse expression="implode( ', ', $displayData['active_users']['names'] )"} </ul> </if> </div> </div> </div> </if> <if test="scrollToPost:|:$this->request['gopid']"> <script type='text/javascript'> var gopid = "{$this->request['gopid']}".replace(/&/g, ''); ipb.topic.scrollToPost( parseInt( gopid ) ); </script> </if> {parse template="include_highlighter" group="global" params="1"} <div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'> <span class='ipsButton no_width' id='mqbutton'>{$this->lang->words['mq_reply_quoted_posts']}</span> <a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> </div> <form id="modform" method="post" action="{parse url="" base="public"}"> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="moderate" /> <input type="hidden" name="section" value="moderate" /> <input type="hidden" name="do" value="postchoice" /> <input type="hidden" name="f" value="{$topic['forum_id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' /> <input type="hidden" name="tact" id="tact" value="" /> </form>[/size] Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=14666 Share on other sites Больше вариантов
12 ноября, 201211 yr Author comment_14715 Lea, в вашем случае это будет шаблон post, код: {parse template="userInfoPane" group="global" params="$post['author'], $post['post']['pid'], array( 'isTopicView' => true, 'wl_id' => $post['post']['wl_id'] )"} [/CODE] Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=14715 Share on other sites Больше вариантов
14 января, 201311 yr comment_18628 У меня тоже аналогичный вопрос хочу сделать меню вертикальным вот код шаблона post: <script type='text/javascript'> //<![CDATA[ ipb.templates['poll_voters'] = new Template("<h3 class='bar'>{$this->lang->words['poll_voted_for']} #{title}</h3><div class='ipsPad'>#{content}</div>"); //]]> </script> <div class='general_box alt poll' id='poll_{$poll['pid']}'> <form action="{parse url="app=forums&module=extras&section=vote&t={$topicData['tid']}&st={$this->request['st']}&do=add&secure_key={$this->member->form_hash}" base="public"}" name='pollForm' method="post"> <h3>{$this->lang->words['poll']} {$poll['poll_question']}<if test="showPollResults:|:$showResults"> <span class='desc'>({$poll['_totalVotes']} {$this->lang->words['poll_vote_casted']})</span></if></h3> <if test="publicPollNotice:|:$this->settings['poll_allow_public'] AND $poll['poll_view_voters'] AND ! $showResults"> <div class='message unspecified'>{$this->lang->words['poll_public_notice']}</div> </if> <foreach loop="poll_questions:$pollData as $questionID => $questionData"> <div class='poll_question<if test="votedClass:|:$showResults"> voted</if>'> <h4 class='rounded'>{$pollData[ $questionID ]['question']}</h4> <if test="noGuestVote:|:! $this->settings['allow_result_view'] AND ! $this->memberData['member_id']"> {$this->lang->words['poll_noview_guest']} <else /> <ol> <foreach loop="poll_choices:$pollData[ $questionID ]['choices'] as $choiceID => $choiceData"> <if test="showingResults:|:$showResults"> <li> <span class='answer'><if test="hasVoters:|:is_array( $choiceData['voters'] ) AND in_array( $this->memberData['member_id'], array_keys( $choiceData['voters'] ) )"> {parse replacement="your_vote"} </if>{$choiceData['choice']}</span> <if test="viewVoters:|:$poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']"> <a href='#' class='votes' id='l_voters_{$questionID}_{$choiceID}' title='{$this->lang->words['poll_view_voters']}'>({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%] - <strong>{$this->lang->words['poll_view']}</strong>)</a> <else /> <span class='votes'> ({$choiceData['votes']} {$this->lang->words['poll_votes']} [{$choiceData['percent']}%])</span> </if> <if test="votersJs:|:$poll['poll_view_voters'] AND is_array( $choiceData['voters'] ) AND $this->settings['poll_allow_public'] AND $choiceData['votes']"> <script type='text/javascript'> $('l_voters_{$questionID}_{$choiceID}').observe('click', ipb.topic.showVoters.bindAsEventListener( this, {$questionID}, {$choiceID} ) ); if( Object.isUndefined( ipb.topic.poll[ $questionID ] ) ){ ipb.topic.poll[ $questionID ] = []; } var users = ""; <foreach loop="poll_voters:$choiceData['voters'] as $id => $member"> users += "<a href='{parse url="showuser={$member['member_id']}" base="public" seotitle="{$member['members_seo_name']}" template="showuser"}'>{$member['members_colored_name']}</a><if test="lastVoter:|:$member['_last'] == 0">, </if>"; </foreach> ipb.topic.poll[ $questionID ][ $choiceID ] = { name: "{$choiceData['choice']}", users: users}; </script> </if> <p class='progress_bar topic_poll' title='{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%'> <span style='width: {$choiceData['percent']}%'><span>{$this->lang->words['poll_percent_of_vote']} {$choiceData['percent']}%</span></span> </p> </li> <else /> <if test="multiVote:|:$choiceData['type'] == 'multi'"> <li><input type='checkbox' id='choice_{$questionID}_{$choiceID}' name='choice_{$questionID}_{$choiceID}' value='1' class='input_check' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li> <else /> <li><input type='radio' name='choice[{$questionID}]' id='choice_{$questionID}_{$choiceID}' class='input_radio' value='{$choiceID}' /> <label for='choice_{$questionID}_{$choiceID}'>{$choiceData['choice']}</label></li> </if> </if> </foreach> </ol> </if> </div> </foreach> <fieldset class='submit'> <legend>{$this->lang->words['poll_vote']}</legend> <if test="voteButton:|:$topicData['state'] != 'closed'"> <if test="voteButtonMid:|:$this->memberData['member_id']"> <if test="voteButtonVoted:|:$poll['_memberVoted']"> <if test="deleteVote:|:$this->settings['poll_allow_vdelete'] OR $this->memberData['g_is_supmod']"> <a href='{parse url="app=forums&module=extras&section=vote&t={$topicData['tid']}&st={$this->request['st']}&do=delete&secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['poll_delete_vote']}' id='poll_deletevote' class='input_submit alt'>{$this->lang->words['poll_delete_vote']}</a> <else /> {$this->lang->words['poll_you_voted']} </if> <else /> <if test="youCreatedPoll:|$poll['starter_id'] == $this->memberData['member_id']) and ($this->settings['allow_creator_vote'] != 1)"> {$this->lang->words['poll_you_created']} <else /> <!-- VOTE Button --> <if test="cast:|:$this->request['mode'] != 'show'"> <input class='input_submit' type="submit" name="submit" value="{$this->lang->words['poll_add_vote']}" title="{$this->lang->words['tt_poll_vote']}" /> </if> <!-- SHOW Button --> <if test="displayVotes:|:$this->settings['allow_result_view'] == 1"> <if test="alreadyDisplayVotes:|:$this->request['mode'] == 'show'"> <if test="viewVotersLink:|:! $poll_view_voters"> <a href='{parse url="showtopic={$topicData['tid']}&st={$this->request['st']}" base="public" seotitle="{$topicData['title_seo']}" template="showtopic"}' title='{$this->lang->words['tt_poll_svote']}' id='poll_nullvote' class='input_submit alt'>{$this->lang->words['pl_show_vote']}</a> </if> <else /> <a href='{parse url="showtopic={$topicData['tid']}&mode=show&st={$this->request['st']}" base="public" seotitle="{$topicData['title_seo']}" template="showtopic"}' title='{$this->lang->words['tt_poll_show']}' id='poll_showresults' class='input_submit alt'>{$this->lang->words['pl_show_results']}</a> </if> <else /> <input class='input_submit' type="submit" name="nullvote" value="{$this->lang->words['poll_null_vote']}" title="{$this->lang->words['tt_poll_null']}" /> </if> </if> </if> <else /> {$this->lang->words['poll_no_guests']} </if> </if> <if test="editPoll:|:$editPoll"> <a href='{parse url="app=forums&module=post&section=post&do=edit_post&f={$poll['forum_id']}&t={$poll['tid']}&p={$topicData['topic_firstpost']}" base="publicWithApp"}' title='{$this->lang->words['poll_edit']}' class='input_submit alt' >{$this->lang->words['poll_edit']}</a> </if> </fieldset> </form> </div> и код шаблона topicViewTemplate <if test="allowRating:|:$forum['forum_allow_rating']"> {parse js_module="rating"} </if> {parse js_module="topic"} <script type="text/javascript"> //<![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>"); //]]> </script> <if test="disablelightbox:|:!$this->settings['disable_lightbox']"> {parse template="include_lightbox" group="global" params=""} </if> <div id='kod-twit'> {$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> <div itemscope itemtype="__schema.org/Article" class='ipsBox_withphoto'> <h1 itemprop="name" class='ipsType_pagetitle'>{$topic['title']}</h1> <if test="topicRating:|:$forum['forum_allow_rating']"> <span itemprop="aggregateRating" itemscope itemtype="__schema.org/AggregateRating" class='rating ipsType_smaller right'> <if test="$topic['_allow_rate']"> <strong>{$this->lang->words['js_rate_me']}</strong> </if> <if test="$topic['_allow_rate']"> <a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=1&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_1' title='{$this->lang->words['top_js_1star']}'> </if> <if test="rate1:|:$topic['_rate_int'] >= 1"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=2&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_2' title='{$this->lang->words['top_js_2star']}'> </if> <if test="rate2:|:$topic['_rate_int'] >= 2"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=3&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_3' title='{$this->lang->words['top_js_3star']}'> </if> <if test="rate3:|:$topic['_rate_int'] >= 3"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=4&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_4' title='{$this->lang->words['top_js_4star']}'> </if> <if test="rate4:|:$topic['_rate_int'] >= 4"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a><a href='{parse url="app=forums&module=extras&section=rating&t={$topic['tid']}&rating=5&secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_5' title='{$this->lang->words['top_js_5star']}'> </if> <if test="rate5:|:$topic['_rate_int'] >= 5"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="$topic['_allow_rate']"> </a> </if> <span id='rating_text'> <if test="hasRates:|:$topic['topic_rating_hits'] > 0"> <span itemprop="ratingCount" id='rating_hits'>{$topic['topic_rating_hits']}</span> <span>{$this->lang->words['poll_s_votes']}</span> <meta itemprop="ratingValue" content="{parse expression="floor($topic['_rate_int'])"}" /> </if> </span> <if test="$topic['_allow_rate']"> <script type='text/javascript'> //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: ipb.vars['base_url'] + 'app=forums&module=ajax§ion=topics&do=rateTopic&t={$topic['tid']}&md5check=' + ipb.vars['secure_hash'], cur_rating: {$topic['_rate_int']}, rated: <if test="jsHasRates:|:$topic['_rating_value'] != -1">1<else />0</if>, allow_rate: {$topic['_allow_rate']}, multi_rate: 1, show_rate_text: true } ); //]]> </script> </if> </span> </if> <div class='desc lighter blend_links'> {$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> </div> <if test="hasTags:|:is_array($topic['tags'])"> {$topic['tags']['formatted']['parsedWithoutComma']} <br /> </if> <meta itemprop="interactionCount" content="UserComments:{parse expression="intval($topic['replies'] + 1)"}" /> </div> </div> <if test="topicHasBeenHidden:|:$topic['approved'] == -1"> <br /> <div class='message error'> {parse expression="sprintf( $this->lang->words['tdb__forumindex'], $topic['sdData']['members_display_name'] )"} {parse date="$topic['sdData']['sdl_obj_date']" format="long"} <if test="showReason:|:$this->registry->getClass('class_forums')->canSeeSoftDeleteReason( $forum['id'] )"> <br /><span><if test="$topic['sdData']['sdl_obj_reason']">{$topic['sdData']['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if></span> </if> <br /><br /> <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'>{$this->lang->words['dl_ths_delete']}</a> </if> </div> </if> <if test="topicHasBeenDeleted:|:$topic['approved'] == 2"> <br /> <div class='message error'> {$this->lang->words['topic_deleted']} <br /><br /> <a href='{parse url="app=forums&module=moderate&section=moderate&do=topic_restore&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['restore_post']}</a> <a href='{parse url="app=forums&module=moderate&section=moderate&do=09&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['perm_delete_post']}</a> </div> </if> <br /> <div class='topic_controls'> {$topic['SHOW_PAGES']} <if test="isArchivedPostBox:|:$topic['_isArchived']"> {parse template="archiveStatusMessage" group="topic" params="$topic,$forum"} <else /> <ul class='topic_buttons'> <if test="closedButton:|:$displayData['reply_button']['image'] == 'locked'"> <li class='important'> <if test="pollOnly:|:isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only']"> <if test="closedButtonLink:|:$displayData['reply_button']['url']"> <a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only_reply']}</a> <else /> <span>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only']}</span> </if> <else /> <if test="closedButtonLink:|:$displayData['reply_button']['url']"> <a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a> <else /> <span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span> </if> </if> </li> <else /> <if test="replyButton:|:$displayData['reply_button']['image']"> <if test="replyButtonLink:|:$displayData['reply_button']['url']"> <li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li> <else /> <li class='disabled'><span><if test="isMemberTop:|: ! $this->memberData['member_id']">{$this->lang->words['topic_no_reply_guest']}<else />{$this->lang->words['top_cannot_reply']}</if></span></li> </if> </if> </if> <if test="topicDescription:|:$topic['hasUnreadPosts'] AND ( $topic['posts'] + 1 ) > $this->settings['display_max_posts']"> <li class='non_button'><a href='{parse url="showtopic={$topic['tid']}&view=getnewpost" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{$this->lang->words['go_to_first_unread']}</a></li> </if> <if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <li class='non_button'><a href='#' id='topic_mod_options' title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a></li> </if> </ul> </if> </div> <if test="modOptionsDropdown:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <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> <script type='text/javascript'> document.observe("dom:loaded", function() { new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') ); } ); </script> </if> <div class='maintitle clear clearfix'> <span class='ipsType_small'> <if test="$topic['posts']"> {parse expression="sprintf( ( $topic['posts'] > 1 ) ? $this->lang->words['x_replies_to_topic'] : $this->lang->words['x_reply_to_topic'], $topic['posts'] )"} <else /> {$this->lang->words['no_replies_to_topic']} </if> </span> <if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])"> <a href='#rep_filter_menucontent' id='rep_filter' class='right ipsType_smaller'> <if test="repFilterDefault:|:$this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*'"> {$this->lang->words['rep_f_viewing_all']} <else /> {parse expression="sprintf( $this->lang->words['rep_f_hiding'], $this->memberData['_members_cache']['rep_filter'] )"} </if> <img src='{$this->settings['img_url']}/useropts_arrow.png' /> </a> </if> </div> <if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])"> <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> <script type='text/javascript'> new ipb.Menu( $('rep_filter'), $('rep_filter_menucontent') ); </script> </if> <div class='topic hfeed clear clearfix'> {$displayData['poll_data']['html']} <if test="hasPosts:|:is_array( $post_data ) AND count( $post_data )"> <div> <div class='ipsBox_container' id='ips_Posts'> <foreach loop="post_data:$post_data as $post"> {parse template="post" group="topic" params="$post, $displayData, $topic, $forum"} </foreach> </div> </div> </if> <hr /> <div class='topic_controls clear ipsPad_top_bottom_half'> <if test="$topic['SHOW_PAGES']"> <div class='left'>{$topic['SHOW_PAGES']}</div> </if> <div class='ipsPad_top_slimmer right'> <if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <a href='#' id='topic_mod_options_alt' class="ipsType_small desc" title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a> · </if> <a href='{parse url="showforum={$forum['id']}" template="showforum" seotitle="{$forum['name_seo']}" base="public"}' class="ipsType_small desc">{parse expression="sprintf( $this->lang->words['go_back_to'], $forum['name'] )"}</a> <if test="hasUnreadNext:|:$forum['_hasUnreadTopics']"> · <a href='{parse url="showtopic={$topic['tid']}&view=getnextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' class="ipsType_small desc">{$this->lang->words['goto_next_unread_topic']}</a> </if> </div> </div> <if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']"> <hr /> <div class='ipsBox' id='fast_reply_wrapper'> <div class='ipsBox_container ipsPad'> <h1 class='ipsType_subtitle'>{$this->lang->words['topic_add_reply']}</h1> <if test="isLockedFR:|:$topic['state'] == 'closed'"><span class='error'>{$this->lang->words['locked_reply_fr']}</span><br /></if> <br /> <if test="isMember:|:$this->memberData['member_id']"> <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' /></a> <else /> <div class='left'>{IPSMember::buildNoPhoto(0, 'small' )}</div> </if> <div class='ipsBox_withphoto clearfix'> <form action="{parse url="" base="public"}" method="post" id='ips_fastReplyForm'> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="post" /> <input type="hidden" name="section" value="post" /> <input type="hidden" name="do" value="reply_post_do" /> <input type="hidden" name="f" value="{$forum['id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="fast_reply_used" value="1" /> <input type="hidden" name="enableemo" value="yes" /> <input type="hidden" name="enablesig" value="yes" /> <if test="$this->memberData['auto_track']"> <input type="hidden" name="enabletrack" value="1" /> </if> <if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])"> <div class='message'>{parse expression="implode( '<br />', $topic['_fastReplyStatusMessage'] )"}</div> </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'] )"} <br /> <fieldset class='right' id='fast_reply_controls'> <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' /> </fieldset> </form> <a class="hide" href="__Pandorathemes.com" data-tooltip="Перейти в магазин PandoraThemes.com" rel="follow">IPB skin by PandoraThemes.com</a> </div> <div id='ips_HasReplies'></div> </div> </div> <script type='text/javascript'> ipb.topic.fastReplyId = '{$this->settings['_lastEditorId']}'; </script> <else /> <if test="loadJsManually:|:$displayData['load_editor_js']"> {parse template="editorLoadJs" group="editors" params="$displayData['smilies']"} </if> </if> <!-- Close topic --> </div> <!-- BOTTOM BUTTONS --> <if test="canShare:|:!$forum['disable_sharelinks'] AND $this->settings['sl_enable']"> <br /> <div class='clear clearfix left'> {IPSLib::shareLinks( $topic['title'] )} </div> <br /> </if> <!-- SAME TAGGED --> <if test="sameTagged:|:is_array( $displayData['same_tagged'] ) and count( $displayData['same_tagged'] )"> <br /> <div class='ipsBox'> <h3 class='maintitle'>{parse expression="sprintf( $this->lang->words['topic_same_tagged_as'], $topic['tags']['formatted']['string'] )"}</h3> <div class='ipsBox_container'> <table class='ipb_table topic_list'> <foreach loop="topics:$displayData['same_tagged'] as $tid => $tdata"> {parse template="topic" group="forum" params="$tdata, $forum, array(), false"} </foreach> </table> </div> </div> </if> <!-- ACTIVE USERS --> <if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )"> <div id='topic_stats' class='statistics clear clearfix'> <div id='topic_active_users' class='active_users'> <h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_title'], $displayData['active_users']['stats']['total'] )"}</h4> <p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['stats']['members'], $displayData['active_users']['stats']['guests'], $displayData['active_users']['stats']['anon'] )"}</p> <if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )"> <br /> <ul class='ipsList_inline'> {parse expression="implode( ', ', $displayData['active_users']['names'] )"} </ul> </if> </div> </div> </if> <if test="scrollToPost:|:$this->request['gopid']"> <script type='text/javascript'> var gopid = "{$this->request['gopid']}".replace(/&/g, ''); ipb.topic.scrollToPost( parseInt( gopid ) ); </script> </if> {parse template="include_highlighter" group="global" params="1"} <div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'> <span class='ipsButton no_width' id='mqbutton'>{$this->lang->words['mq_reply_quoted_posts']}</span> <a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> </div> <form id="modform" method="post" action="{parse url="" base="public"}"> <input type="hidden" name="app" value="forums" /> <input type="hidden" name="module" value="moderate" /> <input type="hidden" name="section" value="moderate" /> <input type="hidden" name="do" value="postchoice" /> <input type="hidden" name="f" value="{$topic['forum_id']}" /> <input type="hidden" name="t" value="{$topic['tid']}" /> <input type="hidden" name="auth_key" value="{$this->member->form_hash}" /> <input type="hidden" name="st" value="{$this->request['st']}" /> <input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' /> <input type="hidden" name="tact" id="tact" value="" /> </form> Где что изменить? Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=18628 Share on other sites Больше вариантов
14 января, 201311 yr Author comment_18653 Ребят, почему я за вас должен делать какую-то работу? Копируешь два шаблона post в блокнот, выискиваешь разницу и восполняешь её в своём шаблоне, по аналогии с другими шаблонами. Что в этом трудного? Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=18653 Share on other sites Больше вариантов
27 октября, 201311 yr comment_47520 Как зделать вертикальную userinfopanel на стиле ESMONA Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=47520 Share on other sites Больше вариантов
28 октября, 201311 yr comment_47527 С фантазией туго дайте скрин! Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=47527 Share on other sites Больше вариантов
14 декабря, 20149 yr comment_75940 Не могу вернуть привычный вид сообщений в теме - пробовал пользоваться вышеуказанными способами. Стиль Crown. Прошу помочь! Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=75940 Share on other sites Больше вариантов
14 декабря, 20149 yr comment_75950 В стиле Crown менять этот код- {parse template="userSmallPhoto" group="global" params="array_merge( $data, array( 'alt' => sprintf( $this->lang->words['findex_userphoto_alt'], $data['title'], $data['members_display_name'] ) ) )"} ? Ничего более подходящего не нашел... Сделал по статье, код который заменил- выше указан, вот что вышло- Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=75950 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76219 Кто чего еще подскажет? Как довести до ума горизонтальный профиль? Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76219 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76220 Кто чего еще подскажет? Как довести до ума горизонтальный профиль? не наблюдаю данного стиля у вас на форуме, в списке стилей тоже нет. Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76220 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76226 Включил для гостей... Я немного откатил переделки сделанные по статье, сейчас немного не так отображается. Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76226 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76230 Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76230 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76242 2014-12-18 21-14-47 Скриншот экрана.pngНу так мобайл это он и есть Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76242 Share on other sites Больше вариантов
18 декабря, 20149 yr comment_76245 .author_info { background: #f8f8f8; background-image: -moz-linear-gradient(top, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.94) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.94)), color-stop(100%,rgba(255,255,255,0.94))); background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%); background-image: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%); -webkit-box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px; -moz-box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px; box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px; float: none; width: 170px; text-align: left; position: absolute; font-size: 12px; line-height: 150%; padding: 20px; } Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76245 Share on other sites Больше вариантов
19 декабря, 20149 yr comment_76254 .author_info {background: #f8f8f8;background-image: -moz-linear-gradient(top, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.94) 100%);background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.94)), color-stop(100%,rgba(255,255,255,0.94)));background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%);background-image: -o-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%);background-image: -ms-linear-gradient(top, rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.94) 100%);background-image: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%);-webkit-box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px;-moz-box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px;box-shadow: inset rgba(0,0,0,0.07) 0px 0px 0px 1px;float: none;width: 170px;text-align: left;position: absolute;font-size: 12px;line-height: 150%;padding: 20px;} Это в css или в шаблон вставлять? Link to comment https://ipbmafia.ru/topic/53-gorizontalnyj-profil-polzovatelya-v-teme/?&do=findComment&comment=76254 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.