0

Hi im wondering if someone can guide me where to go im looking for a system where a user can stop another user contacting them via message system on my site ive search ignore user and block user but there is nothing for custom built sites only things like word press or other cms software

if anyone can guide me where to go be much appreicated

ty jan

3
Contributors
3
Replies
14
Views
1 Year
Discussion Span
Last Post by janicemurby
0

What kind of messaging system are we talking about? If it's Skype, Microsoft removed that functionality when they bought the software.

1

I'm assuming that this is a DIY messaging service you've got set up? If so, set up an Ignore table with the following structure:

Ignore Table

id (user_id doing the ignoring)
ignore_id (user to be ignored)
ignore_datetime

Have a composite PK on the first two fields which are of course both FKs of your user table PK. This way any message sent from the ignore_id user will be checked against the Ignore table data before being delivered to the messages table. If a record is found in the Ignore table, then inform the user that his/her message has been blocked and halt the messaging process.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.