![]() |
Can a member block another member from reading their posts?
Hi,
So I need to find out asap whether or not there is a mod out there that will allow Member A to not only ignore Member B's posts but that will also block Member B from reading Member A's posts. I have a member that does not want another member reading her posts for legitimate reasons. I can't ban this member because a lot of other good members actually like her and they'd give me a bunch of grief if I did. I've tried searching for this in the mods but can't find anything. If you know of something out there, please let me know! :) |
You could do something like this: create a plugin using hook location postbit_display_complete and this code:
Code:
if ($this->registry->userinfo['userid'] == 1 && $post['userid'] == 2) (of course you'd change 1 and 2 to the actual user ids of the blocked and blocking users). But there are other ways to see a post that aren't covered by this, for example if your forum is not private to members only then the user you're trying to block would only have to log out. |
Tested it out and it works but...
Is there a way to do it, so it won't display to the blocked person at all? And even make it so they can't see entire threads started by a specific member? That would be ideal with the current situation I am facing with two members right now. Also when you go to the member's profile and click "view all posts" it still shows a portion of the post (or all of it if it were a short post). That's a pretty easy loophole to figure out. |
Quote:
I'll think about it. Maybe someone else will come up with a better idea in the mean time. |
This would be great, I have a few users who requested something like this. This was due to a person following another user and posting stupid things. would love to see this as a feature
|
I'm sure that someone with more coding ability than I could find a way to make use of the "Ignore" feature.
For instance if Fred has Joe on ignore then two things happen: 1. Fred can't see Joe's posts (as per standard feature) 2. Joe would then be denied access to reading Fred's posts. |
All times are GMT. The time now is 02:52 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:
|