YAFLogo

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
http://forum.yetanotherforum.net/yaf_help_index.aspx?faq=pm 

Why can't I send an e-mail to someone?

If you cannot find an e-mail button or link for a member, it means either that the administrator has disabled e-mail functions for this forum, or that the member has said that they do not wish to receive e-mail from other members.

Any idea how members can block PM/emails from others?

A lot of people are sending me PMs and email. Currently I have disabled PM for entire forum. Any idea how to block it just for myself?

Sponsor
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Coudl you add this as a feature request. It would be very simple to implement:

In user control panel, add three check box:

1. Block other users from sending me PM

2. Block other users from sending me Email.

3. Block other users from sending me friend request.

In backend DB, just add one more column in users table called "BlockContact"

It can have values "pm,email,friend" for each user.

If it has all three values, it means users wants to block others from sending pm, email and friend request.

If it has values "pm, email", it means user wants to block others from sending pm and email only. He is fine with others sending him friend request.

If it is NULL, then they are no blocks.

All this assumes that pm, email and friend request are enabled in Admin settings.

squirrel
11 years ago
it would be better expanded with the ability to block harassing users - member needs ability to add users to maybe a comma list or something...

Or a Table:

BlockedMemberID, Blocked By, Block Type (or something to that effect)...


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
That would be a good enhancement. Though it may take longer to code blocking each type for each user; compared to a high level block 🙂