Restricting access to only registered and logged-in members

Hello

The UNA site I am working on is installed with a number of apps installed and Lucid theme enabled as default in Designer. The site is for a local community group,  and not for the general public to view. People can register though, and registrations will be accepted or not by admins.

I would like to restrict a lot of the site to members only, so the public cannot see personal profiles and personal posts. Maybe they are redirected to a login page. I do want the public to see the About Us, Contact, page and maybe a landing page where people can register and login. I would like the Events page to be visible to the public as well.

Can this be done? help appreciated?

Robert

  • 655
  • More
Replies (15)
    • Hi,

      go under ur Studio - Pages  / Under Pages u go on left side under System and choose the page Homepage

      image_transcoder.php?o=bx_froala_image&h=4858&dpx=1&t=1615253012

      you see the Splash box on my photo ... click on it

      image_transcoder.php?o=bx_froala_image&h=4859&dpx=1&t=1615253101

      In ur PopUp u looking for Visible for and makes this setting - same as on my next Screen

      image_transcoder.php?o=bx_froala_image&h=4860&dpx=1&t=1615253214

      In this way u must make settings in all ur Boxes, who and which level can see it or not. All what u set with Unauthenticated is public on ur site ;)

      The same thing u can do with ur navigations and all boxes on other sites too.

      I hope i could help u :)


      • Thanks very much ==[N]== 

        When I click on Selected levels and deselect all but Unauthenticated, then click save, the spinner icon just keeps spinning and it seems to hang there. All other navigation and saving through the site seems quick until that hangs. Not sure what might be missing here.

        Robert

        • Before I clicked Splash icon, it does seem a bit greyed out compared to yours. I may have to enable it elsewhere first?

          • on buttom of this popup it must be activated, all what is gray transparent is not activated

            • OK, I found I can enable Splash at Studio > Designer > Splash

              However, when I check the box and click save, it just hangs.

              It's late here, going to sleep, will pick this up tomorrow.

              Thanks for your help!

              Robert

              • Studio > Designer > Splash   this way u can go too but than u have no header and footer and people can´t change languages ectt.... ;)

                • or send me ur access and and i take a look fast ;)

                  • Hi ==[N]== 

                    I've managed to solve my earlier problem with saving. The splash area shows up for unauthenticated users on the Home Page only now though.

                    I'd like to continue and disable these pages for unauthenticated users:

                    People, Discussions, File, Groups, Polls, Chat.

                    When I go to Studio > Pages > Discussions I see the 'Select Page..' dropdown. Should I go through all of them and untick unauthenticated for every option on each page. There seems to be a lot of pages and each page has lots of sub-options to select and disable unauthenticated. It seems a long-winded way. Am I missing a trick here for protecting these other pages? if there an easier way for each page? I don't want to test it until I know the best way.

                    Robert

                     

                    • ... continued...

                      Should I add a splash page section to every page I want restricting?

                      • OK, I managed to make all the pages inaccessible to unauthenticated users, and it simply displays the words "ACCESS DENIED"

                        I'd like to instead display the request invite page shown on /page/create-account on all pages for unauthenticated visitors.

                        Not sure how to add that to all pages for unauthenticated visitors for each page meant for members only?

                        • Same problem / question here. It is really "much work" to prevent unautehticated users from accessing content they really should not see (Groups, Users, Persons, Albums, ....).
                          In Studio -> Permissions I allowed "Unauthenticated" only to create Account. But the system doesnt interest. "Guests" can still see anything / everything.
                          Is there really no way to prevent unregistered users to see nothing but the "Login / create"?

                          • If you have set the required permissions you pay want to clear your caches and try again.

                            • Hello walhalla !

                              First of all, you need to cut all actions from the Unathentificated level in the Permissions app. If you want to hide all public area also like Groups home etc you should limit the availability of this page via Studio->Pages area (every necessary page there->Settings) .

                              • If you want to hide all public area also like Groups home etc you should limit the availability of this page via Studio->Pages area (every necessary page there->Settings) .

                                It is really a pain *** because one has to edit dozends of sites (f.e. Albums ne, albums favorite, albums lates, ... and so on for every app (Groups, Albums, Posts, Channels, ... .... ALL). Even better: you have to lokk in each one if there has to be changed the rights / visbility. Who invcented this? Did this one ever has had a web running and did not want to show everything to everybody???

                                • You may do the mass changing of the visibility via the MySQL command. First of all, choose any page and close the visibility option for the guests via Settings and remember the name of the page (it is placed in the page variable from the URL like studio/builder_page.php?type=bx_spaces&page=bx_spaces_create_profile).

                                  Then go to your UNA database and run the following query (backup the `sys_objects_page` table first):

                                  SELECT `visible_for_levels` FROM `sys_objects_page` WHERE `object`='[name of your page]';

                                  Remember the appeared value and then run the new MySQL query:

                                  UPDATE `sys_objects_page` SET `visible_for_levels`='[this remembered value form previous query]';

                                  Login or Join to comment.