Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Members only section?
I’ve been trying to make a section accessible only to registered users. I’ve been getting buggy results with ign_password_protect so I’m looking for a different approach.
It seems this can be done with a combination of mem_simple_form and rvm_privilaged, but I can’t figure out how to go about creating a custom login page that will direct registered users to the members only section.
Is this possible without delving into PHP code?
Is there a tutorial how to do this, or could someone point me in the right direction?
Offline
Re: Members only section?
I’m not sure how mem_simple_form
would help in your situation, and as far as I know rvm_privileged
only works if people are logged in at the back end.
The only real bugginess I have experienced with ign_password_protect
is that it doesn’t remember your login across browser sessions ie. you have to login each time.
However, I have found a problem with the errors for users wanting to change their password and have fixed that. I am also extending it to allow users to have a new password generated and emailed to them (not done yet).
I guess then it will be good enough for my needs.
Offline
Re: Members only section?
I just want to update that since my last post I’ve been able to get ign_password_protect to work and until now it looks like the results are flawless!
I was having problems with sessions expiring when users clicked on links to different pages on the site, or did a page refresh.
I added the following hidden tag and it looks like it solved my problems:
<input type=“hidden” name=“stay” value=“1”>
Maybe this will help you too Anura?
Offline
Re: Members only section?
I have that in there, it’s just that I find it inconsistent. But it could have been my imagination as it seems to be working perfectly now.
I find the lack of a bullet-proof user management system for TxP – including password protection, password management, update to user profiles etc – to be frustrating.
I’ve managed to get ign_password_protect
working, but still struggling to get mem_self_register
to work for users to be able to update their own details. It would be nice if something just worked ‘out of the box’.
I guess I can say that my PHP skills are incrementally improving as I hack around with igner's
and manfre's
good work (and no offence to them – I’m sure what they have developed works, just not on my installation of TxP on my host).
Offline
Pages: 1