Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick PM Reply Box Details »»
Quick PM Reply Box
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-02-2002 Last Update: Never Installs: 166
 
No support by the author.

Quick PM Reply Hack Version 2.4 - by Dr. Erwin Loh
-------------------------------------------------------------------

Inspired by Firefly, Neo, Vincent "MW" Chan


Version 2.4 for vBulletin 2.3.0 - 23rd of March 2003
-----------------------------------------------------------------

This is a simple hack that puts a "Quick PM Reply" box underneath a PM that you have received, with the username, subject and message in quotes already inserted. All you need to do is to just type the reply and click send. In the new version, you also have the option of deleting the original PM when you send the reply, as well as multiple options like saving the copy, and message tracking.

Upgrading from version 1.x - just make the 2nd PHP file changes, and copy and paste the the new template changes over the old one.


Version 2 additions:
--------------------------

Added options using checkboxes to:

1) Delete original: Delete original PM from PM box when you send reply
2) Automatically parse URLs.
3) Show Signature.
4) Save a copy: Also save a copy in the 'Sent Items' folder.
5) Request Read Receipt: Choose message tracking.


Version 2.1 - minor bug fix to make the icon change after a message is sent.
Version 2.2 - minor bug fix to make sure the delete tickbox works.
Version 2.3 - fixed a minor template issue
Version 2.4 - fixed the multiple RE: bug

NEW: Added minor addition to make cursor go automatically to the PM Quick Reply Box.

NOTE: To get the newest attachment, you need to clear your browser cache - otherwise you may download the previous version text file.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 09-09-2002, 10:19 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok fair enough, I'll sift through it and see if I can find the error ... but if i had accidently deleted that part of the code, wouldnt it not work at all even when using the regular PM reply instead of the quick PM box? Cuz it works then ... thats whats so odd.
Reply With Quote
  #113  
Old 09-09-2002, 11:02 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this happening to anyone else using this hack? Or is this an isolated problem? Because this problem doesn't occur with my forums.
Reply With Quote
  #114  
Old 09-09-2002, 11:22 PM
yzztik's Avatar
yzztik yzztik is offline
 
Join Date: Feb 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I know that it happens for sure in one other board that I frequent and I did not install that one though we have similar hacks *shrug*

I am curious to know if anyone else is having the problem ...
Reply With Quote
  #115  
Old 09-22-2002, 12:40 AM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack Erwin !

But I must say, I have the same error, that after a reply with the Quick-Box the icon of the original PM is not changed.

(vB Vers. 2.2.6)


J?rg



P.S. I found the error why the icon was not correct (the field "messageread" was not updated correct.

In the template modification of your hack the wrong line is:

Code:
<input type="hidden" name="privatemessageid" value="$privatemessageid">
It must be

Code:
<input type="hidden" name="prevmessageid" value="$privatemessageid">
After that change it works correct.


J?rg
Reply With Quote
  #116  
Old 09-22-2002, 06:49 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahhh... thanks Jorg. I have both lines in my forums - the line that I put in the hack is the line for the private message preview hack. That's why I never had this problem.

When I wrote the installation file, I deleted the standard line and kept the wrong line for this hack. I meant to delete that one, not the one that is standard.

I've fixed the installation text file, and sent an update to all who installed this so they know to fix it.
Reply With Quote
  #117  
Old 09-25-2002, 11:49 AM
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
Location: Buffalo, NY
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erwin, I just installed this hack, because my users have been requesting it. I think it'll be nice, and the install was problem-free.

However, when I check the box to delete the original PM, I always get this message:

Quote:
No privatemessage specified. If you followed a valid link, please notify the webmaster
I haven't made any modifications to private.php or the privmsg template before this. I'm running vb 2.2.7. Any further info needed, please let me know.

Thanks!

John
http://www.fansofrealitytv.com
When your reality sucks, there's Reality TV!
Reply With Quote
  #118  
Old 09-25-2002, 12:07 PM
Mike11212 Mike11212 is offline
 
Join Date: Jul 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack
Reply With Quote
  #119  
Old 09-25-2002, 11:23 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, and I've updated the installation text file to version 2.2 to reflect this.
Reply With Quote
  #120  
Old 09-25-2002, 11:23 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, a minor bug fix.

It seems that you need BOTH lines in the template.

Make sure that you have BOTH of these lines in the template code that you add to "privmsg" - the first one is needed for the delete box to work, the second one for the icon to change to SENT when a message is replied to.

Code:
<input type="hidden" name="privatemessageid" value="$privatemessageid">
<input type="hidden" name="prevmessageid" value="$privatemessageid">
Sorry about this. I knew that the first line was there for a reason!
Reply With Quote
  #121  
Old 10-06-2002, 05:07 PM
Areku Areku is offline
 
Join Date: Feb 2002
Posts: 540
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once more, thanks for this great hack!

Works like a charm on vb 2.2.0!

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:25 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.08931 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete