Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2005-06-14 09:53:13
- katasta
- New Member
- From: germany
- Registered: 2005-05-30
- Posts: 4
Re: ign_password_protect
i’m having some problems with this plugin. i can’t seem to be able to use the hide_login parameter.
i’d also like to get rid of the table structure, and use paragraphs instead. unfortunately i’m no good in programming. can anyone help me with that?
Offline
#14 2005-06-14 13:34:15
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
katasta – seems I had an attention deficit lapse when I posted the version 0.2a; apparently the txp file upload interface neither replaces the existing file nor displays an error when uploading a duplicate file…so the version on my site was still the original 0.1 version. (Note that this behaviour is different from the plugin behaviour, hence my confusion…)
I’ve corrected this oversight, so if you grab the updated version, you should have better luck getting the hide_login parameter to work :). Sorry for the inconvenience.
Also, the login form moved away from the table structure in version 0.2a – the form is now output using the following structure:
<code><label>name<br /><input …></label></code>
usw.
I can help you tweak it if you need/want to further modify the form output.
And then my dog ate my badger, and the love was lost.
Offline
#15 2005-06-14 20:15:14
- davidm
- Member
- From: Paris, France
- Registered: 2004-04-27
- Posts: 719
Re: ign_password_protect
How come I missed this plugin ?
This is great, I’ll definitely use this and report…
With the recent privileges tweaking available, that’s going to be nice :D
Last edited by davidm (2005-06-14 20:33:14)
.: Retired :.
Offline
#16 2005-06-14 20:43:58
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
Hmmm, thought you’d been part of the discussion in conjunction with Manfre’s self_register plugin
Perhaps not :)
Anyway, give it a try. Feedback, bug reports, and suggestions all welcomed.
And then my dog ate my badger, and the love was lost.
Offline
#17 2005-06-15 15:39:31
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
Updated again, to version 0.2b.
Squashed a minor bug that returned the user to the front page on login, regardless of where the login form appeared. Will now return to the current page (based on the request URI, i.e. using clean URLs – if there’s sufficient demand, I’ll add support for messy mode as well…).
Also added one more parameter to <code><txp:ign_password_protect></code> – login_type
Set this to “page” to use the browser’s authentication dialog, rather than an inline form. Note that the closing tag for ign_password_protect is now optional – <code><txp:ign_password_protect /></code> will also work, but in the self-closing format it will default to login_type=“page” (as will the open + close tags with no content).
And then my dog ate my badger, and the love was lost.
Offline
#18 2005-06-16 08:31:29
- katasta
- New Member
- From: germany
- Registered: 2005-05-30
- Posts: 4
Re: ign_password_protect
i was already wondering whether i had a wrong version of the plugin since i couldn’t see anything in the plugincode about the new options, but i thought someone would have noticed that before.
anyway, it’s working fine now. thanks for this great plugin!
Offline
Re: ign_password_protect
This is really cool. Thank you very much for this plugin.
<h4>Request: A tag to display a list of online users according to their previliges.</h4>
Last edited by creativesplash (2005-06-19 15:29:03)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#20 2005-06-20 01:35:32
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
Thanks.
The authentication code does update the “last_access” field in txp_users, so it’s conceivable I could accomplish this. Not sure what you mean by “according to their privileges” though – do you mean only display if the current users’ privileges exceed a certain level?
And then my dog ate my badger, and the love was lost.
Offline
Re: ign_password_protect
List users of a particular privilege (eg: publisher, designer).
i.e When I use a tag like <code><txp:ign_password_protect_users_online priv=“Publisher”></code> i’ll get a list publishers who are online.
Last edited by creativesplash (2005-06-20 06:59:35)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#22 2005-06-20 04:11:16
- igner
- Plugin Author
- Registered: 2004-06-03
- Posts: 337
Re: ign_password_protect
ok that makes sense. should be relatively easy to implement something like this.
And then my dog ate my badger, and the love was lost.
Offline
Re: ign_password_protect
Thanx! I am really looking forward for this feature. Good luck!
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#24 2005-06-20 18:08:33
- abacus7
- New Member
- From: UK
- Registered: 2004-11-11
- Posts: 9
Re: ign_password_protect
Great plugin – quick question though. One of my forms is for my frontpage, and when I used <code>ign_show_login</code> there and then login it goes straight back to the form when I click the button and looks like I haven’t logged in. If I go to an article that I’m using <code>ign_password_protect</code> on then it prompts me again. Should this happen? I’m using the <code>remember=“1”</code> option for everything.
Cheers.
Offline