![]() |
Default action for PM Receipts
An old mini-mod by me, released now because of a request.
I am not sure if i based this on an hack by someone else or not. Did a quick search and could not find anything. If it is based on someone elses work, please contact me by PM. Some users get irritated about the popup asking if they want a answer a requested read receipt on reading PM or if they want to request a receipt on sending a new pm. This hack give users the possibility, to change this behaviour in their profile. Users can access this setting from their User CP-->Edit Options as the last 2 options in the Messaging and notification section. Users can choose the following: - Ask - This is the default and will give the same behaviour as on an unhacked board. - Never - There will never be a send a receipt on a request, no popup. - Allways - There will allways be send a receipt when requested requested, no popup. PS The usergroup setting "Can Deny Private Message Read Receipt Request" is respected by this hack. This mean that for usergroups where this is set to Yes it will allways send a confirmation. Good practise is to always backup files before changing them! |
nice work :)
|
Quote:
|
Real nice work. I have been waiting for someone to write this hack. It works great.
|
Well it was already written a long time ago. Maybe i'll put it in a HIS installer.
|
Working great! Thanks. That pop-up was annoying everyone!
|
thanks for the hack.
one thing, how would i put the two options in the 'Private Messaging' fieldset? Just for cosmetic reasons. |
Quote:
One of the strenght in my eyes, is that it is relative simple. |
Somewhere around here is a hack that changes the popup to a checkbox under the text-entry window. I installed that, and default the box to UNchecked. That one works great too. I might end up using this one however... ;)
|
Quote:
Just being curious and trying to learn what people (dis)like in a hack. |
Because this hack allows the user to decide for themselves how they want to handle it via their UserCP, rather than being hard-coded into the form.
|
:D
Thanks for the feedback |
BTW, I just implemented something like that with my very first hack (posted in this room), which allows the user to decide if they want the standard PM notification popup, or would rahter have a flahing image over their "Welcome, UserName", like:
https://vborg.vbsupport.ru/external/2005/03/3.gif ;) |
Nice will have a look at it if i have time.
|
anyone knows if this will work with 3.5.0?
|
Quote:
|
Quote:
|
Installed on 3.0.7 and working fine. So to answer MissKalunji's question: 3.0.5 wont be a problem.
Thnx for the hack. ;) |
Quote:
|
Quote:
yeah thats what im asking but thanks n e ways |
Ow lol my bad. Thought it was a typo. :)
|
Quote:
its cool :nervous: |
Very useful .. I hate those popups.
Clicked install .. thanks for the hack. |
We installed this hack and now no one can send a PM at all. It tell us to "Please complete both the subject and message fields. Press the back button, correct the problem and try again" even though both fields are already filled out! Can anyone help urgently?
TIA. |
What vB version are you using?
And please double check the instructions. If all instructions are followed, there should be no problems. |
I've uninstalled the hack for now and will go through and make double sure everything is followed exactly before coming back (mama pie is my other half before you're wondering why I'm posting! :) )
|
Quote:
The Add profile fields part goes fine and does not mess up PMs. I reverted the template and without the template mods the PMs work as previously, so it's somewhere in that combination between the template mod and calling private.php. Glad I'm not the only one. |
OK, I was able to make it work for sending PMs without asking for receipts, which is great. I still had to acknowledge a receipt request, but it may be that it's supposed to do that. Or what I changed disabled that?
Anyway, in the ./private.php change, there's a -= CANDENYPMRECEIPTS; I removed the minus sign and it no longer gave me an error. |
Please change that '-=' to '=='.
Thanks for spotting this bug, will update the zip monday. |
Well, when I went to install if, it worked fine for just the site owner and I, everyone else was getting the "no text" error, so I had to back it out.
They were using the same styles as we were. Another situation of really hard to debug when something works fine for me. It's a busy forum, so I didn't have the time to set up a test user account and try to debug that. Not sure what else the problem could be. When I get the time, I'll test it again on my backup/test forum. |
The only reason i can think of, why tis would work for some and not for others, would be if you are using a different style then the other users and that other style don't have templates changed.
|
I've installed this several times with the same result each time..
Quote:
|
PM me a link and a test account and i will try to have a look.
|
Quote:
I installed it on 3.0.7. and on sending a new pm, it works, but when you recieve it - when it is set on never it won't ask, but when it is set on always, it still asks. Btw, also Always is spelled aLways, not Allways. I suggest you change that since.. well.. Allways is a female product in Europe. You don't want that, do you? Lmao. And the zip still has that '-=' thing, which was supposed to be changed to '=='? |
I've already removed it from my production forums because no one could send a pm
If I have some time tonight or tomorrow, I'll re-hack my dev board and send you a pm from there... This isn't *absolutly* important so don't kill yourself on my account! :D Just I have members who prefer as few clicks as necessary so this would be good to have! |
I have had quite a few requests for the very thing. Thank you, it works awesome after a couple of changes. Still need to re-upload the "-=" fix to the zip file, and I am not sure if it is a "colour/color" thing or not, but I also changed the spelling of instances of "Allways" to "Always".
|
Sorry if I missed it, but is this available for 3.5.1?
I know you can disable the pm confirmations via usergroups, but i'd like to be able to allow them to decide.. etc. |
No this has not been ported yet. But since in 3.5 the default is not to request PM Receipts, a lot less people will have problems with it.
|
Does anyone know if this works with version 3.8.0? I've been looking for something like this and am really hoping it does!
|
All times are GMT. The time now is 05:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|