Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: immigrants.ie on April 09, 2015, 04:38:04 AM

Title: How to disable "View the most recent posts on the forum." for guests
Post by: immigrants.ie on April 09, 2015, 04:38:04 AM
1. Even though guests are not allowed to view any boards in my forum, they can still access it via clicking the link "View the most recent posts on the forum. " at the bottom of the website. If they click on this link they could see all the posts in the forum, even though access to guests are disabled in various boards.

How to disable this link for guests? I dont want the guests to see the link "View the most recent posts on the forum. ".

2. Also how to disable the number of posts, topics and number of members for guests.

At the moment the guests are seeing the following
100 Posts in 57 Topics by 106 Members.



Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: Steve on April 09, 2015, 09:47:51 AM
But you still want guests to see what boards there are etc.?
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: margarett on April 09, 2015, 09:55:37 AM
Quote from: immigrants.ie on April 09, 2015, 04:38:04 AM
1. Even though guests are not allowed to view any boards in my forum, they can still access it via clicking the link "View the most recent posts on the forum. " at the bottom of the website. If they click on this link they could see all the posts in the forum, even though access to guests are disabled in various boards.
No, this cannot happen. If guests aren't allowed to see a certain board, no contents of it is displayed anywhere. Not on a standard install.
How did you excluded your guests from viewing some boards? By unchecking the memberbroup in the board modification page, or by using a MOD?
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: Justyne on April 10, 2015, 02:06:33 AM
Taking out that box in index template is not all that tricky, but correctly configured permissions would be a nicer fix.

Completely unrelated.... Why would you want to lock down all boards? I'm curious what the use case for that is. I usually like to leave a few boards visible on my communities so that potential new joins can get a feel of the place and have an indicator that the community is actually active.
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: OCJ on April 10, 2015, 05:41:02 AM
This should have come up in a  search:

How to Disable Recent Posts
http://www.simplemachines.org/community/index.php?topic=316841.msg2104330#msg2104330

Its a very simple fix if you are using a mod to view boards but not topics, or the hide contents bbcode.
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: Kindred on April 10, 2015, 06:33:54 AM
However, you both seem to have missed margarett's point...   What the OP describes WILL NOT HAPPEN in SMF, unless the OP has alreayd manually screwed up something.

Post and thread titles are only displayed in the recent posts list if the user can see the board that the threads and pists are in. If the user can not access that board, then the titles do not show up in the recent posts.
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: immigrants.ie on April 10, 2015, 08:06:52 AM
Ya, That was my fault actually. The child boards were not inheriting the parents permission profile. They had guest access allowed eventhough the parent had not. So Thanks every one...
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: Steve on April 10, 2015, 08:10:25 AM
Marking solved then. Let us know if you have any other issues regarding this subject. :)
Title: Re: How to disable "View the most recent posts on the forum." for guests
Post by: OCJ on April 10, 2015, 09:59:38 AM
QuoteHowever, you both seem to have missed margarett's point...

I didnt miss 'the' point. It was very clear that it was a fix for mods that ALLOW viewing of boards but not topics.

QuoteIts a very simple fix if you are using a mod to view boards but not topics, or the hide contents bbcode.

Obviously, the permissions were set incorrect or a mod is being used to view boards but not topics. There are only 2 cases right?