Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#676 2009-03-10 19:47:25

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: ign_password_protect

N/m… reading between the error messages to create an external users table fixed the errors, but it still strikes me as a bug to catch missing tables gracefully.

typeshige wrote:

Just installed this plugin and it doesn’t seem like it created the ign_users table. Under what circumstances is this table created?

I’m getting messages like:

Warning: Table ‘astrobiology.ign_users’ doesn’t exist select email from ign_users where `name` = ‘’ limit 1 textpattern/lib/txplib_misc.php(570) : eval()’d code:776 fetch() in /var/www/localhost/htdocs/textpattern/lib/txplib_db.php on line 82

I tried deleting and re-installing the plugin to no effect. I’m still on 4.0.7 but I don’t think that would impact anything.

Thanks,
Shige

Offline

#677 2009-03-10 19:53:03

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: ign_password_protect

When you have it authenticate agains txp_users, it seems to be copying a snapshot of the current users and copying that to the new table. If so, it becomes out of sync when the privileges in txp_users change. ie. a change to the access to the admin side is not updated for the same users under Manage Users.

That said, I know there isn’t really a one-to-one correlation between the txp_users priviledges and the levels in this plugin. So shouldn’t it actually not assign levels based on access level to the admin section?

Just wondering, otherwise, it seems like just the plugin I need!

Shige

Last edited by typeshige (2009-03-10 19:53:54)

Offline

#678 2009-03-22 11:03:10

Melusine
New Member
Registered: 2009-03-22
Posts: 3

Re: ign_password_protect

Hi,

I am experiencing 2 problems using the “ign_password_protect” in combination with the “rah_comment_form” plugins in the way it is suggested here:
#
1. although logged in alreaedy as administrator I get the login prompt when I try to submit a comment
(This is not nice, but – let’s say – I could live with it, if the next error would not occur)

2. after logging in for a second time, I can see the comment form. So I write my comment. Now, when I press the button “submit” I get kicked out of the session and also the comment is not saved.

This is really weird and I cannot find the reason for this strange behaviour.
Anyone else, who has experience the same problem or knows a workaround?

I would very much appreciate some help here, since I need to submit the page early next week (latest by Tuesday).

Thanks a lot
Melusine

below I’ve pasted the txp code of “comments_display” form:

<h2 id=”<txp:text item=“comment” />”><txp:comments_invite textonly=“1” showalways=“1” showcount=“0” /></h2>
<txp:comments break=“div” breakclass=“comment” form=“comments” sort=“posted desc” />
<txp:if_comments_preview>
<txp:comments_preview />
</div>
</txp:if_comments_preview>
<txp:if_comments_allowed>
<txp:rah_comment_form><txp:rah_comment_message /></txp:rah_comment_form>
<txp:else />
</txp:if_comments_allowed>
<txp:if_comments_allowed>
<txp:ign_if_not_logged_in>
Sie müssen sich einloggen, um diesen Beitrag zu kommentieren.
<txp:ign_show_login />
</txp:ign_if_not_logged_in>
</txp:if_comments_allowed>

Offline

#679 2009-03-27 01:22:40

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

Re: ign_password_protect

So after reading all 68 pages (sore eyes) these features are still to come:

1 – Redirect to section/category (although there is a work around)

2 – Ability to login to front end, and back end at the same time – (unsure on this one)

Offline

#680 2009-03-27 13:12:07

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

Re: ign_password_protect

What does the Permissions do in the file tab?

Can we turn them off for certain user levels?

Very Interesting

Offline

#681 2009-03-27 17:11:17

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

Re: ign_password_protect

@jstubbs – it’s still on the table, but it’s distinctly a case of not enough hours in the day. When the options for my free time are: fix bugs in a free plugin, do paid freelance work, or spend time with my wife and children…

@typeshige – technically, that synching on the creation of the secondary table should be stripped out; on validation the plugin does fallback to the txp_users table. Or at least it should…it’s been a while since I tested that piece, and I have made other changes in that chunk of code.

@tye – only 68 pages in 4 years? how disappointing. Yes, there are alternatives to the redirect, and I’ve got that functionality partially coded, but my reply to jstubbs applies here as well.

the permissions allows some very basic file-level access restrictions, though that should be considered very beta functionality. there’s some mention of it in this thread, probably within the last 10 pages or so :)


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

Offline

#682 2009-03-28 04:55:10

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

Re: ign_password_protect

What – I read all 68 pages and missed something… :)

Thanks igner – I’ll check over them again :)

no worries on the time scale – I too have those problems and shouldn’t really be working today… but am :(

[ok – I found it :) – it would be really useful though if (here’s where it gets complicated) you could add permission’s to the admin users who are able to set the file permission’s in the file tab.

A the moment a lowly level 6 can alter the permissions.

but remember – thats just a suggestion

Last edited by tye (2009-03-28 07:17:35)

Offline

#683 2009-04-07 13:37:46

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

Re: ign_password_protect

Sorry to be a nag on this one :)

But was there a solution to the cookie problem?

The one where you cannot be logged in to the front and admin at the same time

Thanks

Offline

#684 2009-04-07 15:48:02

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

Re: ign_password_protect

i have a path to a fix – no timeline for implementation on that though. It’s a byproduct of changes to the admin authentication implemented in 4.0.6 – the same one that disallows the same admin account to login from 2 different machines.

Last edited by igner (2009-04-07 15:49:11)


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

Offline

#685 2009-04-07 23:16:28

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

Re: ign_password_protect

Thanks igner – whenever you are ready :)

Offline

#686 2009-04-30 18:39:00

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: ign_password_protect

igner wrote:

Add an order by clause to the query – the end result should look like…

I wanted to add a grateful note of thanks for this too. I have just added it to the plug-in on a revamped site and this little amendment transforms the functionality of the ‘reset user password’ drop down.

This is a great plug-in Jeremy, the number of posts in the topic is testament to that.

Last edited by joebaich (2009-04-30 21:48:32)

Offline

#687 2009-04-30 21:06:28

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

Re: ign_password_protect

This is a great plug-in Jeremy, the number of posts in the topic is testament to that.

+1

Offline

#688 2009-05-24 16:20:30

lous
Member
From: Germany
Registered: 2009-01-04
Posts: 57

Re: ign_password_protect

Hey,
at first. its a great plugin and it got good features :D

But its not working correctly :(

<txp:ign_show_login remember="true" />

I can see the login form and i can also login. But i cant logout. And sometimes when im logged in and reload the page im not logged in anymore.
What i want to say is, sometimes works the “remember” function and when im “sometimes” remembered then i cant log out.

Is it possible, that the problem is asy_jpcache?

Thanks in advance

Offline

#689 2009-05-24 19:24:52

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

Re: ign_password_protect

Hi everyone,

I am running aMember Pro along with textpattern, and I am using IGN password protect on some of the pages. When someone logs into an aMember login I have the plugin that also logs them into textpattern to create a seamless login, however they are getting logged into www.url.com/textpattern but they still arent logged into the IGN password protect login. Is there a way to have IGN password protect know when people are logged directly into www.url.com/textpattern. Thanks.

Also, my protection code is: <txp:ign_if_logged_in privs=“0”> (then some alternate html/css that looks like a new page telling them they arent logged in, etc) </txp:ign_if_logged_in>.
It works fine if they go to a protected section, but if they go directly to an article within a protect section they receive an error (but the page is still protected it just looks bad having an error at the top). Here is the error: Tag error: -> Textpattern Notice: Page template free3 does not contain a txp:article tag on line 504.

Thanks for any help you can give me. This is my first site with textpattern. If you want the url to the site you can PM me! Thanks!!

Offline

#690 2009-05-25 18:06:29

lous
Member
From: Germany
Registered: 2009-01-04
Posts: 57

Re: ign_password_protect

no one here?

Offline

Board footer

Powered by FluxBB