Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#616 2008-08-07 12:51:15

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: ign_password_protect

looking through your code I’ve identified that the cookie that should be set is ign_login. However this does not seem to get set, despite trying in different browsers with all cookies allowed.

Any ideas why this might happen? All the other textpattern cookies seem present and correct.

Offline

#617 2008-08-08 16:28:06

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

Re: ign_password_protect

For those having problems with getting immediately logged out after logging in – are you using the txp_users table or the alternate user table?


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

Offline

#618 2008-08-08 19:10:16

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: ign_password_protect

txp_users

Offline

#619 2008-08-08 19:17:00

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

Re: ign_password_protect

thought that might be the case. i found an issue with that yesterday because of the changes to how 4.0.6 handles the login cookies.

I’ll be rolling out an update to address this by the end of the weekend.


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

Offline

#620 2008-08-08 19:25:50

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: ign_password_protect

wow, cheers! Look forward to the update.

Offline

#621 2008-08-15 15:56:17

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: ign_password_protect

Hi Igner

Any news on that update? Keenly awaited!

Cheers

Offline

#622 2008-08-26 17:03:24

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

Re: ign_password_protect

@tameboy – I’m still having at it. While there are a couple places I need to clean up the code for 4.0.6 – I realized they are not impacting the current functionality, and I haven’t been able to recreate your problem to track it down.

If possible, email me using the forum link more specifics on your install, and that might help me track down the issue.


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

Offline

#623 2008-08-27 17:03:02

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

Re: ign_password_protect

Hi All

I am using the ign_password_protect with the txphorum plugin and all is good except for one thing. I login and it says “Update your profile” or “Logout” – then as soon i click on update your profile it logs me out ;(

Any help would be appreciated – i am using version 0.5b7.
Thanks
A.

Offline

#624 2008-09-01 21:17:34

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: ign_password_protect

I am trying to allow for users with a privilege of “none” to log in. I created a user like that through the admin tab. But I can’t log in? Any reason why? Below is how my code looks like;
——————

<txp:ign_if_logged_in privs=“1,2,3,4,5,6,7”>

<txp:ign_show_login show_logged=“1” remember=“1” /> <txp:file_download_list form=“files” label=“Downloads” limit=“999” sort=“filename desc” wraptag=“ul” /> <txp:else /> <txp:ign_show_login /> </txp:ign_if_logged_in>

Last edited by dreamer (2008-09-01 21:29:32)

Offline

#625 2008-09-01 21:27:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: ign_password_protect

dreamer, look at your line <txp:ign_if_logged_in privs="1,2,3,4,5,6,7">. Spotting the missing thing? Yes, userlevel numbers. As the none level is 0 (zero).

Offline

#626 2008-09-01 21:28:59

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: ign_password_protect

ah, I thought None was set to 7. thx.

Offline

#627 2008-09-02 21:56:33

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: ign_password_protect

using a user with a privilege set to “none” won’t allow me to log into the password protected area.In fact, it seems that a user with “none” can’t log into the TXP admin interface either. Is there something else that I need to do?

Offline

#628 2008-09-02 22:12:13

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

Re: ign_password_protect

No, a user with priveleges set to NONE cannot log into the admin area. More accurately, a user with priveleges set to none can technically log in, but there are no areas that a user with privs set to none can see, so it’s effectively the same thing.

You can EITHER explicitly allow user with Privs NONE access by including 0 in the privs string, or leave off the privs string entirely. That effectively says “Allow any valid user / password combo access to this content”


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

Offline

#629 2008-09-03 06:06:37

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: ign_password_protect

Hi igner, a quick question – will the latest update include a search ability? I really need to search by realname/email/login. Thanks!

Offline

#630 2008-09-03 06:16:24

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

Re: ign_password_protect

I’ll see what I can work in. The user management UI really needs a lot of help in general, and needs to be reworked. Adding in search could certainly be part of that.


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

Offline

Board footer

Powered by FluxBB