View Full Version : PM reply button (no quotes)
Keyser S?ze
02-24-2005, 02:20 AM
what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes
can anyone do this and make my day ;D
thanks
BamaStangGuy
02-24-2005, 06:07 AM
what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes
can anyone do this and make my day ;D
thanks
This needs to be standard for one cause its annoying erasing the quoted stuff after you have been pming someone back and forth for awhile
Keyser S?ze
02-24-2005, 01:51 PM
exactly
or sometimes u just dont want to quote
also a nice big "NEW PM button would be nice, some new members that arent use to using the PM system dont see the "send a PM" link
Zachery
02-24-2005, 02:01 PM
exactly
or sometimes u just dont want to quote
also a nice big "NEW PM button would be nice, some new members that arent use to using the PM system dont see the "send a PM" link
I have a template edit on vB.com for just adding a reply button (send a new pm to them, no title, no quotes)
Keyser S?ze
02-24-2005, 04:57 PM
you got a link to it?
Keyser S?ze
02-28-2005, 04:28 PM
anyone going to be able to do this? thanks
Zachery
02-28-2005, 04:57 PM
anyone going to be able to do this? thanks
Its a simple template edit
http://www.yoursite.com/forum/private.php?do=newpm&userid=$post[userid]
and if you only want it to show on private.php you add a conditional
<if condition="THIS_SCRIPT == private"> </if>
Paul M
02-28-2005, 05:18 PM
what i would love, is to have like we did in VB2, with in a Pm a reply button that when u press it, just replys to the person, without any quotes
can anyone do this and make my day ;D
thanks
See Quote options in thread and private message replies (https://vborg.vbsupport.ru/showthread.php?s=&threadid=73541).
Keyser S?ze
03-11-2005, 07:29 PM
Its a simple template edit
http://www.yoursite.com/forum/private.php?do=newpm&userid=$post[userid]
and if you only want it to show on private.php you add a conditional
<if condition="THIS_SCRIPT == private"> </if>
im sorry maybe im just not smart enough but that explination just doesnt make me understand what i need to do to add a reply button in the private messages
i dont want to change anything to the postbit (when i say that i mean, im perfectly happy with the way it is set up now as it is), its just the private messages i want a reply button, i do however relize that the private message system is run partially off the postbit
but what im not sur eof is what to change where or add there, u see
thanks
why-not
03-11-2005, 10:48 PM
You can also do it like this!
Open 'private.php'
FIND THIS!
if ($_REQUEST['stripquote'])
{
$pagetext = strip_quotes($pm['message']);
}
else
{
// this is now the default behavior -- leave quotes, like vB2
$pagetext = $pm['message'];
}
$pagetext = trim(htmlspecialchars_uni($pagetext));
eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
REPLACE WITH
if ( empty ( $_REQUEST['noquote'] ) )
{
if ($_REQUEST['stripquote'])
{
$pagetext = strip_quotes($pm['message']);
}
else
{
// this is now the default behavior -- leave quotes, like vB2
$pagetext = $pm['message'];
}
$pagetext = trim(htmlspecialchars_uni($pagetext));
eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
}
else
{
$pm[message] = '';
}
Go to templates => 'postbit' and 'postbit_legacy' (1) edit (SAME EDIT) each template!
FIND THIS!
<if condition="$post['replylink']">
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
REPLACE WITH
<if condition="$post['replylink']">
<if condition="THIS_SCRIPT=='private'">
<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/quote.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
<a href="$post[replylink]&noquote=1"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply_to_private_message]" border="0" /></a>
<else />
<a href="$post[replylink]"><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>
This allows for reply to PM with quote and reply to PM no message, but will load the title and who you are replying too!
Sonia
Keyser S?ze
03-12-2005, 08:03 PM
works!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.