![]() |
Quote Post in PM
Quote Post in PM
This is an update to amykhar's original Quote Post in PM hack. Since she is busy and doesn't have the time to dedicate to supporting her version of this hack like she would like to, she has asked me to release this in place of her original hack. This is basically amy's hack with a few minor fixes so all the credit goes to her. ;) This plugin now passes the username of the post to the PM as well as the post title (if there is one), or thread title (if there is not a post title). It is also set up for the /me code hack parsing (thanks goes out to Hellcat for that fix). And for anyone interested, Hellcat's version of the /me action code hack works 100 percent in vB3.5.4., in both posts and PMs. ;) In the attached ZIP file there are 3 icons for the pmquote.gif. Just choose the one you want and rename it to pmquote.gif and you should be all set. This is a plug-in and not a product, so upload it as a plug-in. Enjoy! A special thanks goes out to peterska2 for helping me along the way. Without her prodding and extensive testing, this might never have gotten done. ;) |
But vb quotes teh PM text automaticaly....
|
Quote:
|
Quote:
|
Awesome Boofo, thanks so much. Passing a quote from a thread into a PM is very convenient. :up:
May I make a suggestion, though? I would like to integrate this into the postbit pulldown to keep things clean; then there would be no need to add an icon. The menu option would read "Reply via PM" and then your/Amy's hack would do its magic. It could even replace the existing "Send a Private Message to <username>" menu option. Yes, I'm aware of this hack but it doesn't quote the message, just provides a link. In a perfect world the resulting PM would have both. Thanks again. |
Quote:
1. Click install if you use this 2. Read the install file and you shall find what you seek. ;) |
Thank you!
|
Quote:
|
Quote:
/slaps head Installed. Nice work, Boofo. I opted to not use the .gif, but the pulldown menu option is definitely nice to see. Quote:
This might sound like hyperbole, but this is the kind of great hack that has the potential to really improve the way folks interact on our forums. It makes a lot of sense and I appreciate you putting in the time. Is there any way to have it the PM also include a link back to the original post, so the recipient could read the referring thread in context? That would be a "best of all worlds" solution, please. Thanks again... |
That is something that we meant to do before we released it, but must have forgotten. I will add that in the next day or so. ;)
Also, I have both the icon AND the drop down link as there are users that usually use one or the other most of the time. ;) |
great works perfect!
|
Nice one. Installed!
|
Very nice and look forward to the link addition also..:)
|
Excellent work. Easy install and works great!
|
Quote:
Quote:
|
I haven't had time to look at it yet with everything going on around here and rebilding my site after losing EVERYTHING due to a server HD crash 2 days ago, with the only backup being on the same HD that crashed. Patience, my friend. ;)
|
As always, perfectly works.
Thanks Bob |
FYI, I requested this excellent hack be installed here on vB.org. As a result, Brad installed it just a few minutes ago. That's quite an endorsement of your work. :D
Congrats Boofo, and special thanks to all the coders that helped make the hack happen. :up: |
Quote:
[high]* Boofo would to thank his mother, his manager and all the little people who made this possible. You like me![/high] |
Boofo, great work!
If you ever have some free time, I was wondering if you could convert this hack so you could basically quote a PM and use it to start a new thread? i've been stuck cutting and pasting, but it is beyond my coding abilities to create a system where you can click on a button when you're reading a PM and then choose a forum and title for a new thread with that PM quoted in the first post. i have many times had a really good PM and i wanted to turn it into a thread because i thought everyone could benefit by the reply. |
I think there is a mistake in the install instructions that adds the additional drop-down menu option or at least I couldn't save the template without an error until I changed it:
From the install.txt: Code:
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]"><phrase 1="$post[username]">Quote this post in a PM to $post[username]</a></td></tr> Code:
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]"><phrase 1="$post[username]">Quote this post in a PM to $post[username]</phrase></a></td></tr> |
You're right. I didn't notice it because it saved fine for me and actually works on my site, too. I will fix that and re-upload the file. Thank you for catching that. ;)
EDIT: Now that I look at it, it shouldn't matter as the phrase is not even being used. You can take the phrase part of out it instead. ;) |
Help! When I try and install the plugin it says "this is a plugin, not a product".
I don't understand how you install a plugin seeing as it appears to be different from a product. HELP!! |
Click the Downbload / Upload Plug-ins button in the menu.
|
Thanks
|
Quote:
Quote:
Pretty please. :bunny: |
Ok, let me get this straight. You want a link AND the quoted message in the PM?
|
Yes. Something like:
In reference to post 1002573: Quote:
That way the recipient can review the quoted post in it's original context. It all can be a blur after a few days or weeks. Having a link back to the original thread helps the communication. Thanks for the consideration. |
Well, since you have been a decent adversary on a few debates, I'll see what I can come up with for you in the next day or two. But attacking the Boofo MUST stop now. ;)
|
great feature...however I dont see it showing anywhere on my forum. Made the postbit edits, uploaded the plugin and moved the image in its folder.
I dont see the option coming up under the member name nor do i see the image...what did i do wrong? Thanks.... Peace |
Quote:
|
oddly enough there isnt....lol.....i looked back into POSTBIT template...and those edits are def. in there......
Peace |
Make sure it is in the skin you are viewing and the right postbit. I make those mistakes all the time. ;)
|
its in my applied skin theme......def....this is driving me nuts
Peace |
Check and make sure the plugin is active.
|
Sorry Boofo...ima freaking idiot...LMAO....im not using postbit, im using postbit legacy......ROFL.....wow........it works great now........thanks for the help though.....
Peace |
No problem. I've been there more than once. ;)
|
Quote:
FWIW, Andreas' hack here does the trick... just without the quoting. A combo of the two strategies would be ideal. |
Quote:
Thought about turning this into a product? Hope this helps: Since the link has the post ID, it should be somewhat easy to grab that and use it in a link back to the original post. |
I will look into this and see what I can come up with. ;)
|
All times are GMT. The time now is 08:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|