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
-
- · Ξx¢ΞL 2
- ·
Hi,
go under ur Studio - Pages / Under Pages u go on left side under System and choose the page Homepage
you see the Splash box on my photo ... click on it
In ur PopUp u looking for Visible for and makes this setting - same as on my next Screen
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 :)
-
- · Robert
-
·
In reply to Ξx¢ΞL 2
- ·
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
-
- · Robert
-
·
In reply to Ξx¢ΞL 2
- ·
Before I clicked Splash icon, it does seem a bit greyed out compared to yours. I may have to enable it elsewhere first?
-
- · Ξx¢ΞL 2
-
·
In reply to Robert
R
- ·
on buttom of this popup it must be activated, all what is gray transparent is not activated
-
- · Robert
-
·
In reply to Ξx¢ΞL 2
- ·
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
-
- · Ξx¢ΞL 2
-
·
In reply to Robert
R
- ·
Studio > Designer > Splash this way u can go too but than u have no header and footer and people can´t change languages ectt.... ;)
-
- · Ξx¢ΞL 2
-
·
In reply to Ξx¢ΞL 2
- ·
or send me ur access and and i take a look fast ;)
-
- · Robert
-
·
In reply to Ξx¢ΞL 2
- ·
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
-
-
- · Robert
- ·
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?
-
- · walhalla
- ·
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"? -
- · Molosser Dogs
- ·
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) .
-
- · walhalla
-
·
In reply to LeonidS
- ·
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???
-
-
·
LeonidS
- ·
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]';
-
·
LeonidS