Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Genestoy Posted June 14, 2011 Posted June 14, 2011 OK, I found it. Was looking for it in Quick Reply. My mistake. Another reason we need the enable/disable acp switch for the fast reply! I deal with seniors who upload lots of pics and the fast reply causes me lots of pm's!!! Rikki :no: can we please have the enable/disable back?? Why in the world would this (and other stuff) be removed when you can either use or not use it, your choice?
Aisha Posted June 14, 2011 Posted June 14, 2011 Since you're the only person who has an issue with the fast reply why don't you just remove it from the skin?
.Ian Posted June 14, 2011 Posted June 14, 2011 What is to stop you from adding some instructions below the words 'reply to this topic' for your members?
Aisha Posted June 14, 2011 Posted June 14, 2011 Phew, that was a lot of writing: More helpful than the documentation. (: Lemme see if I can get it to work for myself now! Well not now, but when I have more time.
Genestoy Posted June 14, 2011 Posted June 14, 2011 Since you're the only person who has an issue with the fast reply why don't you just remove it from the skin? Do you want to try? I have tried and when you edit it out the the "Quote" and "Multiquote" fail to work because it wants to put that quote in the fast reply box! So if somebody knows how just let me know as I have already asked how with zero response.
Aisha Posted June 14, 2011 Posted June 14, 2011 Do you want to try? I have tried and when you edit it out the the "Quote" and "Multiquote" fail to work because it wants to put that quote in the fast reply box! So if somebody knows how just let me know as I have already asked how with zero response. Ok I'll try it myself later.
Michael Posted June 14, 2011 Posted June 14, 2011 Ok I'll try it myself later. See if you can use my guide to make a hook for it, I'm sure it can be done. ;)
Nimdock Posted June 14, 2011 Posted June 14, 2011 Phew, that was a lot of writing: More work than writing the actual hook I bet, hehe. Thank you. :)
Aisha Posted June 14, 2011 Posted June 14, 2011 Do you want to try? I have tried and when you edit it out the the "Quote" and "Multiquote" fail to work because it wants to put that quote in the fast reply box! So if somebody knows how just let me know as I have already asked how with zero response. Alright I got it. I'm far too lazy to say how I did it and why it works (because honestly I have no clue) but point is that it works. So go into the topic view section and replace your topicviewtemplate with this Uh..wow the editor ######ed up my post.
Aisha Posted June 14, 2011 Posted June 14, 2011 Ok lemme try posting that again...this should be the 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("{parse url="module=moderate§ion=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&st={$this->request['st']}&auth_key={$this->member->form_hash}&p=#{pid}" base="publicWithApp"}"); ipb.topic.deleteUrls['softDelete'] = new Template("{parse 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}" base="public"}"); </if> //]]> </script> <if test="disablelightbox:|:!$this->settings['disable_lightbox']"> {parse template="include_lightbox" group="global" params=""} </if> {$displayData['follow_data']} <a href='{parse url="showuser={$topic['_starter']['member_id']}" seotitle="{$topic['_starter']['members_seo_name']}" template="showuser" base="public"}' class='ipsUserPhotoLink'> <img src='{$topic['_starter']['pp_small_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' /> </a> <div class='ipsBox_withphoto'> <if test="topicRating:|:$forum['forum_allow_rating']"> <span class='rating ipsType_smaller'> <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 id='rating_hits'>{$topic['topic_rating_hits']} {$this->lang->words['poll_s_votes']}</span></if> </span> <if test="$topic['_allow_rate']"> <script type='text/javascript'> //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: '{parse url="app=forums&module=ajax§ion=topics&do=rateTopic&t={$topic['tid']}" base="public"}&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> <h1 class='ipsType_pagetitle'> {$topic['title']} </h1> <div class='desc lighter blend_links'> {$this->lang->words['started_by']} <a href='{parse url="showuser={$topic['_starter']['member_id']}" seotitle="{$topic['_starter']['members_seo_name']}" template="showuser" base="public"}' title="{$this->lang->words['view_profile']}">{$topic['_starter']['members_display_name']}</a>, {parse date="$topic['start_date']" format="SHORT"} </div> <if test="hasTags:|:is_array($topic['tags'])"> {$topic['tags']['formatted']['parsedWithoutComma']} <br /> </if> </div> <if test="topicHasBeenDeleted:|:$topic['_isDeleted']"> <br /> <div class='message error'> {$this->lang->words['dlp_topic_has_deleted_desc']} <if test="tbdRestore:|:$topic['permissions']['TopicSoftDeleteRestore']"> <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=09" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_delete']}</a> </if> </div> </if> <br /> <div class='topic_controls'> {$topic['SHOW_PAGES']} <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'>{parse replacement="{$displayData['reply_button']['image']}_icon"} {$this->lang->words['topic_add_reply']}</a></li> <else /> <li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li> </if> </if> </if> <if test="topicDescription:|:$topic['hasUnreadPosts']"> <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> </ul> </div> <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"}'> {$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="startModForm:|:$displayData['mod_links']"> <if test="weAreMod:|:$this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']"> <form id="modform" method="post" action="{parse url="" base="public"}"> <fieldset> <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' /> </fieldset> </if> </if> <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> <hr /> <!-- MOD LINKS --> <if test="modOptions:|:$displayData['mod_links']"> <if test="showModOptions:|:$this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id']"> <div class='ipsBox ipsPad clear clearfix' id='topic_mod'> <div class='row2 ipsBox_container clearfix'> <div class='moderation_bar with_action right'> <if test="showModOptionsinner:|:$this->memberData['is_mod']"> <label for='tact' class='hide'>{$this->lang->words['post_moderation']}</label> <select name="tact" id='tact' class='input_select'> <option value="">{$this->lang->words['post_moderation']}</option> <option value="merge">{$this->lang->words['cpt_merge']}</option> <option value="move">{$this->lang->words['cpt_move']}</option> <option value="delete">{$this->lang->words['cpt_delete']}</option> <if test="$this->registry->class_forums->can_Un_SoftDeletePosts( $forum_data['id'], $topic )"><option value="sundelete">{$this->lang->words['cpt_undelete']}</option></if> <option value="split">{$this->lang->words['cpt_split']}</option> <option value="approve">{$this->lang->words['cpt_approve']}</option> <option value="unapprove">{$this->lang->words['cpt_unapprove']}</option> </select> <input type="submit" id='mod_submit' name="gobutton" value="{$this->lang->words['f_go']}<if test="modButtonCount:|:$this->request['selectedpidcount']"> ({$this->request['selectedpidcount']})</if>" class="input_submit alt" /> </if> </div> </form> <script type='text/javascript'> $('modform').observe('submit', ipb.topic.submitPostModeration ); </script> <div class='moderation_bar left' id='topic_mod_2'> <a href='#' id='topic_mod_options' class='ipbmenu input_submit alt ipsPad_half left'>{$this->lang->words['topic_moderation']}</a> <ul class='ipbmenu_content' id='topic_mod_options_menucontent'> <foreach loop="mod_links:$displayData['mod_links'] as $_mod_link"> <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={$_mod_link['option']}" base="public"}">{$_mod_link['value']}</a> </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> </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> </if> <if test="$topic['permissions']['softDeleteRestore'] 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> </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> </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"}">{$this->lang->words['mm_title']}: {$mm_data[1]}</a></li> </foreach> </if> </ul> <script type='text/javascript'> new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') ); </script> </div> </div> </div> </if> </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'> <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=nextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' class="ipsType_small desc">{$this->lang->words['goto_next_unread_topic']}</a> </if> </div> <if test="modOptionsLink:|:$displayData['mod_links'] && ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )"> <div class='moderation_bar ipsType_small' style='text-align: center; width: 40%;margin:0 auto;'> <a href='#' id='moderator_toggle'><img src='{$this->settings['img_url']}/moderation_cog.png' /> {$this->lang->words['show_moderation_tools']}</a> </div> </if> </div> <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'>{parse replacement="{$displayData['reply_button']['image']}_icon"} {$this->lang->words['topic_add_reply']}</a></li> <else /> <li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li> </if> </if> </if> </ul> <!-- 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> <!-- 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']['members'] + $displayData['active_users']['guests'] + $displayData['active_users']['anon'] ) )"}</h4> <p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['members'], $displayData['active_users']['guests'], $displayData['active_users']['anon'] )"}</p> <if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )"> <br /> <ul class='ipsList_inline'> <foreach loop="active_users:$displayData['active_users']['names'] as $p => $r"> <li>{$r['p_start']}<if test="auId:|:$r['id']"><a href='{parse url="showuser={$r['id']}" seotitle="{$r['seo']}" template="showuser" base="public"}' title='{$r['p_title']}'></if>{$r['name']}<if test="auEndId:|:$r['id']"></a></if>{$r['p_end']}<if test="lastActiveUser:|:$p + 1 != count( $displayData['active_users']['names'] )">,</if></li> </foreach> </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> <div id='multiQuoteInsert' style='display: none !important;' > <div class='popupInner' style='display: none !important;'> <span class='ipsButton no_width' id='mqbutton' style='display: none !important;'>{$this->lang->words['mq_reply_quoted_posts']}</span> </div> </div> And this is the post bit. <!--post:{$post['post']['pid']}--> <if test="sDeleted:|:$post['post']['_isDeleted'] AND $post['post']['_softDeleteSee']"> {parse template="softDeletedPostBit" group="topic" params="$post, $displayData['sdData'], $topic"} </if> <if test="sDeletedNot:|:! $post['post']['_isDeleted']"> <div class='post_block hentry clear clearfix <if test="postQueued:|:$post['post']['_isHidden']">moderated</if>' id='post_id_{$post['post']['pid']}'> <a id='entry{$post['post']['pid']}'></a> <if test="repIgnored:|:!empty( $post['post']['_repignored'] ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1"> <div class='post_ignore'> <if test="noRep:|:$post['post']['rep_points'] == 0"> <span class='reputation zero' title='{$this->lang->words['top_rep']}'> </if> <if test="posRep:|:$post['post']['rep_points'] > 0"> <span class='reputation positive' title='{$this->lang->words['top_rep']}'> </if> <if test="negRep:|:$post['post']['rep_points'] < 0"> <span class='reputation negative' title='{$this->lang->words['top_rep']}' > </if> {$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} <a href='{parse url="showuser={$post['author']['member_id']}" base="public"}'>{$post['author']['members_display_name']}</a> {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> </div> </if> <if test="userIgnored:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <div class='post_ignore'> <if test="userIgnoredLang:|:$post['post']['_repignored'] == 1">{$this->lang->words['post_ignored_rep']}<else />{$this->lang->words['post_ignored']}</if> <a href='{parse url="showuser={$post['author']['member_id']}" base="public" template="showuser" seotitle="{$post['author']['members_seo_name']}"}'>{$post['author']['members_display_name']}</a>. <a href='#entry{$post['post']['pid']}' title='{$this->lang->words['ignore_view_post']}' style='display: none' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> <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> </div> </if> <div class='post_wrap' <if test="isNotIgnoring:|:$post['post']['_ignored'] == 1 || $post['post']['_repignored'] == 1">style='display: none'</if>> <if test="postMid:|:$post['author']['member_id']"> <h3 class='row2'> <else /> <h3 class='guest row2'> </if> <if test="postModCheckbox:|:$this->memberData['is_mod']"> <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> /> </span> </if> <span class='post_id right ipsType_small desc blend_links'><a href='{parse url="showtopic={$post['post']['topic_id']}&view=findpost&p={$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'>#{$post['post']['post_count']}</a></span> <if test="postMember:|:$post['author']['member_id']"> <span class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span> <else /> {$post['author']['members_display_name']} </if> <if test="postIp:|:$post['post']['_show_ip']"> <span class='ip right ipsType_small'>({$this->lang->words['ip']}: <if test="postAdmin:|:$post['author']['g_access_cp']"> <em>{$this->lang->words['ip_private']}</em> <else /> <if test="accessModCP:|:$this->memberData['g_is_supmod']"><a href="{parse url="app=core&module=modcp&fromapp=members&tab=iplookup&ip={$post['post']['ip_address']}" base="public"}" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a><else />{$post['post']['ip_address']}</if> </if>) </span> </if> </h3> <div class='author_info'> {parse template="userInfoPane" group="global" params="$post['author'], $post['post']['pid'], array()"} </div> <div class='post_body'> <p class='posted_info desc lighter ipsType_small'> {$this->lang->words['posted']} <abbr class="published" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr> </p> <if test="repHighlight:|:$this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']"> <p class='rep_highlight'>{parse replacement="popular_post"}<br />{$this->lang->words['popular_post']}</p> </if> <div class='post entry-content <if test="$post['post']['_repignored'] == 1">imgsize_ignore</if>'> {$post['post']['post']} {$post['post']['attachmentHtml']} <br /> <if test="postEditBy:|:$post['post']['edit_by']"> <p class='edit'> {$post['post']['edit_by']} <if test="postEditByReason:|:$post['post']['post_edit_reason'] != ''"> <br /> <span class='reason'>{$post['post']['post_edit_reason']}</span> </if> </p> </if> </div> {parse template="repButtons" group="global_other" params="$post['author'], array_merge( array( 'primaryId' => $post['post']['pid'], 'domLikeStripId' => 'like_post_' . $post['post']['pid'], 'domCountId' => 'rep_post_' . $post['post']['pid'], 'app' => 'forums', 'type' => 'pid', 'likeFormatted' => $post['post']['like']['formatted'] ), $post['post'] )"} <if test="postSignature:|:$post['post']['signature']"> {$post['post']['signature']} </if> <div class='ipsPostControls clear clearfix'> <ul class='post_controls right'> <li class='top hide'><a href='#top' class='top' title='{$this->lang->words['back_top']}'>{$this->lang->words['back_top']}</a></li> <if test="replyButton:|:$post['post']['_canReply']"> <li><a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" class='ipsButton_secondary' pid="{$post['post']['pid']}" title="{$this->lang->words['tt_reply_to_post']}">{$this->lang->words['post_reply']}</a></li> <if test="multiquote:|:!empty( $post['post']['_mq_selected'] )"> <li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> <else /> <li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> </if> <a href="{parse url="module=post&section=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['quote_with_mq']}">{$this->lang->words['mq']}</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="canDelete:|:$post['post']['_can_delete'] === TRUE OR $post['post']['_softDelete']"> <li class='post_del' id='del_post_{$post['post']['pid']}'> <a href='{parse url="module=moderate&section=moderate&do=04&f={$topic['forum_id']}&t={$topic['tid']}&p={$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'>{$this->lang->words['post_delete']}</a> </li> </if> <if test="approvePost:|:$this->memberData['is_mod']"> <li class='post_toggle toggle_post' id='toggle_post_{$post['post']['pid']}' style='display: none'> <a href='{parse url="app=forums&module=moderate&section=moderate&do=postchoice&tact=unapprove&selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['post_toggle_visible']}'><span id='toggletext_post_{$post['post']['pid']}'><if test="approveUnapprove:|:$post['post']['queued']==1">{$this->lang->words['post_approve']}<else />{$this->lang->words['post_unapprove']}</if></span></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 ( $this->memberData['member_id'] )"> <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> </ul> </div> <if test="reportedPostData:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu'> <li><a href="{parse url="app=core&module=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}" base="public"}" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li> <li><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']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li> </ul> <script type="text/javascript"> $('report_mark_{$post['post']['pid']}').observe('click', ipb.global.updateReportStatus.bindAsEventListener( this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2 ) ); </script> </if> </div> </div> </div> </if> <if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <script type='text/javascript'> ipb.topic.setPostHidden( {$post['post']['pid']} ); $('unhide_post_{$post['post']['pid']}').show(); </script> </if> <hr /> <if test="adCodeCheck:|:$post['post']['_adCode']"> {$post['post']['_adCode']} </if> <script type="text/javascript"> var pid = parseInt({$post['post']['pid']}); if ( pid > ipb.topic.topPid ){ ipb.topic.topPid = pid; } <if test="sDeletedNotMQ:|:! $post['post']['_isDeleted']"> // Show multiquote for JS browsers if ( $('multiq_{$post['post']['pid']}') ) { $('multiq_{$post['post']['pid']}').show(); } if( $('toggle_post_{$post['post']['pid']}') ) { $('toggle_post_{$post['post']['pid']}').show(); } // Add perm data ipb.topic.deletePerms[{$post['post']['pid']}] = { 'canDelete' : {parse expression="intval($post['post']['_can_delete'])"}, 'canSoftDelete' : {parse expression="intval($post['post']['_softDelete'])"} }; </if> </script> See if you can use my guide to make a hook for it, I'm sure it can be done. :wink: Not the messy way I did it. :<
Genestoy Posted June 14, 2011 Posted June 14, 2011 Well, that certainly did not work, nothing but errors :laugh: ooopppps will try the second one
Genestoy Posted June 14, 2011 Posted June 14, 2011 OK, that worked! Now if you could would you show me what you changed as I have already changed the topicViewTemplate with some other stuff that I don't want to re-write? Thanks for the help
Aisha Posted June 14, 2011 Posted June 14, 2011 OK, that worked! Now if you could would you show me what you changed as I have already changed the topicViewTemplate with some other stuff that I don't want to re-write? Thanks for the helpNope. :)
Aisha Posted June 14, 2011 Posted June 14, 2011 I didn't change much so it shouldn't have been that bad. :P
TCWT Posted June 14, 2011 Posted June 14, 2011 Another item removed - the icon showing that there is an image/photo that was uploaded into that topic - for us that have large numbers of photos that is a problem! I miss this too, useful if u want to download all attachments in a topic.
Aisha Posted June 14, 2011 Posted June 14, 2011 Whoa they removed the paperclip? I'm actually not too happy about that.. :s Whatever. I can add it back. ;D
Genestoy Posted June 14, 2011 Posted June 14, 2011 Whoa they removed the paperclip? I'm actually not too happy about that.. :s Whatever. I can add it back. ;D Yep, and that really sucks, so if they won't put it back then we need a hook or tell me how to put it back? I just keep finding things and it is not looking good for me.
Aisha Posted June 14, 2011 Posted June 14, 2011 Yep, and that really sucks, so if they won't put it back then we need a hook or tell me how to put it back? I just keep finding things and it is not looking good for me. Just let the final come out and give it another month and by then I think you'll be ready.
Management Matt Posted June 15, 2011 Management Posted June 15, 2011 Now we've examined why the glass is half empty, now lets look at how the glass is half full.
Ocean West Posted June 15, 2011 Posted June 15, 2011 having a solid secure platform built by career minded professionals, I take comfort. The last 2 forums engines I had used, seemed to be a spare time hobby as the developers thought their day job and vacations were more important. Matt & team never quit your day job :D with deserved accolades of a job well done, your efforts generate inspiration of where IPB will be in the future.
AndyF Posted June 15, 2011 Posted June 15, 2011 Now we've examined why the glass is half empty, now lets look at how the glass is half full. Could not agree more.
AndyF Posted June 15, 2011 Posted June 15, 2011 Speaking for myself, I've not noticed anything "missing" that I really could not do without. I actually see a fair bit more here but in more tidy, less cluttered way. :smile: , things are easier to find as a member. As a moderator, the tools are easier to use too without getting in the way when they are not needed. Picking one item: The 'paperclip' icon to indicate if a topic contains attachments, I'll be honest I did miss it initially when I was helping testing but after a few days you do not really notice it anyway, (I'm talking before this site was upgraded) as if it was never there and it did just clutter forum view up a bit anyway.
.Ian Posted June 15, 2011 Posted June 15, 2011 Speaking for myself, I've not noticed anything "missing" that I really could not do without. I actually see a fair bit more here but in more tidy, less cluttered way. :smile: , things are easier to find as a member. As a moderator, the tools are easier to use too without getting in the way when they are not needed. Picking one item: The 'paperclip' icon to indicate if a topic contains attachments, I'll be honest I did miss it initially when I was helping testing but after a few days you do not really notice it anyway, (I'm talking before this site was upgraded) as if it was never there and it did just clutter forum view up a bit anyway. Indeed, I think if people wish to highlight the fact that their post contains photos then the title of the thread should reflect that. I do not really need to know if someone has put an attachment onto a post - if the title is informative I will read it anyway.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.