View Single Post
  #3  
Old 08-05-2010, 08:28 AM
Ezswo Ezswo is offline
 
Join Date: Oct 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wilfred1 View Post
Step 3
This step will add a link in the footer of each post to go directly to the full advanced post editor page.

Edit your postbit_legacy (or postbit) template Styles & Templates -> Style Manager

Look for (lines 190-193)
Code:
                    <vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
                    <span class="seperator">&nbsp;</span>
                    </vb:if>
After that add this code:
Code:
<!-- added advance reply -->
                    <vb:if condition="!$show['threadedmode']">
                        <a class='quickreply' href="newreply.php?{vb:raw session.sessionurl}p={vb:raw post.postid}&amp;noquote=1" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="Advanced reply" /> Adv {vb:rawphrase reply}</a>
                        <span class="seperator">&nbsp;</span>
                    </vb:if>
<!-- end added advance reply -->
Note...to help your users to clearly distinguish between the two reply modes you may like to add the word Quick like shown here to:
Code:
quick_reply_to_this_message}" /> Quick {vb:rawphrase reply}</a>
to the code a couple of lines above
I want to thank you for this! This way it's way better than a double-click feature, which is very unusual on websites.

I just have one question, I applied step 3 also, but this also creates an extra Reply-"button" to a PM. So, now you have two options under a PM, "Reply" and "Reply to PM"... of course the first one isn't working, but it's confusing. How can we get rid of this extra "button" in a PM, but retain it under "normal" posts. Added an attachment for clarity.

Thanks!
Attached Images
File Type: jpg Reply_PM.jpg (50.5 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01517 seconds
  • Memory Usage 1,790KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete