mybb 1.8.x add-on to prevent the member from entering the subject
#1
Hello,

Mybb 1.8.x version,;

I want to keep a member away from the topic he is discussing.

I want to prevent him from entering that topic
Reply
#2
Only a specific member, or a specific usergroup?
Are these specific topics with a certain label, in a certain board, or just, in general, specific topics?

This would not be difficult at all to do, but the issue is that someone could very easily circumvent this simply by registering another account. That will be the difficult aspect of doing a "blacklist" way of going about it. It might be better to have a board that displays topics to everyone with at least X posts, but blocks them to specific usergroups.

What, very specifically, do you need this to do?
Reply
#3
I just want to prevent certain members from entering and replying to that topic
Reply
#4
If I have this right, you still need it to display in the thread list, but just to be blocked from entering and replying? Is this just one thread?
Reply
#5
(02-29-2020, 10:11 PM)Darth Apple Wrote: If I have this right, you still need it to display in the thread list, but just to be blocked from entering and replying? Is this just one thread?


It will only be for the subject
Reply
#6
Telling him not to won't work? Why not banning him entirely or from that specific forum?

Seems quite simple to me. Blocking the subject field would seem a waste of resources for something like this.
Reply
#7
(03-01-2020, 12:51 AM)Omar G. Wrote: Telling him not to won't work? Why not banning him entirely or from that specific forum?

Seems quite simple to me. Blocking the subject field would seem a waste of resources for something like this.


My aim is to prevent people who are controversial about it from getting into that topic.
Reply
#8
Could you elaborate? I'm unsure if you mean to stop the user from entering specific subjects within the subject field (see attached image) or to stop the user from entering one specific thread.

If the second is the case, I can think of three ways to achieve it.
  1. https://community.mybb.com/mods.php?action=view&pid=292
  2. https://community.mybb.com/mods.php?action=view&pid=353
  3. https://community.mybb.com/mods.php?action=view&pid=403
    1. Create one additional group and put the use into that additional group.
    2. Create one prefix to block that group from viewing.
    3. Put that prefix to the thread you want to block for that group.

      The downside in using my plugin is the enforcement of one specific thread prefix so your thread won't have another.

If you don't mind the user viewing the thread content and just want him not to reply, I'd suggest the 2nd option.


Attached Files Thumbnail(s)
   
Reply
#9
https://community.mybb.com/mods.php?action=view&pid=353

the second option looks good.
Some locations for version 1.8.22 do not work well.
No warning appears.

There is no warning like the picture below.

[Image: 943c8873a08.png]
Reply
#10
You are confused about that warning. I have replied in the plugin release thread on benefit of future inquiries:
https://community.mybb.com/thread-165119...pid1344304
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)