Page 1 of 1

S9Y as a password protected community site?

Posted: Wed Jul 26, 2006 9:45 am
by alex100
Over at the Textpattern forum, Jon Hicks lately asked the following:

I’m planning the redesign of a charity site for a client where the needs are:
* Some areas of the site are closed to general public
* To get access to those areas, users must register, and pay a donation (presumably this could be handled by paypal?)
* An admin then approves that registration
* User gets email with login details, and links to goodies
* User gets access to all of the site, including a forum (using the same login details, so if they’re signed in, they don’t have to sign in to the forum again)
===========

Out of curiosity i just wonder if this is possible with s9y?

Re: S9Y as a password protected community site?

Posted: Wed Jul 26, 2006 1:08 pm
by garvinhicking
Hi!

Yes, s9y can assign readership/permissions for each category/subcategory, and for each article. Thus you can create isolated "private" areas, where people have to log in.

There also exist a self-register plugin, however this does not hook in with a paypal donation. But either you manually keep track of your user's donations, or you could enhance the plugin with a paypal interface. Need for that hasn't currently arisen, but I could code that maybe in a day or so. But since this sounds quite commercial, I must admit that I wouldn't want to do that for free. :-D

But the Plugin API would really easily allow this.

Best regards,
Garvin

Posted: Thu Aug 24, 2006 11:53 pm
by eisi
Hello,

is it also possible to hide categories where a user does not have read access?

If i get it right, currently all categories are shown, without looking at access rights of the current user. Just when you click at them, there are no entries visible.

best regards,
Stephan

Posted: Fri Aug 25, 2006 11:54 am
by garvinhicking
Hi!

Yes, if the blog is configured to apply ACL permissions to categories, then categories that you have no read access to are not shown.

Best regards,
Garvin

Posted: Sun Aug 27, 2006 11:30 pm
by eisi
Hello Garvin et.al.,

probably a stupid question: How do i apply ACLs to categories (not the posts inside the category!) ?

I am using s9y 1.0.1. Is this a feature of 1.1beta?

I set "Apply read-permissions for categories" to YES in the Configuration/'Appearance and Options' pane.

I also activated the plugin "Extended properties for entries" and set the option "Use group-based restrictions" (and even "Use user-based restrictions") to YES.

But i still see my "private" categories when i am not logged in!

Stephan

Posted: Mon Aug 28, 2006 12:42 pm
by garvinhicking
Hi!

You should have a look at the config of the 'categories' plugin. There you can set the authorid for whom the category list should be created. There you can switch the select to "Logged in Authors".

I don't know since which version this is available, but I believe it is available in s9y 1.0.1...

HTH,
Garvin