Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

markusfalk
Member
Registered: 2007-08-16
Posts: 57
Website

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

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

#466 2007-10-24 00:20:36

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

Hmm ok out of nowhere logging in just stopped working. It says “There was a problem logging in.”

I recently moved hosts, but I did a full transfer over and everything appears there. I’ve checked around txp and the plugin is turned on. I haven’t touched the site in months, setup it up for a client and left it to them to update.

I’m still going to be digging around, but any ideas that come to mind?

*edit I should note that logging into textpattern domain/textpattern still works with all user accounts.

Last edited by LeeUmm (2007-10-24 00:36:18)

Offline

#467 2007-10-26 16:08:58

Alex007
Member
Registered: 2007-10-24
Posts: 57

Re: ign_password_protect

Does anyone have a url to the latest version? I have installed version 0.4.2d and when i goto the tab ign_user_mgmt i get loads of errors saying the following:

Notice: Unknown tag attribute:prefs_id in /textpattern/lib/txplib_misc.php on line 605

Any ideas why?

Offline

#468 2007-10-26 16:15:37

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

@LeeUmm – no idea why it’d be giving errors like that; is it authenticating against the built-in database or ign_users?

@ Alex007 – the link to the beta on the first page of the thread is the current version. Or just use this link.


And then my dog ate my badger, and the love was lost.

Offline

Board footer

Powered by FluxBB