elgg-plugin loginrequired
Requires site visitors to be logged in to view the site. The only pages accessible without being logged in are the starting page, registration and forgotten password pages and the external pages (About, Terms, Privacy).
iionly/loginrequired
Requires site visitors to be logged in to view the site. The only pages accessible without being logged in are the starting page, registration and forgotten password pages and the external pages (About, Terms, Privacy).
- Thursday, September 17, 2015
- by iionly
- Repository
- 1 Watchers
- 1 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Loginrequired plugin for Elgg 1.9 - 1.12 and Elgg 2.X
Latest Version: 1.9.8
Released: 2015-09-16
Contact: iionly@gmx.de
License: GNU General Public License version 2
Copyright: (c) iionly, Khaled Afiouni, (*1)
What this plugin does
- No direct access to any site urls for non-logged-in visitors is possible with the exception of the pages explicitly allowed (login, registration, lost-password, external pages),
- When not logged in to the site only the login widget is displayed,
- It checks Elgg's walled-garden plugin hook for public pages,
- In addition it introduces it's own plugin hook to define public pages, i.e. the plugin hook defined in Khaled Afiouni's plugin can still be used in Elgg 1.8+1.9 with this plugin. Check the function login_required_default_allowed_list in start.php to see how you can define public pages in your plugins or add more pages to be viewable by not-logged-in users via this plugin.
ATTENTION: If using this plugin, please don't enable the walled-garden option on Elgg's advanced settings page., (*2)
Installation
- If you have any previous version of the Loginrequired plugin installed, remove the loginrequired folder from the mod directory before copying/extracting the new version on your server,
- Copy the loginrequired plugin folder into you mod folder,
- Make sure that in Advanced Settings the Elgg default walled-garden option is disabled,
- Enable the loginrequired plugin in the admin section of your.
If you want to change the layout of the login page look at the file loginrequired/views/default/page/layouts/loginrequired_index_example.php. This is an alternative for loginrequired_index.php. The example loginrequired_index_example.php includes a right column with a widget, some text in the widget and an image shown in the widget. You can modify loginrequired_index_example.php according to your needs and then replace loginrequired_index.php with your version., (*3)
dev-master
9999999-dev
https://github.com/iionly/loginrequired
Requires site visitors to be logged in to view the site. The only pages accessible without being logged in are the starting page, registration and forgotten password pages and the external pages (About, Terms, Privacy).
Sources
Download
GPL-2.0
The Requires
plugin
elgg
1.9.8
1.9.8.0
https://github.com/iionly/loginrequired
Requires site visitors to be logged in to view the site. The only pages accessible without being logged in are the starting page, registration and forgotten password pages and the external pages (About, Terms, Privacy).
Sources
Download
GPL-2.0
The Requires
plugin
elgg