vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Can a member block another member from reading their posts? (https://vborg.vbsupport.ru/showthread.php?t=264326)

michelle86 05-28-2011 04:56 PM

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! :)

kh99 05-28-2011 05:13 PM

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)
    $post['message'] = "<b>You do not have permission to view this post</b>";


(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.

michelle86 05-29-2011 12:36 AM

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.

kh99 05-29-2011 12:46 AM

Quote:

Originally Posted by michelle86 (Post 2201089)
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.

Yeah, I was just going to post that when I saw your update. I figured there must be other ways to see the posts, and they probably have to be addressed individually.

I'll think about it. Maybe someone else will come up with a better idea in the mean time.

Menzer 05-31-2011 01:07 PM

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

Zylantex 09-25-2012 05:02 AM

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 05:43 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
  • Page Generation 0.01470 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete