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

#433 2007-06-15 13:42:47

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

Re: ign_password_protect

mapu wrote:

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.

because of the way that the login is handled on both the front end and the back end, it’s not possible to determine on the front-end that a user has logged into the administrative area. I’ll add something to the documentation that spells this out a bit more explicitly – sorry for the confusion.


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

Offline

#434 2007-06-29 20:20:54

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: ign_password_protect

I have a setup where a client can use a form override to specify the following form for their article.
It is working on an individual article called with <txp:article />, but not on the section front page, which is called with @<txp:article_custom section=“sundays” category=“front-article” status=“sticky” />.

Any Ideas?

The form:

<div class="post">

<h2><txp:title /></h2>

<div class="postentry">
<txp:body />
<h3 id="edit"><txp:ign_logged_user  /></h3>
<txp:ign_password_protect err_msg="I'm sorry that username/password combination does not exist, if you continue to have trouble, please email someemail@someaddress.com" login_msg="To view the files below, you must first log in with the citychurch username and password" remember="1">
<div id="files">
<txp:upm_article_file_list form="files"  />
</div><!--close files-->
</txp:ign_password_protect>
</div><!--close postentry-->

Last edited by ma_smith (2007-06-29 20:21:27)


Offline

#435 2007-07-01 21:43:07

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

Re: ign_password_protect

Upgraded to 4.0.5 and this error popped up in the top of TXP. Any ideas?

 A problem occured while loading the plugin: ign_password_protect -> User_Warning: Duplicate entry '1-ign_user_db' for key 1
insert into txp_prefs set prefs_id=1, name='ign_user_db', val='txp_users', html='text_input' on line 84

A problem occured while loading the plugin: ign_password_protect -> User_Warning: Duplicate entry ’1-ign_use_custom’ for key 1
insert into txp_prefs set prefs_id=1, name=‘ign_use_custom’, val=‘0’, html=‘yesnoradio’ on line 84

Offline

Board footer

Powered by FluxBB