Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Help with Password Protect
Gocom wrote:
Cause you are login to the logout path :D To fix that, change the form’s action value et cetara.
Change it to what? The login form is inside a txp form, and so must be universal, it is currently set to ‘<txp:page_url />’
Last edited by driz (2008-11-03 22:54:13)
~ Cameron
Offline
Re: Help with Password Protect
I’ve tried some tags, no luck, what do I need to change it to?
~ Cameron
Offline
Re: Help with Password Protect
help? :S
~ Cameron
Offline
Re: Help with Password Protect
Wait for it, it will come when it has to.
Or re-read the first replies in this thread, to find out where you should ask questions about ign_password_protect and so, you will have more chances of being helped with the correct answer.
Avoid bumping your threads in less than two hours (check your three first posts) and now less than a day after, it irritates me, really.
And you bump it with just:
“I’ve tried some tags, no luck, what do I need to change it to?”
“help? :S”
Really, couldn’t you post some helpful information so others can help you?
Are you stupid? Or just lazy?
Offline
Re: Help with Password Protect
In example <txp:page_url />
could become <txp:php> echo str_replace('?logout=1','',page_url(array())); </txp:php>
or you could use plugin’s form tag that automatically outputs form
. I just didn’t use it in my example cause you needed a invalid and customizable form.
Last edited by Gocom (2008-11-04 15:27:42)
Offline
Re: Help with Password Protect
Hello all. I’m new to this. I’m trying to employ the use of Password_Protect onto one of my pages. I’m following the advice out of TextPattern Soultions (not helpful) which says to simply include this tage to the template page I want password protected:
<txp:password_protect />
When I view the page, the article content appears. I even logged out and viewed again, but still not requirement to log in.
BTW, I’m working from Local Host for now.
Ideas anyone?
Thanks much!
Living the Location-Independent Life: www.NuNomad.com
Offline
Re: Help with Password Protect
ign_password_protect still might be the way to go; there are problems but some people seem to having partial success with the latest version of TXP (4.2.0).
If you can get it to work, it’s a simple conditional tags, something like this (I think)
<txp:ign_if_logged_in>
restricted content
</txp:ign_if_logged_in>
…or have you solved this already?
Offline
Re: Help with Password Protect
Hi Gavnosis,
Just saw your reply. Nope, haven’t solved the problem yet (I’ve been working on other parts of the website and have just come back to the issue). The tag I am using is this (I don’t remember where I found it though):
<txp:ign_password_protect privs=“1,2,3,4,7” login_msg=“Please log in to view this resource.” remember=“true”><txp:article status=“sticky” limit=“1” form=“sticky-blog” /> <txp:article form=“archive-form-bod” limit=“5” /> </txp:ign_password_protect>
I’m able to log in, but its very unreliable. Sometimes it works, sometimes not. I emailed the author of the plug-in, but he’s no longer working on it (time constraints and whatnot). Now I’d be interested in ANY password protection—preferably one that will allow me to maintain Users that are not granted access to the Textpattern backend.
Information would be very much appreciated by anyone.
Thanks for your help.
Living the Location-Independent Life: www.NuNomad.com
Offline