How to restrict the Homepage only to registered users

18.2.2. How to restrict the Homepage only to registered users

Suppose that you have set up the News module as the "Homepage module" of your PHP-Nuke, but you want the news articles to be visible only to registered users. Can this be done?

Well, not exactly. Since you want the News module to be visible only to registered users, you cannot have it in the "Home". This means you must put a different module in Home (see hide articles from logged out users). You can do this from the "Put in Home" link in the modules table shown in the modules administration panel (Section 7.1, Figure 7-19).

Once the News module is not in Home anymore, you can edit it and choose that it be visible only by the registered users.


The "Who can View This?" selection box is not available, as long as the module remains the "Home" module of your P HP-Nuke installation. That's why you can't restrict the visibility of the Home module, no matter which module this is. T he reason for this is that it makes little sense to have a Home module and restrict its availability only to registered users, unless you want your site to be generally available only to registered members.

Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO


Site Info

Last SeenLast Seen
  • Doulos
  • FireATST
Server TrafficServer Traffic
  • Total: 383,993,260
  • Today: 19,767
Server InfoServer Info
  • Jun 17, 2019
  • 07:05 am CEST