vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Adding a reply button to postbit without quote/no quote/no nested quote? (https://vborg.vbsupport.ru/showthread.php?t=212573)

Ogmuk 04-30-2009 09:02 PM

Adding a reply button to postbit without quote/no quote/no nested quote?
 
I've done some searching but I wasn't able to find it. I'm not looking to replace the quote button with a stripquote button. I'm trying to add the reply_small.gif button left of the regular quote button, which would only show when reading a post (i.e. not PMs), and which would result in an ordinary reply, without quote.

This is the closest what I could find, but it's for PM:
http://www.vbulletin.com/forum/showthread.php?t=240878

mmoore5553 05-02-2009 01:22 AM

I do not understand your question but those edits are in the postbit template or postbit legacy. It has all the buttons listed there .

Ogmuk 05-02-2009 05:46 AM

I'm simply looking to add a "Reply" button to each post, left of each "Quote" button. So people have the option to reply without quoting the post they are replying to.

mmoore5553 05-02-2009 09:49 AM

If you have quick reply on you should see post reply right under the post. That is there by default. Is is not there ? Quick reply you can set in your vbulletin options where you can just reply and hit send . Also there shoudl be a regular post that is one without quotes. If still confused or need help PM me link to forum and i can take a look but both of those options should be there and easier but the other is possible but not sure why needed. Just like this forum you hit post reply and then type and submit.

Ogmuk 05-02-2009 02:13 PM

Thanks for taking the time to respond. I know of the Quick Reply and the Post Reply button on the bottom but the problem is, some of the users of my forum apparently do not and often quote an entire post and then respond to it with 1 word. I don't want to remove the quote options altogether, just add a reply button left of quote, which would bring them to the same window as pressing on "Post Reply" with the only difference that it shows correctly to which person the people is replying in Display Mode > Hybrid Mode (not like anyone uses it, but still). So I guess I'm trying to make it a little newbie friendlier. :)

mmoore5553 05-02-2009 04:01 PM

<td class="smallfont"><a rel="nofollow" href="newreply.php?do=newreply&amp;noquote=1&amp;p =1803047"><img border="0" alt="Reply" src="images/cstyle/blue/buttons/reply.gif" title="Reply"/></a></td>

here is the actually code for button. This will be in postbit or postbit legacy.

Lynne 05-02-2009 04:04 PM

That is correct, except this part: &amp;p=1803047
You need to do this: &amp;p=$post[postid]

Ogmuk 05-02-2009 04:16 PM

Thanks again. But don't I need to include a if condition to keep it from showing on any other page other than the thread view? For instance, in the template mod which I linked above, the following if condition is used:
<if condition="THIS_SCRIPT == 'private'"></if>

Which script do I need to refer to for thread view?

mmoore5553 05-02-2009 04:36 PM

hahha thanks lynn i should have caught that one when i posted it but did it real quick from an Iphone lol

Lynne 05-02-2009 04:54 PM

If you only want it to show on threads, then you can put this condition around it:
HTML Code:

<if condition="THIS_SCRIPT == 'showthread'"><td class="smallfont"><a rel="nofollow" href="newreply.php?do=newreply&amp;noquote=1&amp;p=$post[postid]"><img border="0" alt="Reply" src="images/cstyle/blue/buttons/reply.gif" title="Reply"/></a></td></if>


All times are GMT. The time now is 01:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01019 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete