vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Quick PM Reply Box for Private Messages (https://vborg.vbsupport.ru/showthread.php?t=59999)

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/showthrea...694#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:

Quote:

Confirm Outstanding Receipt


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

Quote:

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

Quote:

Originally Posted by Boofo
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 hack, if you want to add attachment support for the quick reply:

in Erwin's hack, look for this:

Code:

    $signaturechecked = iif($bbuserinfo['signature'] != '', HTML_CHECKED);
change it to
Code:

    $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:

PHP Code:

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

ABOVE that, add:

PHP Code:

 $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

Quote:

Originally Posted by djohn
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

[high]* Beermonster clicks install
[/high]

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

Quote:

Originally Posted by ChrisBaktis
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

Quote:

Originally Posted by lifesourcerec
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

Quote:

Originally Posted by lifesourcerec
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

Quote:

Originally Posted by Erwin
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)

PHP Code:

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

Above, add:

PHP Code:

   // 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:

PHP Code:

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

Above, ADD:

PHP Code:

// 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!!

[high]* turbidblue clicks install :)[/high]


All times are GMT. The time now is 02:27 AM.

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.01309 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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