S9Y as a password protected community site?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
alex100
Regular
Posts: 18
Joined: Mon Jul 24, 2006 9:58 am
Location: Cologne
Contact:

S9Y as a password protected community site?

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: S9Y as a password protected community site?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
eisi
Posts: 2
Joined: Thu Aug 24, 2006 11:47 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
eisi
Posts: 2
Joined: Thu Aug 24, 2006 11:47 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply