Customizing SMF > Building Your Community and other Forum Advice
How to disable or hide to guest? "View the most recent posts on the forum"
swoodie:
--- Quote from: Shawn Gossman on November 22, 2011, 04:45:45 PM ---
--- Quote from: alios on November 22, 2011, 01:58:34 PM ---that line doesn-t exist in index.template.php for 2.0.1 smf forum
so i-m asking again:
how does one remove the "view most recent posts" ??? because this is really a big security problem
so i-am fixing all these permisions for users and guets,
but guests can read my forum via this "hole" in the forum named "view most recent posts"
--- End quote ---
He said "BoardIndex.template.php" not "index.template.php".
--- End quote ---
does this apply to 2.0.2 ????
Ricky.:
Yes, it does .
Kindred:
and I will note: This is not a "hole".
Recent posts respects the forum permissions... so, if guests (or any other users) have access to view the contents of a board, they will also see the recent posts form that board... if they do not have access to the board, then the recent posts form that board will not be displayed.
rootuid:
function RecentPosts()
{
is_not_guest('.');
.....
restricts index.php?action=recent to guests
Navigation
[0] Message Index
[*] Previous page
Go to full version