Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-19 05:43:08

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Filter different clients to certain content with different passwords?

I am about to take on a project where I need to allow two types of customers to view different content. This needs to be done without their knowledge.

Customer A can view content A. Customer B can view content B.

I would like to do this by password. Customer A is given a specific password and Customer B is given a different password. When the password is entered the user is directed to the specific content based on password.

Can this be done within textpattern and how?

Last edited by mattmikulla (2006-01-19 05:43:49)


Art Rogue – Fine Art Photography

Offline

#2 2006-01-20 03:05:37

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: Filter different clients to certain content with different passwords?

Seems like this could be done with php and cookies. A login on the main page would set the cookie, and on each page template, you could redirect to two different forms dependant on what the cookie value was. I have something similar working on the Fillip site. It might make sense to put your content into two sections or catagories and then test in each template associated with a given section that the correct password has been entered.

Offline

#3 2006-01-20 16:38:08

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Re: Filter different clients to certain content with different passwords?

Thanks Jeff K.

Any ideas on where to begin. Can I use textpatterns txp:password_protect?


Art Rogue – Fine Art Photography

Offline

Board footer

Powered by FluxBB