Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#265 2006-10-30 19:37:56

Wolfman
New Member
Registered: 2006-10-10
Posts: 2

Re: ign_password_protect

igner wrote:

yes, there are a few places where the plugin will throw unknown attribute warnings / errors in 4.0.4. Though these are merely notices, and only appear in the back end. I’ll be releasing an update in the next couple days to address this.

I’m having this same issue. Any word on the update?

I’m running txp 4.0.4 and ign_password_protect 0.4.2d and when I activate the plugin I get a long list of errors:

_________________________________________
Notice: Unknown tag attribute: prefs_id in /home/theworl/public_html/mydomain/textpattern/lib/txplib_misc.php on line 582
Notice: Unknown tag attribute: sitename in /home/theworl/public_html/mydomain/textpattern/lib/txplib_misc.php on line 582
Notice: Unknown tag attribute: siteurl in /home/theworl/public_html/mydomain/textpattern/lib/txplib_misc.php on line 582
Notice: Unknown tag attribute: site_slogan in /home/theworl/public_html/mydomain/textpattern/lib/txplib_misc.php on line 582
etc…
________________________________________

This is from the Extensions>ign_user_mgmt page in the backend Admin panel
Thanx,
Wolfman

Offline

#266 2006-10-30 21:52:10

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

Re: ign_password_protect

it shouldn’t give you those errors if you’re running in production mode, just when in test or debugging. I hope to get time to get a revised version out in the next couple days.


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

Offline

#267 2006-11-14 10:31:53

gerhard
Plugin Author
From: London, UK
Registered: 2005-06-29
Posts: 409
Website

Re: ign_password_protect

I finally manged to get my head ‘round the plugin and also got it working nicely with 4.0.4 (r2066).

At the minute I seem to be experiencing a weird caching problem. Logging in works fine, but when I go to a section that I visited before being logged in, I get the “members only” message. Forcefully refreshing the window (Shift+Refresh) shows me what I should be seeing in the first place. This happens on all the sections. Any ideas?

I am experiencing this problem on both Firefox 2.0 and Camino 1.0.3. Plugin version is 0.4.2d (slightly modified).

Offline

#268 2006-11-14 10:45:55

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 548

Re: ign_password_protect

I’m having a similar problem. My whole website is protected with ign_password_protect. For the most part it works fine but every so often when visiting a section or category, it throws up the login box, while you are already logged in. When this happens it will keep looping until you force a hard refresh with Shift+Refresh.

I’m also having trouble logging out using the <txp:ign_logged_user /> when visiting a category. When I try this it won’t log out and displays the following in the address bar:

http://www.siteurl.com/subdir/photos/?c=Webcam?logout=1

I’ve been experiencing this in Firefox 1.5 & 2 and IE6 & 7.

Offline

#269 2006-11-15 11:15:07

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 548

Re: ign_password_protect

Something else I thought of. I suppose this is something of a request really. Would or is it possible to use the plug-in with the commenting options, so that when a logged in user goes to comment it automatically fills out their name for them? At the moment it could be feasible for someone to login with their username and then leave a comment using a different name, which is what I want to avoid.

Thanks.

Edit
I could probably word this better. What I’m after is for only registered users to be able to comment and only using their login name, which will be automatically filled in for them in the appropriate comment field.

Last edited by Algaris (2006-11-15 12:03:29)

Offline

#270 2006-11-15 15:39:39

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

I could actually use the same feature and was thinking about this a few months ago when developing one site.

If possible, that would be great.

Offline

#271 2006-11-19 16:32:29

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

Re: ign_password_protect

Is there anyway to use this to password protect a whole site? I have areas of a site ithat don’t use TXP, like a photo gallery and forums. I’d like to use this plugin to manage users for ALL areas, is this possible?

So when users try to access mydomain.com they’ll always be sent to the same login page.

Last edited by FireFusion (2006-11-19 16:48:00)

Offline

#272 2006-11-20 10:58:53

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

Re: ign_password_protect

I put a .htaccess file in the non-txp directories I want protected containing the following…

AuthType Basic
AuthName “MySQL Member Page”

Auth_MYSQLhost localhost
Auth_MYSQLusername myusername
Auth_MYSQLpassword mypassword
Auth_MYSQLdatabase mydatabase
Auth_MYSQLpwd_table ign_users
Auth_MYSQLuid_field name
Auth_MYSQLpwd_field pass
Auth_MYSQL_EncryptedPasswords off

<LIMIT GET POST>
require valid-user
</LIMIT>

The problem is after doing this I get a TXP error page. So obviously it accessed the database but something is stopping it working.

Any ideas?

Offline

#273 2006-11-24 02:40:21

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

Re: ign_password_protect

FireFusion – the thing is that TXP shouldn’t come into play at all. the fact that you’re getting a 404 from TXP doesn’t mean that you’re hitting the DB, it means that for whatever reason, TXP is intercepting the request.


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

Offline

#274 2006-11-24 08:42:44

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

Re: ign_password_protect

In that case is there anyway to store the users I a completely different database altogether?

Offline

#275 2006-11-25 02:39:51

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

Re: ign_password_protect

I guess what I was getting at was that the TXP error you’re getting is independent of whether or not you’re authenticating properly. What happens if you set that directory to authenticate to .htpasswd? Same thing?


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

Offline

#276 2006-11-25 17:41:08

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

Re: ign_password_protect

I’ll try that but won’t that mean to different places to have to update? I’ll really trying to make this as simple for the client as possible.

Offline

Board footer

Powered by FluxBB