Loginrequired Theme

Warning: This plugin has't been updated in over 4 years. It may no longer be maintained.

What you can do to help:

Loginrequired Theme Plugin Provides Uniform Header throughout, and Explicitly prevents execution of Cron Jobs through Browser in Logged Out Status.

Last updated
Recommended Releases
Elgg Release Download Date Links (199.15 kB)2019-Oct-01
Show all releases

Loginrequired Theme plugin Ver: 1.9.9 for Elgg 2.3  


  • ALL Credits Goes To the Original Author iionly
  • The version 1.9.9  ​is an slight modification of iionly original plugin - 1.9.8 Version.
  • Important Loginrequired Theme plugin Ver: 1.9.9 has dependency requirement. This dependency, MUST NOT BE Ignored.  Dependency plugin is - [Elgg 1.8-1.12 & 2.X & 3.X: Crontrigger]​   * without this plugin crons will not function. See the To Do List for work around.
  • Latest Version: 1.9.9  ​
  • Released: 2019-10-01  
  • Contact: shad.mujib@myhotfb.com License: GNU General Public License version 2  
  • Copyright: (c) Shad Mujib @ Myhotfb.com including original author iionly, Khaled Afiouni

What this plugin does in Version 1.9.9 ? -

  1. Provides a Login Box with No Header Menu
  2. Uniformity in Header throughout.
  3. Cron Job Protection. Prevents Execution of Cron Jobs on Browser in Logged out State 
  4. No direct access to any site urls for non-logged-in visitors.
  5. Exception Pages explicitly defined through function login_required_default_allowed_list :    about,privacy,terms,login,registration, lost-password, contact, announcements,     user_support / faq, feedback,anypage.
  6. Removed Login Dropdown Box


For crons to function properly, [Elgg 1.8-1.12 & 2.X & 3.X: Crontrigger] Plugin is required.


Suggesting Captcha Plugin - [Elgg 1.8-1.12 & 2.X & 3.X: Captcha] which must be placed before the Loginrequired Plugin 

[**** Todos: *****]

​In start.php incorporate if > else logic to disallow cron when not logged in but continuation of functioning cron as normal when logged in. In this way eliminate the requirement of additional plugin [Elgg 1.8-1.12 & 2.X & 3.X: Crontrigger] for crons to run correctly.

DO NOT IGNORE: ATTENTION:  If using this plugin, please don't enable the walled-garden option on Elgg's advanced settings page.

----------- Installation ---------

  1. 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.
  2. Copy the loginrequired theme plugin folder into you mod folder.
  3. Place the plugin at the very bottom of the plugin list.
  4. Upload, Extract and Activate Plugin Crontrigger => [Elgg 1.8-1.12 & 2.X & 3.X: Crontrigger] to ensure cron jobs are running correctly.
  5. Upload, Extract and Activate Plugin Captcha => [Elgg 1.8-1.12 & 2.X & 3.X: Captcha] and place this plugin above Login required theme plugin.

[OPTIONAL] 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.


  • Category: Themes
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-10-1
  • Downloads: 468
  • Recommendations: 0

Other Projects

View MyHoTFB.COM ®'s plugins