Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#436 2007-07-02 12:25:21

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

Re: ign_password_protect

Anybody have any ideas for my issue above


Offline

#437 2007-07-06 16:23:26

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

Re: ign_password_protect

Issue seems to be solved. It seems related to the fact that the article form that was being called was being called through an txp:article_custom tag? Any idea why?


Offline

#438 2007-07-22 22:00:01

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

Re: ign_password_protect

Hello,

I’m using version 0.4.2d and don’t like to upgrade to 0.5b4 before it is finished.
This is the code implemented on my members page:

<txp:ign_if_logged_in>
<p>Greeting Message</p>
<p>Text</p>
<txp:article form=“news” limit=“1” />
<txp:else />
<p>Text<br />Please log in:</p>
<txp:ign_show_login />
<p>Text</p>
</txp:ign_if_logged_in>

This tag is used in the sidebar: <txp:ign_show_login remember=“true” />

1. Log in works fine but remember=“true/1” causes error “Unknown tag attribute” in Debug-mode.
2. After log in, a link “Log out” is displayed in the sidebar, but no logged_in_as message or the logged user name at least.

What am I doing wrong? Is there a way to get rid of this quickly?

Many thanks in advance…

Last edited by ellen (2007-07-22 22:01:54)

Offline

#439 2007-07-27 10:59:04

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

Re: ign_password_protect

Hello,

Anyone out there? I’d really appreciate your help….

Offline

#440 2007-08-03 09:26:31

zoltandragon
Member
Registered: 2007-04-30
Posts: 47

Re: ign_password_protect

Hi, I have trouble with the logout… No matter which option I use (either <txp:ign_show_login /> or <txp:ign_show_login />), the logout link (“?logout”) produces an error 404… what am I doing wrong here? Any help appreciated!

Offline

#441 2007-08-03 16:29:45

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

Re: ign_password_protect

Just catching up here.

@ma_smith – no reason I can think of that wouldn’t work with article_custom, but I will investigate.

@firefusion – which version of the plugin? I’m not seeing that with the current release.

@ellen – I’d strongly recommend moving the current 0.5 release, there are some bugs in the 0.4x releases that 0.5 corrects.

@zoltandragon – the logout link should end in ?logout=1, not just ?logout; what version of TXP and what version of the plugin?


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

Offline

#442 2007-08-03 16:48:10

zoltandragon
Member
Registered: 2007-04-30
Posts: 47

Re: ign_password_protect

Sorry – yes, it has the “=1” there too… I am using messy urls, if that is importants. When I click on “Log Out”, it puts “?logout=1” to the actual page url, and brings me to the error page (404). Latest version of both TXP and the plugin (I downloaded both today :)

Last edited by zoltandragon (2007-08-03 16:49:27)

Offline

#443 2007-08-04 00:31:38

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

Re: ign_password_protect

@zoltandragon – I’ll take a look, but messy versus clean URLs shouldn’t make a difference.


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

Offline

#444 2007-08-27 16:49:49

zoltandragon
Member
Registered: 2007-04-30
Posts: 47

Re: ign_password_protect

I tried it once again on different servers and different settings: it works when there is a clean url, and it doesn’t when I use the messy url. Can it still be the mere problem? Thanks for any hint :)

Offline

Board footer

Powered by FluxBB