View Single Post
  #8  
Old 08-21-2013, 04:02 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
So, when you click on the big post reply buttons, you want it to just send you to the full reply?
There are two reply buttons, one in postbit marked "Reply" and one at the bottom of the thread marked "Reply to thread". Clicking on either opens up Quick reply. At least one of those should directly open up full reply. I'm guessing the "Reply to thread" button should go directly to Full reply because when I turn off quick reply the post bit "Reply" button disappears.

Only then will the "Reply to thread" button work correctly. Ultimately I need to just turn off Quick reply since it's causing so many issues, especially with that pop-window that appears. Problem is I can't turn it off because then a hack for selective quoting also goes away. The only way I can think of to get around this would be to hard code some kind of "if" code for the quote button, but I've forgotten how do that, and if the quick reply worked correctly then I wouldn't need to anyway.

--------------- Added [DATE]1377064559[/DATE] at [TIME]1377064559[/TIME] ---------------

I think if I just turn off quick reply and put some kind of conditional around the quote button, then the quote button should still appear. Here is the code for the quote button (in red) can someone explain why it disappears when quick reply is turned off? It's supposed to appear next to the standard quote button.

Code:
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
					<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><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>
				{vb:raw wog_quick_quote_button}
				<vb:if condition="$post['replylink']">
					<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" />  <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a> 
				<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>

In case anyone needs it, here is the code for the quote button:

Code:
<a id="wog_qquote" href="javascript:wog_qq({vb:raw post.postid}, '{vb:raw post.wog_qquote_username}')" class="quickquote" rel="nofollow"><img id="wog_qquoteimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase wog_qquote_qbutton}" /> {vb:rawphrase wog_qquote_qbutton}</a>
					<span class="seperator">&nbsp;</span>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01258 seconds
  • Memory Usage 1,779KB
  • Queries Executed 11 (?)
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
  • (2)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete