Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#697 2009-05-28 01:39:39

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

Re: ign_password_protect

Guess I haven’t been hanging ‘round here long enough :) Oh, you meant HE can’t see it… that makes sense. thanks, bloke.

lothar, note sent.


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

Offline

#698 2009-06-06 10:39:56

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: ign_password_protect

igner, something to check next time you’re working on this…

the attribute id doesn’t seem to be applied to the txp:ign_user_field tag … but works fine on txp:ign_pass_field

Offline

#699 2009-06-12 12:50:51

monicahu
Member
From: Sydney NSW
Registered: 2009-03-07
Posts: 69

Re: ign_password_protect

Hi Igner,

Don’t know why this tag doesn’t accept params at all as said in your doc. I’ve tried

<txp:ign_show_login remember=“false” /> or
<txp:ign_show_login show_logged=“1” logged_msg=“Pls login to view information” remember=“false” />

The remember box was still there, and no msg displayed when not logged in.

I’m using TXP 4.0.8 and ign_password_protect 0.5b9.

By the way, my codes are like this

<txp:ign_show_login remember=“false” />

<txp:ign_if_logged_in>

<txp:article status=“sticky” form=“simple” sort=“posted asc” />

<txp:if_article_list> <txp:article status=“live” limit=999 form=“default” sort=“posted desc” /> <txp:else /> <txp:article status=“live” form=“default” /> </txp:if_article_list>

<txp:else /> <p><br />Please login to view the members’ information.</p>

</txp:ign_if_logged_in>

Last edited by monicahu (2009-06-13 06:12:14)


Monica
Life with God is the purpose.

Offline

#700 2009-06-30 08:43:12

Olhado
New Member
Registered: 2008-10-28
Posts: 3

Re: ign_password_protect

Hi, Igner. I have a problem with your plug-in.

When I log in and then refresh page or go to the another page of site, I lose the authorization. I mean, the log-in form appears again, even if I checked ‘Remember me?’. My log-in works only while I’m on the page, where I had logged.

What’s the problem?


Sorry for bad English

Offline

#701 2009-07-02 00:38:17

lothar99
Member
Registered: 2009-03-20
Posts: 35

Re: ign_password_protect

Olhado, does it do this every time you leave the page or at seemingly random intervals when trying to go to other pages?

Also, check to see if the cookie Ign_login is still there after refresh/page change.. and if it is even being created in the first place before u leave the page.

You can do this in firefox with tools -> page info -> security -> cookies … and probably other ways I don’t know about lol.

Offline

#702 2009-07-02 00:52:26

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

Re: ign_password_protect

Monicahu & Olhado – there are some known issues with the b9release and cookies in certain situations – I hope to have a bit of time to address these issues soon.

Olhado – lothar is on track when he says to check if the cookie is being created. My guess is that it’s not.


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

Offline

#703 2009-07-04 00:03:09

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: ign_password_protect

Is there a way to redirect a user after he has logged himself in using <txp:ign_show_login /> ?

Offline

#704 2009-07-04 01:46:26

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: ign_password_protect

dl33 wrote:

Is there a way to redirect a user after he has logged himself in using <txp:ign_show_login /> ?

Yes – meta redirect or php headers

<txp:php>header('Location: http://www.domain.com/section');</txp:php>

Or

<meta http-equiv="refresh" content="2;url=http://www.domain.com/section">

Offline

#705 2009-07-04 06:50:55

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: ign_password_protect

Presumably I have to wrap that in an if statement though? Something along the lines of if_just_logged_in?

Offline

#706 2009-07-06 05:10:25

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

Re: ign_password_protect

When I add a new user account via the ‘Manage Users’ tab I get the following headers displayed at the top of the confirmation email;

Reply-To: Name <email address>

X-Mailer: Textpattern

Content-Transfer-Encoding: 8bit

Content-Type: text/plain; charset=“UTF-8”

Message-Id: <20090706044905.018C43B5FC41@mailer.internode.on.net>
Date: Mon, 6 Jul 2009 14:49:04 +1000 (EST)

Dear…

Just wondering if the headers will show when this site is deployed or are they there because I’m using MAMP on my local machine? (specific details changed for security). I’m using 4.0.8

Offline

#707 2009-07-06 06:07:31

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

Re: ign_password_protect

damienbuckley wrote:

Just wondering if the headers will show when this site is deployed or are they there because I’m using MAMP on my local machine? (specific details changed for security). I’m using 4.0.8

Those are just regular headers. What is wrong with them and what you found as the security issue?

  • Email: Added by Textpattern.
  • X-mailer: Added by Textpattern.
  • Content-Transfer-Encoding: Standard.
  • Content-type: Standard.
  • Message-ID: Identifier and Standard. Used for threads. Added by server.
  • Date: Standard.

No, they won’t change. Identifier will change if you change email server.

Offline

#708 2009-07-06 06:11:47

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

Re: ign_password_protect

Hi – no security problem – i just meant I’d changed the email address etc in the example code so it wasnt showing the one I’m using.

The headers would be fine except that they are visible – not hidden.

Last edited by damienbuckley (2009-07-06 06:19:01)

Offline

Board footer

Powered by FluxBB