MyBB Community Forums

Full Version: Members can view titles but not contents of thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I searched mods and there is one to do for guests but not one for members.
What I want to do basically is to make a private section where members can view the titles of all the threads created in this section, but they cannot open and try to view the contents instead they should be shown a no permissions page.

I have seen it done in some MyBB forums, how can I do the same?
Anyone?
(2016-09-06, 12:29 PM)pg001 Wrote: [ -> ]Anyone?

Follow these steps:

Go to the ACP -> Forums & Posts -> Select the forum you want to edit -> Permissions -> Registered -> Select ONLY "Can view forum" and save. It should work.
I believe that is they are allowed to view the thread, not post. But they can view the entire thread (i think). There is also a mod that restricts access to first post only (not the same but close)

https://mods.mybb.com/view/first-post-only
(2016-09-07, 02:33 PM)pmx.pt Wrote: [ -> ]
(2016-09-06, 12:29 PM)pg001 Wrote: [ -> ]Anyone?

Follow these steps:

Go to the ACP -> Forums & Posts -> Select the forum you want to edit -> Permissions -> Registered -> Select ONLY "Can view forum" and save. It should work.

This is the first thing I tries and I went back to check again to see if it works, it doesn't
The members see this 
Quote:Sorry, but you do not have permission to view threads in this forum.

But I want the members to see the thread titles in the forum but when they open it they should be given a message that they are not allowed.


(2016-09-08, 01:35 AM)metulburr Wrote: [ -> ]I believe that is they are allowed to view the thread, not post. But they can view the entire thread (i think).  There is also a mod that restricts access to first post only (not the same but close)

https://mods.mybb.com/view/first-post-only

Thanks for the help, but this is not something I am after, I don't want them to even see the first post.
(2016-09-08, 07:11 PM)pg001 Wrote: [ -> ]
(2016-09-07, 02:33 PM)pmx.pt Wrote: [ -> ]
(2016-09-06, 12:29 PM)pg001 Wrote: [ -> ]Anyone?

Follow these steps:

Go to the ACP -> Forums & Posts -> Select the forum you want to edit -> Permissions -> Registered -> Select ONLY "Can view forum" and save. It should work.

This is the first thing I tries and I went back to check again to see if it works, it doesn't
The members see this 
Quote:Sorry, but you do not have permission to view threads in this forum.

But I want the members to see the thread titles in the forum but when they open it they should be given a message that they are not allowed.


(2016-09-08, 01:35 AM)metulburr Wrote: [ -> ]I believe that is they are allowed to view the thread, not post. But they can view the entire thread (i think).  There is also a mod that restricts access to first post only (not the same but close)

https://mods.mybb.com/view/first-post-only

Thanks for the help, but this is not something I am after, I don't want them to even see the first post.
That mod is almost what you want. Its just the first post that you dont want. I am not great a php, but all you really need to do is modify that mod to exclude that first post also and your done. Contact the mod author to try to modify that to your requirement. Or take that file to a php forum and ask how to modify it to remove the first post also. Most likely its a slice or index value that just needs to be changed and it will hide all posts. The main file is only a few hundred lines of code. And there is only 1 function in there that checks post count.
(2016-09-06, 12:29 PM)pg001 Wrote: [ -> ]Anyone?

Have you tried/considered ...

http://mods.mybb.com/view/member-groups-...-threads-2

Change compatibility line (21)

from: "compatibility" => "16*"
to : "compatibility" => "18*"
(2016-09-09, 06:47 AM)Vanz Wrote: [ -> ]
(2016-09-06, 12:29 PM)pg001 Wrote: [ -> ]Anyone?

Have you tried/considered ...

http://mods.mybb.com/view/member-groups-...-threads-2

Change compatibility line (21)

from: "compatibility" => "16*"
to    : "compatibility" => "18*"

This worked!
To people using Google to look for solution for this, apart from changing compatibility, you have to modify permissions for the forum where you apply this plugin by enabling Members to view forum and view thread within forum.