Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-28-2011, 04:56 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 05-28-2011, 05:13 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 05-29-2011, 12:36 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-29-2011, 12:46 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michelle86 View Post
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.
Reply With Quote
  #5  
Old 05-31-2011, 01:07 PM
Menzer Menzer is offline
 
Join Date: Sep 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 09-25-2012, 05:02 AM
Zylantex Zylantex is offline
 
Join Date: Sep 2009
Location: France
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 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.03856 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete