Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#451 2007-09-16 18:28:24
Re: ign_password_protect
I got ya … thats what I did and everything works fine until I combine it
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#452 2007-09-29 18:46:58
Re: ign_password_protect
for validation please remove the alt attribute added to the logout link
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#453 2007-10-02 04:54:19
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: ign_password_protect
Hey hey all, this is a great plugin
Im using this plugin on my site but im getting a problem when a user navigates the site using IE and then goes to the password protected areas after they login and they start to navigate through the password protected pages For each page they have to login again. Im guessing its a cookie problem.
Works perfect in Firefox. So its just a stupid IE bug im using version 0.5b4 of this plugin. Can someone help?
Offline
#454 2007-10-02 05:00:54
- igner
- Plugin Author

- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
) wrote:
Hey hey all, this is a great plugin
Im using this plugin on my site but im getting a problem when a user navigates the site using IE and then goes to the password protected areas after they login and they start to navigate through the password protected pages For each page they have to login again. Im guessing its a cookie problem.
Works perfect in Firefox. So its just a stupid IE bug im using version 0.5b4 of this plugin. Can someone help?
what version of IE? 7, or earlier?
And then my dog ate my badger, and the love was lost.
Offline
#455 2007-10-02 05:06:50
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: ign_password_protect
Doesnt work in IE7 or 6 sorry knew i would forget a detail to fix the problem
Offline
#456 2007-10-03 12:41:19
Re: ign_password_protect
Has anyone found a way to lock away files while using this plugin because any user can just simply increment the id of the download link url and geht access to all files ???
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#457 2007-10-03 15:11:10
- igner
- Plugin Author

- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
@slimey – no luck yet recreating this problem, can you give me some more details of how you’re implementing this?
@markusfalk – that’s an explicitly stated limitation in the current versions: this will NOT protect FILE downloads or RSS feeds. I’m working on a version that will protect files but due to other demands on my time, progress has been slow.
And then my dog ate my badger, and the love was lost.
Offline
#458 2007-10-03 15:22:08
Re: ign_password_protect
I know I know … no worries … I was just curios if there is a way around this. At some point in development of txp I read that the download link would not include the file ID but a short name like there is a short url for articles. this way the chances of guessing the right file names are far less but if you are developing real protection even against very good guessers that would be just great. thanks for the work
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#459 2007-10-09 03:23:11
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: ign_password_protect
Anyone got a solution to my IE problem with it not keeping you logged in?
Offline
#460 2007-10-09 03:29:34
- igner
- Plugin Author

- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
i haven’t been able to recreate it – can you provide more details in how you’re implementing?
And then my dog ate my badger, and the love was lost.
Offline
#461 2007-10-09 07:00:34
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: ign_password_protect
<txp:ign_current_user form="logout" />
<txp:ign_if_not_logged_in>
Some Text
</txp:ign_if_not_logged_in>
<txp:ign_if_logged_in>
<txp:section_list break="li" exclude="home,about,contact,file" wraptag="ul" />
<txp:else /><txp:ign_show_login form="login_form" remember="1" /></txp:else>
</txp:ign_if_logged_in>
here is the form
<label for="login" accesskey="l">Login Name: </label>
<txp:ign_user_field /><br />
<label for="password" accesskey="p">Password: </label>
<txp:ign_pass_field /><br />
<label for="remember">Remember Me?</label>
<txp:ign_checkbox name=‘stay’ value=‘true’ /><br />
<label for="Submit"></label>
<txp:ign_submit_field name=‘login’ value=Login />
Using version 0.5b4
I dont know if u need anything else there is only to pages with the ign code and they have the exact same set up.
Offline
#462 2007-10-09 15:12:18
- igner
- Plugin Author

- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
slimey – any chance of getting access to the affected install? I’m still not having any luck recreating the problem. email me off the forums.
And then my dog ate my badger, and the love was lost.
Offline
#463 2007-10-09 15:59:55
Re: ign_password_protect
) wrote:
<label for="login" accesskey="l">Login Name: </label>
<txp:ign_user_field /><br />
<label for="password" accesskey="p">Password: </label>
<txp:ign_pass_field /><br />
<label for="remember">Remember Me?</label>
<txp:ign_checkbox name=‘stay’ value=‘true’ /><br />
<label for="Submit"></label>
<txp:ign_submit_field name=‘login’ value=Login />
just curious, it may be rudimentary but have you tried changing the quotes around name=‘login’ and value=‘true’ to name='login' and value='true'?
Offline
#464 2007-10-09 23:48:10
- ((slimey))
- Member
- Registered: 2005-06-25
- Posts: 26
Re: ign_password_protect
Changed them that wasnt the problem either
Offline
#465 2007-10-11 15:55:33
- igner
- Plugin Author

- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
For those playing along at home – slimey’s problem was a bug in how the cookies were being written for URLs with multiple TLDs (i.e. .com.au or .co.uk). I’ll be working on a fix near term (as well as fixing the messy url logout links, too).
And then my dog ate my badger, and the love was lost.
Offline