Advertisement:

Author Topic: [2.1?] "User xx has blocked your personal message."  (Read 41952 times)

kat

  • Guest
[2.1?] "User xx has blocked your personal message."
« on: June 11, 2012, 04:18:06 PM »
Bloody silly that you're told that AFTER you've typed it and not before, doncha think?
« Last Edit: December 19, 2012, 04:50:39 AM by emanuele »

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
    • IchBin.us
Re: "User xx has blocked your personal message."
« Reply #1 on: June 11, 2012, 05:33:04 PM »
How does it know who you're sending it to until you hit send?
Brad "IchBin™" Grow        TinyPortal        Themes
Coding Guidelines       

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,987
  • Gender: Male
  • CoreISP.net
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
    • CoreISP Corporation :: WebHosting, Dedicated Servers, and more!
Re: "User xx has blocked your personal message."
« Reply #2 on: June 11, 2012, 06:01:09 PM »
It could perhaps use something ajax'ey to check if the username you have in the receivers list has ****** blocked.
Probably a bad idea though.... speaking of overhead.
- CoreISP.net Corporation -
  WebHosting, Colocation, Domain Registration & Network Services
- DedicatedBox.us Servers -
  Low priced Servers in a high-quality Network, the place for all your (advanced) server needs.
  We specialize in hosting big boards. Contact us!

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: "User xx has blocked your personal message."
« Reply #3 on: June 11, 2012, 06:05:28 PM »
Why this is in site stuff and not feature requests? :P


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Oldiesmann

  • Developer
  • SMF Super Hero
  • *
  • Posts: 24,814
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: "User xx has blocked your personal message."
« Reply #4 on: June 12, 2012, 02:40:04 AM »
At least it tells you... It could always just silently drop the message altogether while still acting like it was sent...
Michael Eshom
Webmaster / SMF Lead Developer
oldiesmann@simplemachines.org

kat

  • Guest
Re: "User xx has blocked your personal message."
« Reply #5 on: June 12, 2012, 04:53:32 AM »
How does it know who you're sending it to until you hit send?

If you click "Send a message" from their profile, it could check, no?

If you click "Reply", it could check, no?

If you type the name in, it might be a tad more difficult, I guess.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
    • IchBin.us
Re: "User xx has blocked your personal message."
« Reply #6 on: June 12, 2012, 02:39:17 PM »
How does it know who you're sending it to until you hit send?

If you click "Send a message" from their profile, it could check, no?

If you click "Reply", it could check, no?

If you type the name in, it might be a tad more difficult, I guess.

Better yet don't even show a send message link if someone has blocked you. :)
Brad "IchBin™" Grow        TinyPortal        Themes
Coding Guidelines       

kat

  • Guest
Re: "User xx has blocked your personal message."
« Reply #7 on: June 12, 2012, 02:56:21 PM »
That'd work! :)

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: "User xx has blocked your personal message."
« Reply #8 on: June 12, 2012, 04:16:07 PM »
That would be confusing, though, wouldn't it?
"Where'd the Personal Message icon go?".

Perhaps better to show an icon with a circle/slash through it and an alt text of"User XX has blocked your personal Message".
Same sort of thing when viewing a profile -- "Send personal message" could not be allowed to disappear, but would be greyed out and have the comment "User has blocked your personal message" appended.
There would be some additional overhead associated with that, as this is currently not checked on every single Display.php and every single profile.php

Then, in the suggestions (for To and BCC alike), you'd need a way to "gray out" names that have blocked you, rather than making them disappear completely.

If you make things disappear completely, you will confuse the users.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,987
  • Gender: Male
  • CoreISP.net
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
    • CoreISP Corporation :: WebHosting, Dedicated Servers, and more!
Re: "User xx has blocked your personal message."
« Reply #9 on: June 12, 2012, 04:29:09 PM »
Perhaps better that if you click it it runs a quick check.
That will save running queries each time a profile is loaded as well, no? Only runs a extra query when you click the button.
- CoreISP.net Corporation -
  WebHosting, Colocation, Domain Registration & Network Services
- DedicatedBox.us Servers -
  Low priced Servers in a high-quality Network, the place for all your (advanced) server needs.
  We specialize in hosting big boards. Contact us!

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: "User xx has blocked your personal message."
« Reply #10 on: June 12, 2012, 04:33:17 PM »
Perhaps better that if you click it it runs a quick check.
That will save running queries each time a profile is loaded as well, no? Only runs a extra query when you click the button.
Probably.
As for the suggest list -- probably the same.  Adding a field (which would require 2 extra joins, I think) to the big query, vs. doing a quick check each time a name is clicked.

The question is -- which is more important.  The server's time and effort or the users' time and effort. Strangely, the answer might depend on how close the forum owner is to monthly limits...

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline Suki

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 15,084
  • Kaizoku Jotei
    • MissAllSunday on GitHub
    • SMF mods
Re: "User xx has blocked your personal message."
« Reply #11 on: June 12, 2012, 04:37:28 PM »
You still need to check on the actual page since the button isn't the only way to send a pm.

Loading the extra info on every users (Load.php) and do a quick check should be fine.
Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

kat

  • Guest
Re: "User xx has blocked your personal message."
« Reply #12 on: June 12, 2012, 04:49:39 PM »
which is more important.  The server's time and effort or the users' time and effort. Strangely, the answer might depend on how close the forum owner is to monthly limits...

If you type a long message, it kinda makes you want to kick something, with things the way they are. ;)

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: "User xx has blocked your personal message."
« Reply #13 on: June 12, 2012, 05:29:57 PM »
The icon would solve just part of the issue.

Apart from the fact I don't remember how blocking PMs works, the original idea could be good: since we are already querying the database for the autosuggest function, it wouldn't be too difficult to find out if the user is ignoring you or not at that step and then show a warning.

May I move this to feature requests?


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

kat

  • Guest
Re: "User xx has blocked your personal message."
« Reply #14 on: June 13, 2012, 05:43:38 AM »
Yeah, 'course!

I was only thinking of having it here, really. But, thinking about it, it ought to be a standard thing.

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: "User xx has blocked your personal message."
« Reply #15 on: June 14, 2012, 08:37:34 AM »
Agree.  Because the site team very rarely approves mods and other customizations not available in standard SMF.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,474
    • ApplianceJunk.com
Re: "User xx has blocked your personal message."
« Reply #16 on: June 14, 2012, 08:56:34 AM »
which is more important.  The server's time and effort or the users' time and effort. Strangely, the answer might depend on how close the forum owner is to monthly limits...

If you type a long message, it kinda makes you want to kick something, with things the way they are. ;)

Keep your PM's short and to the point.
Maybe people won't want to block them then. :P

j/k

Offline Suki

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 15,084
  • Kaizoku Jotei
    • MissAllSunday on GitHub
    • SMF mods
Re: "User xx has blocked your personal message."
« Reply #17 on: June 14, 2012, 09:25:11 AM »
Is not only for private messages, that is just a side effect of ignoring the user or one of the consequences of setting your pm settings to admin's pms only.
Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

kat

  • Guest
Re: "User xx has blocked your personal message."
« Reply #18 on: June 14, 2012, 11:50:31 AM »
Keep your PM's short and to the point.

I'm English.

We waffle a lot. :P

Offline Akyhne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,331
Re: "User xx has blocked your personal message."
« Reply #19 on: November 15, 2012, 06:30:58 PM »
Bloody silly that you're told that AFTER you've typed it and not before, doncha think?
I know that member XX, he has blocked my PM's too :P