Elxis CMS Forum
Support => Administration => Topic started by: ua on February 23, 2011, 12:40:49
-
I do not want to let my users see the members list.
I have already unpublished the 'members list' from the usermenu. However when you click on the users profile you can see find the link to members list.
I am also aware of modifying the softdisk properties however I have not been able to find a way to disable the entire list.
Any ideas on how to achieve this?
-
Welcome to Elxis Community.
Folder : components/com_user/
File : user.html.php
Line : #848
We must comment or delete that line on which returns a linkable text of Member List.
I attach this file to you. Take a backup of existing one and replace with attached one.
[attachment deleted by admin]
-
softdisk ??
-
Thanks @webgift - it works.
@Creative - softdisk is a component that allows you to change certain system properties without modifying code.
-
Not only certain specific... but you can add also to modify your website without hardcode.
-
There is also a menu item under the user menu that can be unpublished.
-
There is also a menu item under the user menu that can be unpublished.
I have already unpublished the 'members list' from the usermenu. However when you click on the users profile you can see find the link to members list.
;)
-
I just looked through the permissions access of the control panel and user list is not segregated as a function.
The only (quick and dirty) way of not showing that is to modify the \components\user.html.php file.
Otherwise I would say that datahell can offer a different idea.
-
I just found the lines to remove the link "Members List".
edit user.html.php
At line 848 change as follows:
<a href="<?php //echo sefRelToAbs('index.php?option=com_user&task=list&Itemid='.$Itemid, 'members/'); ?>" target="_self" title="<?php echo _E_MEMBERS_LIST; ?>"><?php //echo _E_MEMBERS_LIST; ?></a>
You didn't say if you did not want the random user profiles to show or not but after looking at the code, you can unpublish that from the modules.
-
Petro ,
I have already answered that above. ;D!
-
Component com_user parameter allows to hide username, language, group etc., but is there a way the Member List link can be removed completely under User Central and also not accessible via user/members/ without modifying the code.
Best,