vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PM RealQuickReply (https://vborg.vbsupport.ru/showthread.php?t=116912)

JusteCards 05-27-2006 10:00 PM

PM RealQuickReply
 
I've never really considered including the whole newpm box at the bottom of a pm a very "Quick" way of replying.. So after much tweaking this is what I came up with..

PM RealQuickReply v1.01

Firstly install the attached product file..

Next we need to edit the pm_newpm template.

find:
Code:

<tr>
        <td class="tcat">$vbphrase[post_new_private_message]</td>
</tr>

replace with:
Code:

<tr>
        <td class="tcat"><if condition="($_REQUEST['do'] == 'showpm')">Quickreply to $originalposter<else />$vbphrase[post_new_private_message]</if></td>
</tr>

find:
Code:

<!-- recipients field -->
add above:
Code:

<if condition="($_REQUEST['do'] == 'showpm')">
<input type="hidden" id="pmrecips_txt" name="recipients" value="$pm[recipients]">
<input type="hidden" name="title" value="$pm[title]">

                <!-- message area -->
                <div class="smallfont">$vbphrase[message]:</div>               
                <div id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</div>
                <!-- / message area -->

<else />

find:
Code:

$posticons
add above:
Code:

</if>
Your done with that template.

Now we need to edit the pm_showpm template.

find and remove:
Code:

<form action="private.php" method="post">
now find:
Code:

$postbit

<br />

and below it add:
Code:

$vBeditTemplate[clientscript]
$quickpmreply
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>

<form action="private.php" method="post">

and your done.. Enjoy :bunny: (Please remember to click install to be informed of updates)

Changelog:
v1.00 Initial Release
v1.01 pm_newpm Edit changed in the hope of a more troublefree install.


--------------
Optional Extras
--------------


To add support for Psionic Vision's Advanced PM Options

(Firstly Install that hack) Then in the PM RealQuickReply Plugin [private_showpm_start] hook find:
Code:

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

above that add:
Code:

$checked['savecopy'] = ($vbulletin->userinfo['advpmoptions_savecopy'] ? 'checked="checked"' : '');

$checked['receipt'] = ($vbulletin->userinfo['advpmoptions_receipt'] ? 'checked="checked"' : '');

$checked['deleteoriginal'] = ($vbulletin->userinfo['advpmoptions_deleteoriginal'] ? 'checked="checked"' : '');

and your done :)

Jon_Simmonds 05-28-2006 10:06 AM

looks nice, installing now :)

Jon_Simmonds 05-28-2006 10:15 AM

I get this :S


edit

my bad, i followed the
Quote:

ind:
Code:

<!-- / message area -->


add below:
Code:

</if>


instructions wrong

JusteCards 05-28-2006 11:03 AM

Quote:

Originally Posted by Jon_Simmonds
my bad, i followed the instructions wrong

Yep you need to make sure you place it after:
Code:

<!-- / message area -->
and not:
Code:

<!-- message area -->
Otherwise you'll run into that problem..

rmxs 05-28-2006 02:29 PM

Installed

FleaBag 05-28-2006 03:00 PM

I end up with 2 message boxes? One where it should be and one below the pm reply (which are not where they should be) options. Any ideas? I tried reinstalling twice. :-/

JusteCards 05-28-2006 03:15 PM

Quote:

Originally Posted by FleaBag
I end up with 2 message boxes? One where it should be and one below the pm reply (which are not where they should be) options. Any ideas? I tried reinstalling twice. :-/

Firstly, make sure you've taken note of this post. If so and your still having problems PM Me your pm_newpm template and I'll check it out for you..

I've changed the instructions on this edit slightly as people seemed to be getting confused..

moonclamp 05-28-2006 03:33 PM

I'm gonna install this to keep an eye on it ...

So far I've noticed that the small "quick reply and quote" button doesn't work.

Also, the texarea width means that a bottom scrollbar appears if a user is on 800x600 resolution

Roms 05-28-2006 03:44 PM

Does this quote the message in the PM? (like Erwins old version?) Thanks

.Tim 05-28-2006 03:53 PM

Nice, much better than the other but one complaint, none of the editor buttons work and it doesn't let you quote the pm. Only problems I see.

JusteCards 05-28-2006 04:03 PM

Quote:

Originally Posted by moonclamp
I'm gonna install this to keep an eye on it ...

So far I've noticed that the small "quick reply and quote" button doesn't work.

Also, the texarea width means that a bottom scrollbar appears if a user is on 800x600 resolution

The reply button should work as nothing has been done to change that, the quickreply should take move your cursor to the start of the quickreplybox.

textarea width is set in the admincp stylevars.

moonclamp 05-28-2006 04:06 PM

Quote:

Originally Posted by JusteCards
the quickreply should take move your cursor to the start of the quickreplybox..

It doesn't though.

JusteCards 05-28-2006 04:12 PM

Quote:

Originally Posted by Infantrymen
Does this quote the message in the PM? (like Erwins old version?) Thanks

No, I'm sorry but the QuickReply box doesn't include the message like that version, but I might be able to sort out quoting the way it does in a thread.. leave it with me..

Quote:

Originally Posted by moonclamp
It doesn't though.

which editor are you using? Basic, Standard of Wysiwyg?

Quote:

Originally Posted by .Tim
Nice, much better than the other but one complaint, none of the editor buttons work and it doesn't let you quote the pm. Only problems I see.

Thanks :) The buttons should work.. do they work when using the quickreply on a thread? and the quote is a problem I'm now looking into..

moonclamp 05-28-2006 04:18 PM

Quote:

Originally Posted by JusteCards
which editor are you using? Basic, Standard of Wysiwyg?

wysiwyg

JusteCards 05-28-2006 04:36 PM

Quote:

Originally Posted by moonclamp
wysiwyg

Okay thanks.. Will look into that..

Strike3ForumsMH 05-28-2006 05:05 PM

Quote:

Originally Posted by FleaBag
I end up with 2 message boxes? One where it should be and one below the pm reply (which are not where they should be) options. Any ideas? I tried reinstalling twice. :-/

Do you have this hack installed?
https://vborg.vbsupport.ru/showthread.php?t=106553

I forgot to remove the template edit and I had the same problem.

And thanks for the hack, this is perfect!

Tralala 05-28-2006 05:14 PM

Looks GREAT! But I'm wondering, will it work with the extra options/functionality from this great hack?

JusteCards 05-28-2006 05:36 PM

Quote:

Originally Posted by Tralala
Looks GREAT! But I'm wondering, will it work with the extra options/functionality from this great hack?

Yes it should do it hooks into the user options like that hack seems to, but I'll install it and find out..

Edit: You need to make one edit to the Plugin to get the two hacks working together (Details of how its done have been added to the bottom of the first post)

JusteCards 05-28-2006 05:37 PM

Quote:

Originally Posted by Strike3ForumsMH
Do you have this hack installed?
https://vborg.vbsupport.ru/showthread.php?t=106553

I forgot to remove the template edit and I had the same problem.

And thanks for the hack, this is perfect!

Ahhh yes, please remove any other private message reply hacks before installing this one..

and thanks :) Please remember to click install to be informed of updates.

.Tim 05-28-2006 05:45 PM

Quote:

Originally Posted by JusteCards
Thanks :) The buttons should work.. do they work when using the quickreply on a thread? and the quote is a problem I'm now looking into..

Yes they do, I made sure all the template edits were done and done properly. Still nothing. Images are there but nothing happens when clicked.

Strike3ForumsMH 05-28-2006 06:16 PM

Is it just me or does the delete button when viewing the PM no longer function? Or did I goof up somewhere? Thanks.

rmxs 05-28-2006 06:37 PM

QR button doens not work...

i can see the QR form byt the button its dead...

JusteCards 05-28-2006 06:49 PM

Quote:

Originally Posted by .Tim
Yes they do, I made sure all the template edits were done and done properly. Still nothing. Images are there but nothing happens when clicked.

hmmmm, could you PM me your pm_showpm template.

JusteCards 05-28-2006 06:49 PM

Quote:

Originally Posted by Strike3ForumsMH
Is it just me or does the delete button when viewing the PM no longer function? Or did I goof up somewhere? Thanks.

Make sure you've removed the <form action="private.php" method="post">

(first step of the the pm_showpm instructions)

JusteCards 05-28-2006 06:51 PM

Quote:

Originally Posted by rmxs
QR button doens not work...

i can see the QR form byt the button its dead...

Yep.. I'm trying to replicate the problem.

projectego 05-29-2006 03:42 PM

Sounds like a great hack, I'll check this out now. ;)

FFMania 06-02-2006 04:47 PM

The hack works perfect, the only problem I have is it messes up the table after I installed it. It looks like the attached image after the hack is installed... the table is extended way too far, not sure which part of the hack I have to edit to fix this, any help?

JusteCards 06-02-2006 07:43 PM

Quote:

Originally Posted by FFMania
The hack works perfect, the only problem I have is it messes up the table after I installed it. It looks like the attached image after the hack is installed... the table is extended way too far, not sure which part of the hack I have to edit to fix this, any help?

I actually think it's probably the sig image that's pushing out the table..

FFMania 06-03-2006 04:48 AM

I removed the sig and did a retest... same thing.

Tralala 06-03-2006 02:22 PM

Quote:

Originally Posted by FFMania
I removed the sig and did a retest... same thing.

I don't see what's wrong in your screenshot.

FFMania 06-03-2006 04:01 PM

The posting table is out of the original table. It is stretched out.

moonclamp 06-03-2006 04:19 PM

Quote:

Originally Posted by FFMania
The posting table is out of the original table. It is stretched out.

I've got a similar problem (but slightly different as I'm using a different style).
It's the usercp navigation that does it.

When the QR box is used on the rest of the forum there isn't any sidebar to push it across. I think the only solution is to make it smaller throughout the site via admincp -> styles -> stylevars

FleaBag 06-15-2006 11:20 PM

Took a fresh look at it and all installed well! Thanks! One question though...

I use ALT+S on every vB page to send the text after I finish typing. The problem is when I finish writing the quick reply, using ALT+S hits the "Delete PM" button. Any idea how to change that?

Wifey 06-21-2006 02:24 AM

I can't even get this to show up in my PM's and I followed everything as I was supposed to. I'm having problems understanding the plugin stuff. I can do the template edits, that's easy -- what the heck is with the other?

Megareus Rex 06-28-2006 09:16 PM

My problem is that it gives an errir (at least in IE), that is "threaded_mode is undefined." I'm guessing its because I have threaded mode turned off?

How can I fix it? It's not a crippling error, but nonetheless.

Besides that though, AWESOME HACK. I've been waiting forever for this.

Elsie 07-16-2006 08:59 AM

i found it! :D


thanks hun, you're a star - will install this soon!

Jeordie015 08-15-2006 01:25 AM

Is there a way to get the options below the postbox. The "quote message in reply" and "show signature" selectors? They're not there for me. I'm not sure if they should be.

EasyTarget 08-31-2006 02:44 PM

I'll be giving this a shot.

does anyone know how the change the smilies box to the pulldown menu instead of the popup box?

EasyTarget 09-07-2006 01:25 PM

installed and working on 3.6

is there a way I can apply the smiles in quick reply and quick edit hack to this one as well?

Coldhands 03-13-2007 09:43 PM

Works great in 3.6.4!

Installed!

Only one thing . . . is there a way to make it so it adds the previous messages below the new quick reply? Like a quote button?


All times are GMT. The time now is 05:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01482 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (13)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete