Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #22  
Old 05-27-2002, 03:19 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that's meant to validate the length of the text box, but don't quote me on that. The function may be located elsewhere. I'm not getting any script errors for mine - it works fine, and no one else seem to have that problem... I'm at work at the moment, but I will check it out when I get home. Make sure you have script switched on in your browser - check your browser security settings.
Reply With Quote
  #23  
Old 05-27-2002, 12:04 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry...this is an issue (thought not forum or hack stopping) for their is NO SCRIPT to call in the file that was modified. "validate(this)" is no where in the PM code thus the error is their and will be as mentioned above. It is not just me...it was reported by my users. (we see over 30,000 unique visitors a day.)

You could be right on the reason seeing the code was taken from the other Quick Reply hack.
Reply With Quote
  #24  
Old 05-28-2002, 02:16 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You missed out on the whole Javascript function that should be placed above the form tags. It is in the installation text file.

Please look at the installation text file again, and make sure you place the Javascript function before the form tags.
Reply With Quote
  #25  
Old 05-28-2002, 02:24 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked - for some reason the Javascript function was missing in the 2nd version of the installation text file.

I have fixed this now - sorry to those who installed the 2nd version. For those who have installed this already, just copy the Javascript function and paste it ABOVE the form tags. It should work fine now.
Reply With Quote
  #26  
Old 05-28-2002, 03:01 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works great, thanks! The wife loves it! (You done good ). I still have the double white line on the right. What do I need to take out and where? I just downloaded the file about 20 minutes ago.
Reply With Quote
  #27  
Old 05-28-2002, 03:39 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mmm... it's to do with the table alignments... I did it and it works for my forums, but obviously not aligning correctly with others.

Try to play around with the tables in your templates, and see if you can make it look better.
Reply With Quote
  #28  
Old 05-28-2002, 03:45 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I could do that then I wouldn't have bothered you with it. Can you make it like the Quick reply Box as far as the box itself goes? I noticed you have a border around the inside of the box, too. Is that supposed to be there?
Reply With Quote
  #29  
Old 05-28-2002, 11:27 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to have it save a copy (to your sent folder) of the message you are replying to or forwarding (if you have it set to save a copy), when you use the quick pm reply box?
Reply With Quote
  #30  
Old 05-29-2002, 03:21 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo:

Change this line:

Code:
<input type="hidden" name="savecopy" value="no">
to this:

Code:
<input type="hidden" name="savecopy" value="yes">

As for the table alignment, I will try to find time to fix it up for you - if you have a web editor, just plug the tables in there and change it to however you want it to look.
Reply With Quote
  #31  
Old 05-29-2002, 03:41 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess if I would have looked closer, I would have found that. Thanks! As far as table alignment goes, thanks and let me know when you have some time.
Reply With Quote
Reply

Thread Tools

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 02:05 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.04558 seconds
  • Memory Usage 2,302KB
  • 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
  • (2)bbcode_code
  • (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