View Full Version : A Simple Reply Button For PMs
thuffner
01-24-2004, 12:13 AM
No idea why vB insists on having only a "quote" button for an open PM.
Anyone have an idea to have a button that allows a simple "Reply" to the PM, that has an RE in the subject line and no quote? My members were very confused with the quote button and do not like it at all...
Thanks! :)
Giveit2u43
01-24-2004, 01:59 AM
I got the same reaction... so in private.php I found:
// quote reply
$originalposter = fetch_quote_username($pm['fromusername']);
and changed it to:
// quote reply
// $originalposter = fetch_quote_username($pm['fromusername']);
then change:
if ($_REQUEST['stripquote'])
{
$pagetext = strip_quotes($pm['message']);
}
else
{
// this is now the default behavior -- leave quotes, like vB2
$pagetext = $pm['message'];
}
to:
$pagetext = strip_quotes($pm['message']);
and then in the postbit, I changed:
<if condition="$post['replylink']">
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_with_quote]" border="0" align="absmiddle"/></a>
</if>
to:
<if condition="$post['replylink']">
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="THIS_SCRIPT == 'private'">reply_small2.gif<else />reply_small.gif</if>" alt="$vbphrase[reply_with_quote]" border="0" align="absmiddle"/></a>
</if>
and then saved a reply gif as reply_small2.gif uploaded that, and now everyone`s happy again..
thuffner
01-24-2004, 05:53 AM
Thanks for the reply! But I did the changes and it didn't work. :(
Anybody else tried this and did it work
Regards
sabret00the
04-29-2004, 05:12 PM
you could do it via conditionals :^)
you could do it via conditionals :^)
Wish I had the know how to do that
SVTBlackLight01
04-29-2004, 06:49 PM
Believe it or not there is actually a discussion and a fix for this at vb.com.
http://www.vbulletin.com/forum/showthread.php?t=98437&highlight=reply+button
Believe it or not there is actually a discussion and a fix for this at vb.com.
http://www.vbulletin.com/forum/showthread.php?t=98437&highlight=reply+button
Indeed there is, but the last post is from triage who is a site admin on my forums, we have tried it over and over again and it does not work, thanks for letting me know though
Chet
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.