PDA

View Full Version : Quick PM Reply Box for Private Messages


Erwin
01-09-2004, 10:00 PM
Quick PM Reply Box for Private Messages Version 1.4
---------------------------------------------------------

vB3 Enhanced Version!

Finally, I've upgraded this popular hack for vB 3.0.x - it should work with all versions of vB3.

Update:
--------------------

Version 1.4 :

1) Choose to use no toolbars, normal toolbar or WYSIWYG toolbar.

2) Choose to show smilie box or not.

3) Choose to show posticons or not.


To do this, edit these sections of the code you have added:


// 0 = no toolbar, 1 = standard toolbar, 2 = wysiwyg toolbar
$vboptions['allowvbcodebuttons'] = '2';
// 0 = no smilie box, 1 = smilie box shown
$vboptions['wysiwyg_show_smiliebox'] = '1';


AND



// Uncomment line below to stop showing posticons
// $posticons = '';



Functions:
--------------------------

It's similar to Quick Reply for Threads, except that this is Quick Reply for PMs - when you go in to read a PM, there is a Quick Reply Box underneath the PM, with the Username inserted, Subject with RE: filled in, and the message already quoted.

This vB3 version also has the WYSIWYG buttons, smilies and posticon choices listed as well, depending on what you have set up in your ToolBar settings in Options. You can also now customize this - you can choose to have no toolbar, the normal toolbar, the WYSIWYG toolbar, the smilie box or the posticons or not! :)

There are also checkboxes to save a copy, show your signature, automatically parse links or disable smilies in text. Also, these options are in a box that is collapsible.

This hack uses the normal vB3 Phrases that are already existent. So no need to do any translating.


Installation:
---------------------------

Very simple. It's a matter of editing 1 PHP file, and 1 template.

Believe it or not, that's all!

The installations instructions are in the install HTML file in the ZIP file below.

Enjoy! :D


Updates:
----------------------

Version 1.2 - Fixed it so it works with WYSIWYG. Removed the Message Tracking checkbox feature I had in Version 1.1 - I'll keep the Popup Windows for now. NOTE: Delete doesn't work in Gamma - this is fixed in RC 1 and 2. ;)


Screenshots:
-----------------------------

This is a bit redundant since this hack is already installed here, but I will put a couple up anyway. :)

The first screenshot shows how the Quick PM Reply Box is underneath the PM you are reading, with the Recipient's username, Subject with RE:, and Message in quotes automatically put in already. You can also see the WYSIWYG toolbar and smilie panel (depending on what you have set up in your User CP Options).

The second screenshot shows the checkboxes to save a copy, show your signature, automatically parse links or disable smilies in text. These options are in a box that is collapsible.

g-force2k2
01-10-2004, 07:53 AM
Thanks Erwin for the hard working hacking you've been doing lately :)

I'm sure plenty of people will appreciate this hack.

Cheers,
g-force2k2

SnowBot
01-10-2004, 07:58 AM
* SnowBot hits the button :)

ta fella

Erwin
01-10-2004, 07:58 AM
Thanks Erwin for the hard working hacking you've been doing lately :)

I'm sure plenty of people will appreciate this hack.

Cheers,
g-force2k2
No problems. :) It's my pleasure.

Erwin
01-10-2004, 09:29 AM
Okay, I had to re-edit the installation file - I got the name of the template wrong. I also added the Message Tracking checkbox feature to the Quick PM Reply Box.

If you downloaded this hack before this post was made, please re-download and re-install it. :)

You can test the Message Tracking checkbox in the Quick PM Reply Box here at vBulletin.org - it works. ;)

Like I said above, the PopUp Message Tracking Window still happens in the Normal PM Reply Page. For Quick PM Reply - there is no PopUp Window - use the checkbox instead. ;)

hume
01-10-2004, 09:33 AM
The installations instructions are in the install HTML file in the ZIP file below

I can't see file ZIP???

Erwin
01-10-2004, 09:34 AM
I can't see file ZIP???
It's there now. :) I was updating the instructions.

SnowBot
01-10-2004, 09:36 AM
nice and fast mate, ta

Boofo
01-10-2004, 10:09 AM
Excellent work! Been waiting for this one. ;)

I have run into a small problem, though. The Delete this message checkbox no longer works with the hack installed. Did I miss something when installing it?

EDIT: The delete this message box doesn't work on here now, either.

PranK
01-10-2004, 11:04 AM
Erwin - you rock!

/me clicks install

Christian

Zelda-King
01-10-2004, 12:27 PM
Hmm, rather than explain this I'll just show it;

I downloaded the file shortly before this post. When I reply to myself thus;

TestTest
I get;
Test
No reply shows. If I reply to that I get;
Test
Again, no reply.
I don't have this problem on vbulletin.org so I'm going to try the installation a third time.

EDIT: No joy. Can anyone verify the updated file works for them?

FleaBag
01-10-2004, 03:24 PM
A very handy addition, I never did install this for vB2, actually I did but ran into problems - hopefully no such problems here. :D

Nmidia
01-10-2004, 04:11 PM
so far there have only been 3 hacks that worked first time for me, with no messing around. This is one of them:) It worked like a dream. Very nice function mate:)

Zelda-King
01-10-2004, 05:23 PM
It did? I'll redownload the file.

EDIT: Still no good. Has this been confirmed working on RC2?

monstergamer
01-10-2004, 05:29 PM
now this is really cool :D
thanx for making this and i well install later for now i well click the install button

Boofo
01-10-2004, 05:44 PM
It did? I'll redownload the file.

EDIT: Still no good. Has this been confirmed working on RC2?
Yes. I'm running it on RC2 with no problems (except the Delete this message button doesn't work yet).

M1th
01-10-2004, 06:48 PM
Yes. I'm running it on RC2 with no problems (except the Delete this message button doesn't work yet). Very nice but, "Executed 25 queries (13 queries for uncached templates)"!! :D hehe

Might want to add the templates to the precached array. :)

Boofo
01-10-2004, 07:24 PM
Very nice but, "Executed 25 queries (13 queries for uncached templates)"!! :D hehe

Might want to add the templates to the precached array. :)
Woahhh, I'm glad you caught that. I had 15 queries from uncached templates. Took it down to 16 from 31 here. Thanks! ;)

Erwin
01-10-2004, 07:47 PM
Woahhh, I'm glad you caught that. I had 15 queries from uncached templates. Took it down to 16 from 31 here. Thanks! ;)
Boofo, if you don't mind, can you post here the templates to be cached. ;) I can't believe I missed that. LOL! Also, regarding the delete button, I will look into fixing it. Thanks for pointing it out.

Erwin
01-10-2004, 08:01 PM
I updated the ZIP file with the new templates to cache. :)

M1th
01-10-2004, 08:03 PM
I updated the ZIP file with the new templates to cache. :)
heh, was about to post a fix.. beat me to it. ;P

Boofo
01-10-2004, 08:15 PM
Here you go, sir. ;)



'pm_newpm',
'editor_clientscript',
'editor_jsoptions_font',
'editor_jsoptions_size',
'editor_smilie_wysiwyg',
'editor_smiliebox',
'editor_smiliebox_category',
'editor_smiliebox_row',
'editor_smiliebox_straggler',
'editor_smiliemenu_category',
'editor_smiliemenu_smilie',
'editor_toolbar_wysiwyg',
'newpost_disablesmiliesoption',
'newpost_quote',
'posticonbit',
'posticons',



Also, is there any way to add this:

&stripquote=1

to strip the extra quotes from the quick pm reply box?

Boofo
01-10-2004, 09:11 PM
Erwin, you forgot to add:

'editor_smiliebox_straggler',
to the templates to be cached. ;)

Zelda-King
01-10-2004, 09:12 PM
1) 'posticons' in the new file has no , after it and that's giving me a parse error.
2) If I add the , it's OK until I go to read my messages, then I get "Fatal error: Call to undefined function: fetch_quote_username() in /domain/forums/private.php on line 1385".

EDIT: I got the last bit fixed by using a different PHP editing program. I still have my original problem though with reply text not being sent.

MGM
01-10-2004, 10:12 PM
I loved the hack for vB2, ill be sure to use this one ;)

* MGM clicks Install

MGM out

albibak
01-10-2004, 10:31 PM
Just a remark.
Erwin, in your instruction in the zip file, you forgot the ',' after 'posticons' in the file private.php ;) and it's the problem of Zelda_King if he does a copy-paste : result "parse error" :)

Thx for the hack

Erwin
01-11-2004, 03:49 AM
Yes. I'm running it on RC2 with no problems (except the Delete this message button doesn't work yet).
The Delete Button works now. :)

Just a note: The delete button has never worked in vB3 Gamma - it is a known vB3 Gamma bug. The fix is in the vB3 Tracker at vB.com. However, the delete button works in RC1 and 2. This issue brought me 1 hour of grief here at vB.org because we are still using Gamma here - I was trying my best to fix this here, and in the end, realized that the problem here was a Gamma bug and not due to the hack! :) The problem for RC1 and 2 has been fixed by me in any case.

Erwin
01-11-2004, 03:52 AM
Update: Version 1.2
--------------------------------

1. Added the correct templates to be cached.
2. Fixed the Quick PM Reply form so that it works when WYSIWYG is fully on.
3. Fixed the Delete PM button bug.
4. Removed the Message Tracking checkbox option - we are back to Popup Windows. (I'm trying to keep the hack simple).


To update:
----------------

1. Revert pm_newpm template to default - we don't have to change this anymore.
2. Replace the PHP code in private.php
3. Edit pm_showpm template and move $quickpmreply to the very BOTTOM of the template.

Done! :)

PranK
01-11-2004, 07:01 AM
Thanks Erwin! :)

* PranK thanks Erwin
^i love that thing!

Christian

SnowBot
01-11-2004, 07:57 AM
Thanks for the update fella :)

* SnowBot updates

albibak
01-11-2004, 09:29 AM
Thx Erwin for the update :)

Zelda-King
01-11-2004, 10:21 AM
Just to say since the last update, my problem with replies not showing is solved. The hack works fine. :)

Boofo
01-11-2004, 12:37 PM
Update: Version 1.2
--------------------------------

1. Added the correct templates to be cached.
2. Fixed the Quick PM Reply form so that it works when WYSIWYG is fully on.
3. Fixed the Delete PM button bug.
4. Removed the Message Tracking checkbox option - we are back to Popup Windows. (I'm trying to keep the hack simple).


To update:
----------------

1. Revert pm_newpm template to default - we don't have to change this anymore.
2. Replace the PHP code in private.php
3. Edit pm_showpm template and move $quickpmreply to the very BOTTOM of the template.

Done! :)
Thank you, sir. ;)

Kier did a little code a while back that makes the pop-up receipt window into a checkbox (like you had here before you changed it). I am using that. Is there anything I neeed to take out of this hack that will interfere with that now?

Also, any luck on getting rid of the extra quotes? ;)

Boofo
01-11-2004, 06:28 PM
The delete this message box still doesn't work for me.

Zelda-King
01-11-2004, 06:34 PM
Hmm, it reacts more but it takes me to the "Invalid Private Message specified. If you followed a valid link, please notify the webmaster" template and the message doesn't get deleted.

Boofo
01-11-2004, 06:37 PM
It is working here, too, now. I forgot to move $quickpmreply to the bottom of the template. Erwin changed that in the new version and I didn't catch that until now. Sorry about that, Erwin. All is well here. ;)

Boofo
01-11-2004, 06:38 PM
Hmm, it reacts more but it takes me to the "Invalid Private Message specified. If you followed a valid link, please notify the webmaster" template and the message doesn't get deleted.
That was a bug in the Gamma. There is a fix for it on vb.com.

Boofo
01-12-2004, 08:26 PM
Erwin, I think I found a bug in this hack. It only happens if you have the pm attachments hack installed. Whenever you reply to a message with the quick reply button, it adds all of the attachmnets you have in the pm area to the outgoing message. The regular reply button for the regular reply doesn't do this. Any way to fix this, sir? ;)

Zelda-King
01-12-2004, 08:46 PM
That was a bug in the Gamma. There is a fix for it on vb.com.If this is a fixed Gamma bug then why am I seeing it in RC2?

EDIT: Forget all that. It works fine. I can delete messages. I'd just not clicked the checkbox that time. DOH!

Erwin
01-12-2004, 11:21 PM
Erwin, I think I found a bug in this hack. It only happens if you have the pm attachments hack installed. Whenever you reply to a message with the quick reply button, it adds all of the attachmnets you have in the pm area to the outgoing message. The regular reply button for the regular reply doesn't do this. Any way to fix this, sir? ;)
I can't fix a bug caused by another hack. :)

Boofo
01-12-2004, 11:41 PM
No problem. Problem is solved.

Kentaurus
01-13-2004, 03:49 AM
If you installed the most recent version of the attachments in pm you will not have any problems, but if you installed it before this post was made then please go here: https://vborg.vbsupport.ru/showthread.php?p=461694#post461694 as you might have to make some code modifications.

Boofo
01-24-2004, 02:58 AM
Erwin, with the Quick PM Reply hack installed this:

Confirm Outstanding Receipt

no longer has the reciept recipient name before it. It looks like this now:

has requested a read receipt - Confirm?
with no name at the beginning. It is the same way on here. Can this be fixed? ;)

Erwin
01-28-2004, 09:50 AM
Erwin, with the Quick PM Reply hack installed this:



no longer has the reciept recipient name before it. It looks like this now:


with no name at the beginning. It is the same way on here. Can this be fixed? ;)
I never noticed that. :) I am very busy with a new job at the moment, so when I find the time I will do it.

catocom2
02-07-2004, 02:23 AM
This works great with RC4 too. :up:

Boofo
02-13-2004, 06:40 AM
And fix yet for the

Confirm Outstanding Receipt

not showing the from username?

Erwin
02-13-2004, 10:39 AM
I'm still trying to find time to upgrade my forums, as well as reorganize my forum categories. :) Sorry, I just got a new job which is extremely busy. I will get to it.

sharjah
02-18-2004, 02:28 PM
Excellent work.

Installed.

Kentaurus
03-06-2004, 09:19 PM
For the people that are using the attachments in private messages (https://vborg.vbsupport.ru/showthread.php?s=&threadid=59840) hack, if you want to add attachment support for the quick reply:

in Erwin's hack, look for this:


$signaturechecked = iif($bbuserinfo['signature'] != '', HTML_CHECKED);


change it to

$signaturechecked = iif($bbuserinfo['signature'] != '', HTML_CHECKED);
$attachtypes = unserialize($datastore['attachmentcache']);
$poststarttime = TIMENOW;
$posthash = md5($poststarttime . $bbuserinfo['userid'] . $bbuserinfo['salt']);
$attachurl = "privateattachment=1";

eval('$attachmentoption = "' . fetch_template('newpost_attachment') . '";');


You need the attachments in pm hack and this hack installed of course.

Wifey
03-15-2004, 05:46 PM
Okay, I'm new to hacking in vB and I just installed this and it looks a little different from yours - instead of Post New Reply it says Send, but I'm pretty sure I did it right! I attached screencaps - ignore the ugly colors, I'm working on it ;)

Boofo
03-16-2004, 08:10 PM
You did it right. That is how it is supposed to look and what it is supposed to say. ;)

Wifey
03-17-2004, 03:52 AM
Thanks Boofo, I just wanted to make sure!

oo, and since I forgot before

/me clicks install

Erwin
04-06-2004, 11:47 AM
Quick PM Reply Update Version 1.3

I've fixed the "has requested a read receipt - Confirm" username bug.

I've updated the ZIP file.

For those who wish to upgrade manually, it's fairly simple.

In private.php,

Find:


eval('$quickpmreply = "' . fetch_template('pm_newpm') . '";');


ABOVE that, add:


$pm['username'] = $pm['fromusername'];


Done! :)

djohn
04-06-2004, 11:51 AM
Odd, installed ver 1.2 10 mins before you posted and update. Not sure what the bug was, bit I've updated anyway. Thanks!

Erwin
04-06-2004, 11:52 AM
Odd, installed ver 1.2 10 mins before you posted and update. Not sure what the bug was, bit I've updated anyway. Thanks!
If you installed version 1.3, then this bug would have been fixed. :)

SnowBot
04-06-2004, 09:48 PM
cheers for the update Erwin :)

GamerJunk.net
04-10-2004, 06:55 PM
Sweet I can't wait to install this!

Beermonster
04-11-2004, 06:11 PM
* Beermonster clicks install

Thanks :)

welo
04-25-2004, 05:24 AM
Installed. Look like it could come in handy. :)

For future versions though, I would suggest installing a quick reply button in the PM which at the very least anchors to the reply box, or better yet, automatically expands a collapsable message box just like the board's quick reply system does.

Regardless, nice hack.

Host Directory
04-26-2004, 09:50 PM
Nice hack... but is there a way to get rid of the quote in the reply box?

The reason i wanted this hack is because for some reason the devolopers of vb3 decided to only allow reply pms with quotes.. i am referring to the options.. forward or reply with quote - they left out the normal reply button. So you have to manually delete the quotes - not very user friendly.

This is a great hack but can i do something with the code to remove the quotes?

JoergZ
04-27-2004, 08:59 PM
I had that hack in my vB2 and would like to install it in vB3 as well. But I don't like it, that the big WYSIWYG-Box is shown as quick-reply.

I want the same small quick-reply box as at the end of the threads, when you have activated the standard-option of vB3 for quick-reply to threads.

Maybe 2 versions of your hack ? One with big box and one with small box ? :rolleyes:

Or can you give a quick instruction how to replace the QYSIWYG-box by the small standard-box ?


Best regards

J?rg

Elmer
05-01-2004, 03:14 PM
Awesome job but.. I would like the same Quick Reply box shown at the bottom of every thread in the forums... that one you have made it's a full reply box.

Keyser S?ze
05-18-2004, 05:26 PM
erwin:

would it be better and save room to NOT show the user name feild and subject, since its obvious that they are replying to that person, why show the 2 fileds?

also is there a way to have it not auto quote, maybe have a little checkbox under it with a "quote message?" and if u check it then it quotes, most of the time i dont want to quote someone in a PM cuz its too long

this is what i dont understand if its a quick reply why does it have all the functions of a normal rely, thats sucks IMO

Keyser S?ze
05-27-2004, 04:43 AM
any updates?

sketch42
05-30-2004, 07:26 PM
is this possible with this hack??? ive done it to the standard forum quick reply but id love it in here as well
Making Quick Reply available only to x Usergroups
I want to setup quick reply to be used for only certain usergroups, and others won't even see the box there so they won't have to worry about complaining that they can't use it.
https://vborg.vbsupport.ru/showthread.php?t=63183

ChrisBaktis
06-05-2004, 01:52 PM
I just installed this hack and all works great except that the delete the PM still doesnt work...I saw a post that this was corrected but it didnt...any help?

Chris

sketch42
06-05-2004, 06:09 PM
I just installed this hack and all works great except that the delete the PM still doesnt work...I saw a post that this was corrected but it didnt...any help?

Chris
check that u installed it properly ... cuz it works fine for me

lifesourcerec
06-06-2004, 08:00 AM
I'm showing that editor_smile_standard and editor_toolbar_standard are uncached. Should I add those also?

Erwin
06-06-2004, 11:55 AM
I'm showing that editor_smile_standard and editor_toolbar_standard are uncached. Should I add those also?
Yup. :)

Erwin
06-06-2004, 12:00 PM
Added those templates to my ZIP file. Thanks for reminding me. I never thought of users who might use the standard editor.

lifesourcerec
06-06-2004, 02:57 PM
1 more uncached template I can't seem to fix. While looking at the inbox (private.php?), everything is cached. But when I click to read a PM (private.php?do=showpm&pmid), board_inactive_warning template is uncached. Is there a way to fix that? I tried adding it to the showpm, global, etc. (moved it around), and it is still uncached.

Erwin
06-06-2004, 08:23 PM
1 more uncached template I can't seem to fix. While looking at the inbox (private.php?), everything is cached. But when I click to read a PM (private.php?do=showpm&pmid), board_inactive_warning template is uncached. Is there a way to fix that? I tried adding it to the showpm, global, etc. (moved it around), and it is still uncached.
That's only if you switch off your forums isn't it? Not sure why that's the case.

Boofo
06-06-2004, 08:30 PM
That is the design of it in vB3. They didn't do that on purpose since that is really one of the few templates that run to most users when the board is closed down. There was a thread about it on the com a while back.

lifesourcerec
06-06-2004, 11:00 PM
That's only if you switch off your forums isn't it? Not sure why that's the case.

I'll have to check. I still have one uncached with the board being active. I'll check tonight when traffic is low.

ChuanSE
06-09-2004, 03:25 PM
Installed second time :D

hitmanuk2k
06-26-2004, 06:51 PM
how do you like not have the reply box attached to the delete table also. all the other tables on the page have a gap... except the new quick reply box and delete message... these are together. what code can i add to change this?

misuse
06-30-2004, 03:38 AM
Thanks for making this hack. Everyone on my forums loves it.

SaN-DeeP
06-30-2004, 11:25 AM
thnx a lot for the hack erwin :)

is it possible to just add the quickreply, the way it appears for threads ?

i meant, i dunt want to copy the entire contents of the message, and display there, reply to this private message instead of send new private message ;)

Sounds perfect i hope ^_^

Sandy...

Erwin
07-18-2004, 04:54 AM
Update

Version 1.4 :

1) Choose to use no toolbars, normal toolbar or WYSIWYG toolbar.

2) Choose to show smilie box or not.

3) Choose to show posticons or not.

To update manually, do this -

1) In private.php, find the SECOND occurrence of this (ie. where this HACK was installed - note, the SECOND occurrence, NOT the first)


require_once('./includes/functions_editor.php');


Above, add:


// 0 = no toolbar, 1 = standard toolbar, 2 = wysiwyg toolbar
$vboptions['allowvbcodebuttons'] = '2';
// 0 = no smilie box, 1 = smilie box shown
$vboptions['wysiwyg_show_smiliebox'] = '1';


Make the appropriate changes as you like according to the comments.

2) Then, find:


eval('$quickpmreply = "' . fetch_template('pm_newpm') . '";');


Above, ADD:


// Uncomment line below to stop showing posticons
// $posticons = '';


Uncomment the second line if you don't want post icons to show up.

That's it for the version 1.4 update - a small update, but this means you can make the Quick PM Reply box as complex or as bare as you like, without touching the templates. ;)

turbidblue
07-21-2004, 10:48 PM
awesome hack! thanks!!

* turbidblue clicks install :)

Hiro
08-08-2004, 07:00 PM
Great hack, ty

Keyser S?ze
08-15-2004, 07:29 PM
is good but its nothing like a normal "quick" reply box, is good u gave the option to get rid of somethings tho, thanks

but still, woud be lovly to have it

- not auto-quote
- not show who it is being sent to or subject line

Erwin
08-16-2004, 02:08 AM
is good but its nothing like a normal "quick" reply box, is good u gave the option to get rid of somethings tho, thanks

but still, woud be lovly to have it

- not auto-quote
- not show who it is being sent to or subject line
If you don't want auto-quote, all you need is a template mod, no need to install this hack.

The reason why there is the input box for "To:" and the "Subject:" is to give you flexibility to add more members to CC the PM to, and modify the subject.

Keyser S?ze
08-16-2004, 03:44 AM
what i ment was not auto-quote in the PM box

any chance u will take v1.5 to allow ppl to disable or enable to to/subject, like u did wit the smilies and such

thanks

Keyser S?ze
08-18-2004, 07:26 PM
If you don't want auto-quote, all you need is a template mod, no need to install this hack.

The reason why there is the input box for "To:" and the "Subject:" is to give you flexibility to add more members to CC the PM to, and modify the subject.


could u explain how to do that template mod?

thanks

MiLynne
08-22-2004, 06:45 AM
Question..

Whenever I go to use the quick reply box and do an auto click on the smiley to add it to the text box, it just sends me back up to the top without inputting anything. What do I need to change for this to work?

AnhTuanCool
09-06-2004, 03:24 PM
Great, install it right away ;)

Slapp3r
09-13-2004, 04:10 PM
thanxs will be my first install

lamilein
09-29-2004, 08:17 AM
works great, thank you :)

voclain
09-30-2004, 07:42 PM
THANKS FOR DOING THIS...

ON your old version (for vb2.x), there was a check box in the "Misc. Options" area...to DELETE ON SEND....

HOW DO I do that on this one???

Kirk

dookie
10-09-2004, 05:01 AM
Awesome job but.. I would like the same Quick Reply box shown at the bottom of every thread in the forums... that one you have made it's a full reply box.


*installs*

How can I use the original Quick Reply Box as in showthread for private messages? Any ideas?

FleaBag
10-09-2004, 01:10 PM
It seems when I edit the variables it doesn't make a difference to the toolbar or the smiliebox. Any ideas as to why?

theArchitect
10-10-2004, 11:35 PM
Kier did a little code a while back that makes the pop-up receipt window into a checkbox (like you had here before you changed it). I am using that. Is there anything I neeed to take out of this hack that will interfere with that now?I would love to be able to do this, for all PMs not just replies. I have had a quick search but don't seem to be able to find a vB 3.0.3 version (or any version for that matter). Could someone please help?

When I ask for forum tools suggestions form my users general dislike of the read receipt confirmation box is always top of peoples list.

theArchitect
10-10-2004, 11:36 PM
Another cool hack.

*theArchitect clicks install*.

Erwin
10-11-2004, 12:14 PM
It seems when I edit the variables it doesn't make a difference to the toolbar or the smiliebox. Any ideas as to why?
Dunno... are you putting them in the right place?

NexVision
10-11-2004, 04:54 PM
I did everything the way it said as I did on my old 3.0.1 board and just tried on 3.0.3 and get the following error when going to my pm's

Parse error: parse error, unexpected T_STRING in /home/nextelmo/public_html/NewVB3/private.php on line 1394

Erwin
10-11-2004, 08:38 PM
I did everything the way it said as I did on my old 3.0.1 board and just tried on 3.0.3 and get the following error when going to my pm's

Parse error: parse error, unexpected T_STRING in /home/nextelmo/public_html/NewVB3/private.php on line 1394
Repeat the steps. You made a mistake somewhere.

FleaBag
10-11-2004, 09:04 PM
Yeah just editing the variables...

theArchitect
10-12-2004, 12:30 AM
Repeat the steps. You made a mistake somewhere.
I concur. I am running 3.0.3 and it works fine for me.

Roms
10-26-2004, 03:23 AM
Works great! Thanks Erwin! :)

*installs

Sooner95
10-27-2004, 11:37 PM
works like a charm thx!

/me clicks install

sully02
11-15-2004, 04:33 PM
I notice this option doesn't work with Mozilla Firefox (v 1.0) ...At least, it doesn't on my site. It shows the PM box, but you can't edit anything. It works fine with IE on my site, though.

docvader
11-25-2004, 06:06 AM
Nice hack Erwin, very easy to install. Which is why I'm completely baffled. Did a simple copy and paste into the private.php, following directions implicitly, and am getting parse error on line 64, missing a ")" Makes no sense to me, there are no unpaired parentheses. Reinstalled twice. I'm missing something.... Attached text file of relevant part of hack.

Thanks!

deliah
11-25-2004, 10:14 AM
Tanx, I hacked this mod but ... if i just want 2 read so ... maybe not useful n comfortable ?

docvader
11-25-2004, 03:03 PM
Ignore my last post. It works (with the old private.php file). Too tired to notice last night, lol...

alkatraz
11-29-2004, 07:57 AM
works great on 3.0.3 thx!
why didn't vbulletin include this??? wierd

ozmazdaclub
12-10-2004, 09:59 PM
Nice Mod! Installed! Works Great! Thanks for the time and effort...

boo.3
12-14-2004, 12:38 PM
clicks install ;)

thanks man

biggkay
12-16-2004, 10:04 PM
I left this code // $posticons = ''; like it is and it still brings up the posticons. How do I get rid of them?

PKRWUD
12-16-2004, 11:29 PM
I'm not sure what I'm doing wrong, but I keep getting:

Parse error: parse error, unexpected T_STRING in /home/pkrwud/public_html/vbulletin/private.php on line 1557


In my private.php file, line 1557 is the last line below:


// Erwin's PM Quick Reply Hack
require_once('./includes/functions_newpost.php');

// do initial checkboxes
$checked = array();

I don't know what this should be telling me, or where I should look to correct whatever mistake I made. I do have the PM attachments hack installed, but I followed the instructions in this thread on how to make them work together. I don't know if that would even be a possibility, though, for my current problem.

Can anyone point me in the right direction to figure out what the solution for this problem would be?

Thanks!

Erwin
12-17-2004, 01:02 AM
I left this code // $posticons = ''; like it is and it still brings up the posticons. How do I get rid of them?
Remove the // from the line and the posticons will disappear.

biggkay
12-17-2004, 09:56 PM
Worked like a charm. Thank you.

trulylowcarb
03-05-2005, 01:18 AM
This is great, but better if/once I just figure out how to remove the quoted original message in PM replies, which is what I was searching for when I found this and got lost and sidetracked. ;)

If anyone else is wondering, this works like a charm on vb3.07...

angelicGrace
04-30-2005, 01:30 AM
I have it working on 3.0.7 but i have a q. there clickable smilies to the right of the edit text box. don't work. i have no clue why (and an such a novice at this). any tips as to why they won't show when clicked?

ekopapers
05-02-2005, 04:04 PM
thanks installed on 3.0.7 and so far so good :)

mfarmerhi
05-19-2005, 08:12 PM
Problem: The "Delete Message" isn't working.

Vb 3.0.7
Quick PM 1.4

I've installed the reply box directly below the message (pm_showpm template attached).

Any ideas why "delete" isn't working?

mfarmerhi
05-21-2005, 08:43 PM
Problem: The "Delete Message" isn't working.

Vb 3.0.7
Quick PM 1.4

I've installed the reply box directly below the message (pm_showpm template attached).

Any ideas why "delete" isn't working?
bump ;)

artonex
05-21-2005, 10:20 PM
is this fully working on vb 3.0.7 ?

1nf3rn0
05-23-2005, 10:23 PM
is this fully working on vb 3.0.7 ?
yes it is ;)

mfarmerhi
05-30-2005, 04:33 AM
Is the Delete working for other people w/3.0.7?

angelicGrace
05-30-2005, 02:03 PM
no i have had problems with delete (from inside an open message sence i installed it). if you press delete it sends a blank pm back to the person who sent you a pm in the first place.

mfarmerhi
05-31-2005, 08:30 PM
no i have had problems with delete (from inside an open message sence i installed it). if you press delete it sends a blank pm back to the person who sent you a pm in the first place.
But that makes me think that it IS just a cut-and-pasting error on both of our parts... Although both you and I have problems with our delete buttons, it's not the same problem.

My delete button doesn't do anything at all -- no delete, no blank message sent.

Your delete button sends blank messages.

If it were an error with the coding, it should result in the same errors (or at least similar errors) for both of us.

Anyone else go the delete button working on their 3.0.7 board?

coRtALoS
06-05-2005, 12:19 AM
I'm having a problem with this hack interfering with requested read receipts. It doesn't force someone to confirm/deny read receipts when someone tries to leave a PM screen as it did before, and many people seem to conveniently skip over that button when I need to send out something important and dated.

Is there a minor fix for this somewhere I've missed in this thread while skimming it for keywords or am I the only one with this problem? :(

angelicGrace
06-05-2005, 01:05 AM
But that makes me think that it IS just a cut-and-pasting error on both of our parts... Although both you and I have problems with our delete buttons, it's not the same problem.

My delete button doesn't do anything at all -- no delete, no blank message sent.

Your delete button sends blank messages.

If it were an error with the coding, it should result in the same errors (or at least similar errors) for both of us.

Anyone else go the delete button working on their 3.0.7 board?

on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried. :)

hydrostatic
08-12-2005, 11:30 PM
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried. :)

Erwin - Can you port this to 3.5? I find it really useful :p

mfarmerhi
08-14-2005, 02:10 AM
Hey Angel (and others). Thought I'd write because I found some important info:
on that note I went back and checked all my edits. they are just as required. beats me. ah well i don't mind it so much and my users know what is up with it and they don't realy care so i am not worried. :)
Okay... since on one was willing to do all the work to get my lazy ass an answer and save me the work (lol), I went back and looked at this all again.

Turns out (er... as is most often the situation) that I was the problem. I thought I was too smart ;)

To answer my own question:

Yes, this hack works great -- ALL OF THE HACK, INCLUDING THE DELETE -- with 3.0.7.

The delete works, both deleting messages and not sending blank messages. The reply works, sending a message, etc. The "Request Confirmation Recipt" works....

With 3.0.7 (dunno about any other version of vB, but it all works perfectly with 3.0.7)

The problem I was having, and I assume the problems others are having, come from not following the instructions VERBATIUM

See... I thought I was smarter. When Erwin posted the last instruction:2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
I thought... he can't possibly mean the BOTTOM.

See... there's a table on that template. A table and a form. You've gotta put the $quickpmreply IN the table, don't you!? You've got to put the $quickpmreply IN the form, don't you!?

And so, I struggled with placing $quickpmreply in different places in the existing template... in the table... making new tables... in the form...

It never worked.

When I put it once place it wouldn't delete the message. In another, it would sent blank PMs when I attempted to delete the message. But -- WHEN PLACED IN THE EXISTING FORM OR TABLE -- it would NOT work correctly.

So I finally did what Erwin's instructions said:2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
...knowing full well that it wouldn't work (cause of all my "smart" thinking detailed above.

Er... guess what?

It worked perfectly.

So... when Erwin says2. Edit the template 'pm_showpm' -


AT THE BOTTOM OF THE TEMPLATE, ADD:


HTML:
$quickpmreply
He MEANS AT THE BOTTOM OF THE TEMPLATE. AFTER the </tr>. AFTER the </form>. After EVERYTHING... at the BOTTOM of the template.

Works great.

Um... thanks Erwin :D

Shak
08-31-2005, 11:01 AM
3.0.8 here

installed the hack on a untouched private.php

dont work, only sends the previous message back..

any ideas here ?

Gray Matter
08-31-2005, 08:40 PM
Erwin - Can you port this to 3.5? I find it really useful :p

I would love to see this too. :)

adill420
09-29-2005, 01:20 AM
nevermind..

guys for those who can't get this to work..only blank pms going its because the the variable needs to go after </form>

basically the form has to close in order for the new form which is quick reply to open..

weaver
10-02-2005, 10:45 PM
I would love to see this too. :)

Me three. :D

Colejo
10-02-2005, 11:06 PM
Me three. :D

You wish. :)

mariannet
10-09-2005, 02:54 PM
Erwin - Can you port this to 3.5? I find it really useful :p

me four

akanevsky
10-22-2005, 01:23 AM
Can I port this since you do not seem to be willing to do so yourself?

Xajel
10-27-2005, 09:47 AM
Yeh.. me fifth...

waiting for the 3.5 port...

I already ask for it in 3.5 Mod. HERE (https://vborg.vbsupport.ru/showthread.php?t=99353) and Chris - with thanks - told me to post here, I never thought this thread will have some peoples who want it to be ported too...

Keep clicking :)

Nitesh
11-22-2005, 03:49 PM
Anyone had any luck with porting this to 3.5 yet?

cbr929rrerion
11-25-2005, 10:56 PM
I want for 3.5

Me Sixth

Chris Blount
12-05-2005, 02:05 PM
I want for 3.5

Me SixthMe seventh. :)

michaelbenson
12-11-2005, 06:21 PM
Me seventh. :)
Me eighth

stamos2003
01-07-2006, 04:43 PM
try this, works fine at 3.5.x

https://vborg.vbsupport.ru/showthread.php?t=89277

Diva
10-20-2006, 07:28 PM
Too bad this one hasn't been updated. It worked wonderfully in all the other versions and I loved having the full text box functionality as well as the quote from the PM in there.

/me crosses her fingers in hopes that it will be added to the next VB version.

Smitty
08-02-2008, 09:29 AM
Any thing like this for 3.7.2 patch 1?