![]() |
No-quote reply button in postbit possible?
Running 3.7.2 and I am trying to get a reply button to show up inside the postbit. Essentially I'd like to have buttons for reply (no quote), quote, multi-quote, quick-reply.
I have tried to grab the code for new reply from the showthread and using it in the postbit. Some examples: Code:
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$post[postid]" rel="nofollow"><img src="$stylevar[imgdir_button]/postbitreply.gif" alt="reply to post" border="0" /></a> Code:
<a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$post[postid]" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/postbitreply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a> Any hints on what I am doing wrong? |
Did you try using the SHOWTHREAD Reply code as is, without the post ID part?
Code:
|
Quote:
|
Code:
You have selected 1 post that is not part of this thread. Quote this post as well, or deselect this post. |
Quote:
Any clarification on the different between the need for do=newreply&noquote=1&p=$FIRSTPOSTID, $FIRSTPOSTID and if $post[postid] is even needed? |
The "p" variable is shorthand for "post", it is only there to determine which thread you're replying to, any post's ID in that thread will do. I believe also, that "t" ("thread") will also work, you specify the thread ID in this case.
|
All times are GMT. The time now is 01:58 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|