HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Disabling login/join in addition to checking 'Closed site' in configuration

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#100596 (In Topic #19751)
Avatar

Fan in action

Hello :P
a couple of weeks into hacking about with OCPortal and I feel I made the right choice of CMS for my upcoming site :)

Please could somebody advise me with this issue I have:

I have checked the 'Closed site' box on the 'configuration-site' page in adminzone as I don't want my site to be viewable while I construct it. It works, when typing in my website URL into a browser you are instead presented with a text box which i the user is able to define in the 'configuration-site' which says something along the lines of "my site is under construction!"... all good

but

underneath the text is a login button which in turn takes you to screen where you can join the site. I don't want anybody joining the site until it is open.

I have tried checking the option to only have people be able to join if they've been invited to join the site, I thought this might be a workaround, but it doesn't seem to work, an un-logged in user can still join my closed site. I tried clearing my browser cache?

alternatively I thought i could hack about with the comcode that relates to this 'Closed site' page, under construction page if you like, and remove the Login button from there, but I'm not sure where i can find it? maybe it's a block or a module that needs to be edited and not an actual page?

I think I would have found it by now but simply is there a sister option to the 'Closed site' option in configuration somewhere that just stops people being able to join the website outright until a time when the site goes online?

Thanks for any time any of you may take in replying to my query. 
Back to the top
 
Posted
Item has a rating of 5 (Liked by Fletch)  
Rating:
#100598
Avatar

In your Admin Zone, under the 'Security' menu, click on 'Permissions Tree Editor'.

On the next screen, find the 'Join' module and click on it (you'll find it in the 'Welcome' zone), and then untick 'View access' for Guests.

This will prevent Guests from being able to access the 'Join' module, and will therefore prevent registrations.

Just remember to change this back when you're ready to let people join again!


Like ocPortal on Facebook:
Back to the top
 
Posted
Item has a rating of 5 (Liked by Fletch)  
Rating:
#100599
Avatar

Fan in action

That really made my morning, thanks :-)
I've also now got a new part of the puzzle in my head concerning OCPortal, the site tree editor is something i hadn't clicked on yet and it looks like an elegant way of changing permissions through the site. Thanks
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: