Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#376 2007-03-08 13:49:03

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

Re: ign_password_protect

Bloke -

1) the user table’s extensible. seems to me that manfre’s plugin allows access to arbitrary fields, so you should be able to do what you want.

2) right now it’s either/or; originally I built to authenticate against both tables, but there were enough different scenarios that could create trigger a cascade of login attempts, so I stripped it out. I’ve since refactored the code a bunch of times to make it more efficient, so it’s conceivable that I could build that functionality back in. Ping me offline if you want to pursue that.


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

Offline

#377 2007-03-17 03:18:18

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: ign_password_protect

igner,

I just realized that when using the ign_self_edit form to reset the password, it does not email the password if you check the box for it to do so. Were you by chance already aware of this? Maybe I just have something wrong and it may actually work. I studied the code and saw no problems.

I have modified the plugin pretty heavily to get it to do some things that I needed, but I don’t think I have done anything that would make that part not work. It changes the password fine, it just does not email it. I have temp. removed the checkbox for now.

Any ideas?

Offline

#378 2007-03-19 14:20:37

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: ign_password_protect

Is there anyway to redirect a user to a certain page or section once they have logged it?

Offline

#379 2007-03-19 14:27:24

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: ign_password_protect

>firefu

You can use asy_wondertag to feed the user name to other tags on the landing page. I do this with a client section with…

  1. article tags
  2. a calendar
  3. image galleries
  4. file lists

This requires setting up categories for each new user. But in this case, I’m going to be creating the content anyway.

Offline

#380 2007-03-19 14:43:48

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: ign_password_protect

Not quite the solution I was looking for. Their are too many users for that.

I though about using Redirect Pro…

<txp:ign_if_logged_in>
<txp:zem_redirect to=”/clients/” />
</txp:ign_if_logged_in>

But then they couldn’t access the other pages without being sent back to /clients/

Last edited by FireFusion (2007-03-19 14:44:22)

Offline

#381 2007-03-20 14:58:07

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

Re: ign_password_protect

DigitalRealm wrote:

igner,

I just realized that when using the ign_self_edit form to reset the password, it does not email the password if you check the box for it to do so. Were you by chance already aware of this? Maybe I just have something wrong and it may actually work. I studied the code and saw no problems.

I have modified the plugin pretty heavily to get it to do some things that I needed, but I don’t think I have done anything that would make that part not work. It changes the password fine, it just does not email it. I have temp. removed the checkbox for now.

Any ideas?

If you reset the password on a user in the admin area, does the mail go out? Out of the box, the self-update email password function is working fine for me…


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

Offline

#382 2007-03-20 15:09:05

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: ign_password_protect

hello, when I try to use ign_show_login with atts remember=1 I get an unknown attribute error.
do I miss soomething?

help!


what was that again…?

Offline

#383 2007-03-20 15:13:53

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

Re: ign_password_protect

FireFusion wrote:

Is there anyway to redirect a user to a certain page or section once they have logged it?

Not currently, unless you use Mr. Dale’s technique. I’ve looked at different options for broader section protection and user redirects, but haven’t gotten there yet.


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

Offline

#384 2007-03-20 15:26:46

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

Re: ign_password_protect

feragnoli wrote:

hello, when I try to use ign_show_login with atts remember=1 I get an unknown attribute error.
do I miss soomething?

help!

what version of the plugin? as of 0.5, the remember attribute is deprecated, all such elements are handled through custom TXP forms instead. It shouldn’t be throwing an error, though.


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

Offline

#385 2007-03-20 15:37:17

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: ign_password_protect

0.4.2d, that’s the only one I found… at this forum thread.
at textpattern.org there’s still 0.42.c

Last edited by feragnoli (2007-03-20 15:39:23)


what was that again…?

Offline

#386 2007-03-20 15:53:13

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

Re: ign_password_protect

There’s a link to the current “beta” (in the gmail sense) is in the first post in this thread, but you can grab it here.

I’ll get the current version up over at txp.org soon.


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

Offline

#387 2007-03-20 16:32:25

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: ign_password_protect

igner wrote:

DigitalRealm wrote:

igner,

I just realized that when using the ign_self_edit form to reset the password, it does not email the password if you check the box for it to do so. Were you by chance already aware of this? Maybe I just have something wrong and it may actually work. I studied the code and saw no problems.

I have modified the plugin pretty heavily to get it to do some things that I needed, but I don’t think I have done anything that would make that part not work. It changes the password fine, it just does not email it. I have temp. removed the checkbox for now.

Any ideas?

If you reset the password on a user in the admin area, does the mail go out? Out of the box, the self-update email password function is working fine for me…

Igner, yes, if you reset the password on the admin side, the email does get out just fine. However, when using the ign_self_edit tag, it does not send the email when a user changes their password on the front end.

Also, I need to contact you off of the forum, as I have found a few errors in your plugin that I have documented for you to look into. I will email you later on tonight about that.

Offline

#388 2007-03-20 16:47:29

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: ign_password_protect

thank you very much!


what was that again…?

Offline

#389 2007-03-21 02:47:42

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

Re: ign_password_protect

DigitalRealm wrote:

Igner, yes, if you reset the password on the admin side, the email does get out just fine. However, when using the ign_self_edit tag, it does not send the email when a user changes their password on the front end.

Also, I need to contact you off of the forum, as I have found a few errors in your plugin that I have documented for you to look into. I will email you later on tonight about that.

odd – it’s firing off the same routine in both cases. I just tested in a couple of installations, and the message is being sent. Granted, there’s a shortcoming, in that the message shows as being “from” the sender (I’ll need to add in an option to specify the address that system message comes from), so it could be that it’s getting caught in a spam filter (as originating from a fraudulent address), or being refused by the mail server for that same reason.

Do shoot me a note with the other issues – I’ve addressed a number of undocumented features, but there are still some parts of the code that need some lovin’.


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

Offline

#390 2007-03-30 13:18:23

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: ign_password_protect

hello, I’m trying to display a contact form with zem_contact_reborn only if the user is logged in.
so I put the whole form inside ign_password_protect and it does, indeed, show only if you’re logged in.
but what happens is that, in the moment you submit the contact form of zem_contact_reborn, you’re redirected to the same page but logged out.

this seems to happen because zem_contact_reborn appends some data to the address in order to output feedback to the submission of the form. like this: if I log in at mysite.com/login I end up at the same address.
but if I submit the form zem_contact_reborn turns the address in mysite.com/login#zcr5d754cd2f16c2ee5f483439904be1042 and I get logged out…

help? ! ?

Last edited by feragnoli (2007-03-30 13:24:21)


what was that again…?

Offline

Board footer

Powered by FluxBB