Textpattern CMS support forum

You are not logged in. Register | Login | Help

#821 2012-03-14 15:58:39

Teemu
Member
From: Shanghai
Registered: 2010-04-27
Posts: 60

Re: ign_password_protect

I’ve got some trouble with the ‘Also authenticate against txp_users?’ setting. I use alternate database and on first setup this function will copy users from txp_users table to the ign_user table. However if later users will be added to the txp_table, and I will try to update ign_users table, nothing happends. New users from txp_users are not copied to the ign_users table.

Nor will the checkbox state of ‘Also authenticate against txp_users?’ save.

Is this function only supposed to be used on setup?

Offline

#822 2012-07-11 23:28:56

photonomad
Member
Registered: 2005-09-10
Posts: 287
Website

Re: ign_password_protect

I’m not sure what I’m doing wrong. I installed ign_password_protect v0.6.2 on txp 4.4.1. I am using it with the regular txp users table. It works just fine for all users except for the ones with privilege 0 (none).

The plugin instructions say:

privs: Comma separated list of privilege levels to compare against.
If omitted, plugin simply checks for account existence (including privs = None).

This is my code:

<txp:ign_show_login />
<txp:ign_if_logged_in>
content for logged in users
<txp:else /></txp:ign_if_logged_in>

I’ve also tried it with <txp:ign_if_logged_in privs="0">content for logged in users<txp:else /></txp:ign_if_logged_in> to no avail.

if the user has a privilege level of none, then it always says: “There was a problem logging in.” (I’ve double-checked that the password is correct)

Last edited by photonomad (2012-07-11 23:51:20)

Offline

#823 2012-07-12 07:59:01

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: ign_password_protect

correct me, if im wrong, but i guess that was due to a security update in txp 4.4.1. not possible any more to log in with priv 0.

Offline

#824 2013-12-06 11:29:12

j0nr
Member
Registered: 2013-12-06
Posts: 10

Re: ign_password_protect

Hi, New Textpattern user here. I have my installation set up and working but I cannot for the life of me figure out how I am supposed to setup this ign_password_protect plugin.

I have the plugin installed, but my lack of understanding on Textpattern admin-ing is a little green and I don’t know where I am supposed to be putting these tags to make it work.

If someone could explain or just link to some articles explaining how I might achieve the following, I would be really grateful:

I want a Public and Private section. (I have created my private section).

To all public (non-logged in members), by default, they just see a list of Public articles and know nothing of th existence of the Private section.

Once logged in (or trying to access via a link) the Private section becomes visible.

Thanks so much!

Jon

Offline

#825 2015-01-02 19:22:47

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: ign_password_protect

They nearly succeeded finally using the plugin ign_show_login, I created the following form:

<div class="login"> 
<txp:ign_show_login>
<form name="login" action="a href="<txp:section name="il-materiale" />"
<table border="0" cellspacing="5" cellpadding="5">
<tr>
<div class="utente"><td>Utente:</td><td><input type="text" name="nome" size="25" maxlength="25" value="pierlu" required></td>
</tr><tr></div>
<div class="password"><td>Password:</td><td><input type="password" size="25" value="pierlu" ></td>
</tr><tr></div>
<tr><td></td><td><input type=submit value="Invia i Dati" onClick="utente(this.form)"><input type=reset value="Annulla"></td></tr>
</table>
</form>
</txp:ign_show_login>
 </div>

But I entered username and password redirects the home and not to the section indicated in the code why?

Offline

#826 2015-01-02 20:03:28

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: ign_password_protect

First make sure your HTML is valid. Use validator.w3.org

<div class="login"> 
  <txp:ign_show_login>
    <form name="login" action="/<txp:section name="il-materiale" />">
      <table border="0" cellspacing="5" cellpadding="5">
        <tr class="utente">
          <td>Utente:</td>
          <td><input type="text" name="nome" size="25" maxlength="25" value="pierlu" required></td>
        </tr>
        <tr class="password">
          <td>Password:</td>
          <td><input type="password" size="25" value="pierlu" ></td>
        </tr>
        <tr>
          <td></td>
          <td><input type=submit value="Invia i Dati" onClick="utente(this.form)"><input type=reset value="Annulla"></td>
        </tr>
      </table>
    </form>
  </txp:ign_show_login>
</div>

Offline

#827 2016-03-29 16:01:29

miles
Member
From: Plymouth
Registered: 2008-05-22
Posts: 73
Website

Re: ign_password_protect

Does anyone have this plugin handy? The website is now completely gone :(

Offline

#828 2016-03-29 16:20:57

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 989
Website

Re: ign_password_protect

There are two repositories for the plugin on Github:

It looks like Igner’s version has commits as recent as 2012, so it may be more “up-to-date”. I’m not sure if either is compatible with the latest stable version of Textpattern, though.

Offline

#829 2016-03-29 17:57:46

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

Re: ign_password_protect

johnstephens wrote #298425:

There are two repositories for the plugin on Github:

It looks like Igner’s version has commits as recent as 2012, so it may be more “up-to-date”. I’m not sure if either is compatible with the latest stable version of Textpattern, though.

Yes, best place to get it is to grab the source from github. It’s definitely on the non-maintained list, though, as work and life complications have precluded TXP work for me for quite some time.

I’m actually amazed that 11 years on, there’s even still interest in this plugin. I’d have assumed by now the functionality would have been supplanted…


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

Offline

#830 2016-03-29 20:09:24

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 989
Website

Re: ign_password_protect

igner wrote #298426:

I’m actually amazed that 11 years on, there’s even still interest in this plugin. I’d have assumed by now the functionality would have been supplanted…

I know of a site that the maintainer is afraid to upgrade because it depends on this plugin and a few others. Brings a tear to the eye. ;(

Offline

Board footer

Powered by FluxBB