Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-09-04 01:14:36
- Abidjanaise
- New Member
- Registered: 2008-09-04
- Posts: 5
Password protect sections -- is it even possible?
I would like to be able to divide my blog into three sections with different views: public, family & private.
I would like to be able to password protect the family section so my mother-in-law can see it, but I would also like to have a private section where I can vent about her to my sister and mother… I would tag the posts accordingly so they fit into the appropriate sections.
So I would like to have 3 sections -
public — no password — views public posts only
family — password protected — views public posts & family posts
private — password protected — views public, family & private posts.
To complicate things, is it possible to have the public not see the possibility of family or private posts and the family not see the possibility of private posts?
I’ve had a look at ign_password_protect plugin but am not sure that it will do what I need. And I’m not sure even what terms I should be using if I needed to approach a developer to help.
Can anyone tell me :
1) is this possible with Textpattern?
2) can I do this with plug-ins or do I need professional assistance?
3) how to do this.
Thanks so much,
Lauren.
Offline
#2 2008-09-04 01:36:03
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Password protect sections -- is it even possible?
You should be able to do this with a plugin called ign_password_protect.
— Steve
Offline
Offline
Re: Password protect sections -- is it even possible?
Seriously, you do need professional assistance. Go and see someone soon who can help convince you of the abject folly of recording negative sentiments about your mother in law in any shape or form, password protected or not. You will be found out and will be made to suffer!
Offline
Re: Password protect sections -- is it even possible?
joebaich wrote:
Seriously, you do need professional assistance. Go and see someone soon who can help convince you of the abject folly of recording negative sentiments about your mother in law in any shape or form, password protected or not. You will be found out and will be made to suffer!
Haha, true :D If it was a joke, right?
Abidjanaise wrote:
can I do this with plug-ins or do I need professional assistance?
Plugins can do that password protect thing. As netcarver said, ign_password_protect can do it with out any big hazzle.
With <txp:ign_password_protect />
-tag you can hide the whole page (section) where the tag appears. Just put it to that template which the protected section uses (or use conditionals to limit it to that section etc).
Other way is to use <txp:ign_if_logged_in>
conditional which you can use to surround the protected section’s <txp:article />
-tag, navigation etc, which basically hides the content that the tag outputs from the eyes of evil.
Offline
Re: Password protect sections -- is it even possible?
I used this plugin quite a lot of time ago to password protect a section (what else?), and it worked just fine, but if I remember correctly I don’t think it can allow for different kinds of users with different privileges, which is what Abidjanaise seems to require. Or am I wrong?
Edit:
Never mind, after checking the corresponding thread it is obvious that I was wrong!
Last edited by jordi (2008-09-04 16:27:41)
Offline