The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
Did you try using the SHOWTHREAD Reply code as is, without the post ID part?
Code:
newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$FIRSTPOSTID |
#3
|
|||
|
|||
I did not... I wasn't sure of the purpose of including the $FIRSTPOSTID (or the postID part for that matter)... Does it serve any purpose?
|
#4
|
||||
|
||||
Code:
You have selected 1 post that is not part of this thread. Quote this post as well, or deselect this post. |
#5
|
|||
|
|||
Quote:
Any clarification on the different between the need for do=newreply&noquote=1&p=$FIRSTPOSTID, $FIRSTPOSTID and if $post[postid] is even needed? |
#6
|
||||
|
||||
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.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|