The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Why not simply replace the quote button with a reply button?
|
#12
|
|||
|
|||
It doesn't appear to be so simple.
The Post Reply button is accompanied with code dealing with whether a thread is closed or not. It also comes from the SHOWTHREAD template instead of the postbit template. Most likely there are code differences. |
#13
|
|||
|
|||
Unless I'm reading this whole discussion wrong, I thought you could solve the quote problem by not quoting at all in the reply. If someone wishes to reply with a quote, they will have to cut and paste.
In the postbit and postbit_legacy templates... replace... <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> with... <a href="$post[replylink]&noquote=1" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply]" border="0" /></a> |
#14
|
|||
|
|||
You have pointed out what I haven't seen - the forest for the trees or whatever that saying goes.
Apparently, all I need to do is add this code... Code:
<if condition="$post['replylink']"> <a href="$post[replylink]&noquote=1" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply]" border="0" /></a> </if> Code:
<if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> So, where did "&noquote=1" come from? That's the key! Sometimes things can be so simple with a little nudge in the correct direction. Thank you. Now, if we had the <if> statement to flag the last post in a thread, we could choose the proper code from above, reply or quote. How's this? Code:
<!-- Start last post reply Hack --> <if condition="$post['islastshown'] AND $post['replylink']"> <a href="$post[replylink]&noquote=1" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply]" border="0" /></a> <else /> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if></if> <!-- End last post reply Hack --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|