removing all users list (General)

by friday-admin @, Friday, January 10, 2020, 22:56 (257 days ago) @ LostGem

I have installed forum 2.4.20 I would like to remove the ability for users to see all the registered users.

You can do that by changing the program code and the template.

1.

Open
/themes/default/subtemplates/main.tpl

Search for
<li><a href="index.php?mode=user" title="{#user_area_link_title#}">{#user_area_link#}</a></li>

Remove it.

2.

Open
/includes/user.inc.php

Search for
case 'main':

Replace it by
case false:


Cheers. Flo.


Complete thread:

 RSS Feed of thread

powered by my little forum