Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#421 2007-05-07 13:59:59

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

Re: ign_password_protect

Per popular request (he said hopefully) a Dropcash campaign has been set up.

To head questions off at the pass, this is not a ransom scenario; the plugin will be released regardless. Instead, this is a motivation campaign; contributions will provide the aforementioned financial incentives to get this code written and released.


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

Offline

#422 2007-05-07 15:25:35

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

Re: ign_password_protect

contributed. c’mon people now, smile on your igner… :)

Offline

#423 2007-05-07 15:44:40

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

Re: ign_password_protect

Forgot to include in the dropcash page (and there doesn’t seem a way to edit that page, though I haven’t really looked very closely):

If you don’t want your name included in the list of sponsors (to be built in to the plugin help), please let me know.


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

Offline

#424 2007-05-10 11:21:23

dazonic
Member
Registered: 2006-10-24
Posts: 43

Re: ign_password_protect

Hi i’m just wondering about return_path= in <txp:ign_logout_link />. I can’t it figure out? If i want the logout to return home, do i set it to “/”?

Offline

#425 2007-05-10 14:41:36

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

Re: ign_password_protect

yes, if you want to return to the root of the site, just use ‘/’


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

Offline

#426 2007-06-02 03:11:57

dazonic
Member
Registered: 2006-10-24
Posts: 43

Re: ign_password_protect

Thanks igner.

But now I’m having some kind of session variable stuff-up, only in IE.

I can login fine, and it will show the password protected article, but if i navigate away from that article to another password protected, it needs a login again?

Last edited by dazonic (2007-06-02 04:36:25)

Offline

#427 2007-06-02 13:13:00

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

Re: ign_password_protect

Hello Igner, that’s the same thing that happens to me. Not just in IE.
The login validates only if you stay on the same page, as soon as you try to, say, look at another article the ‘protected’ part disappears again.
the plugin seems not to set a cookie either…

I have something like this:

<txp:ign_password_protect>

	You're in.

	<txp:else />

	<txp:ign_show_login show_logged="1" remember="1" />

</txp:ign_password_protect>

should it be different..?


what was that again…?

Offline

#428 2007-06-05 08:38:44

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

Re: ign_password_protect

When I’m trying to do this: (v0.5b4)

<txp:ign_if_logged_in>
You're logged in.
<txp:else />
You're logged out.
</txp:ign_if_logged_in>

it is always telling me that I’m logged out although I’m logged in (through the admin interface). Am I missing something here?

Offline

#429 2007-06-05 09:31:25

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: ign_password_protect

I think you should download and install this version, not v0.5b4 wich is still in beta

Offline

#430 2007-06-05 09:48:34

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

Re: ign_password_protect

redbot wrote:

I think you should download and install this version, not v0.5b4 wich is still in beta

After I found out that one has to be logged in through <txp:ign_show_login /> it is working for me now. Even with the beta.

I thought it would also work if someone is logged in through the admin panel. I couldn’t find any instruction that it only works through the built in form of the plugin.

Thanks, anyway!

Offline

#431 2007-06-05 19:44:21

apsk121
Member
From: Punjab, India
Registered: 2004-09-02
Posts: 36
Website

Re: ign_password_protect

Hey igner, I just upgraded to textpattern 4.0.4, I was on 4.0.3 earlier, for a long time.

Now that I have your plugin still works flawlessley except I get an error on each page where the plugin is installed.

What could be the problem?

The error is:

<b>Warning</b>: Raw PHP tags are deprecated in <b>/home/.mahelea/apsk121/watchtheworld.org/httpat/textpattern/publish.php</b> on line <b>996</b>

Offline

#432 2007-06-15 13:33:18

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

Re: ign_password_protect

apsk121 – sorry for the delay, in the thick of a move cross-country. The error you’re seeing should not be a result of the plugin it’s saying that there’s raw php (in an article, or form, or somewhere in those pages). Rather than using <?php ?> use <txp:php> </txp:php>

let me know if that solves the problem. (can’t guarantee a quick response until July, though).


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

Offline

Board footer

Powered by FluxBB