Is it possible to make the access permission drop-down box (which appears at the end of each content upload form) 'admin' only ?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Ok, figured it out after a bit of hacking about. This will remove the access permissions drop down menu on all users who dont have admin access. In my opinion it makes for a much cleaner profile screen.
Edit this file:
root\htdocs\ELGG-INSTALL-DIR\views\default\input\access.php
Insert the following code:
if (elgg_is_admin_logged_in())
{
*Current file code content goes here*
}
@Alex : thats not the proper way of modifying Elgg. Copy the same file and put it inside
mod/your_theme/views\default\input\access.php and make the modification in that file
Can I use this mod for my site where I need every user set as default to private and to stay that way until they make a friend and the info is then shared only between friends
- Previous
- 1
- 2
- Next
You must log in to post replies.