Textpattern Forum

You are not logged in. Register | Login | Help

#21 2005-06-20 03:58:16

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

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: 336

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

#23 2005-06-20 07:03:08

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

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

#25 2005-06-20 19:46:43

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

Re: ign_password_protect

erm, no. that shouldn’t happen.

can you point me to an example where this is happening (email me a user / pass if possible).


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

Offline

#26 2005-06-20 21:04:10

abacus7
New Member
From: UK
Registered: 2004-11-11
Posts: 9

Re: ign_password_protect

Okay – email’s on its way to you now. http://www.oakesscouts.org.uk. This is a static style site for the Scout Group I’m involved in. Nothing flash but the password protection allows us to put member-only stuff in there.

Offline

#27 2005-06-21 03:02:38

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

Re: ign_password_protect

OK, it looks as though the cookie’s not being set properly on the front page. I’m not sure why that is; give me a day or two to look into what might be going on here.


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

Offline

#28 2005-06-27 03:08:36

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

Re: ign_password_protect

OK, more than a couple days – but abacus7’s issue is fixed in version 0.3

In addition to several other bugfixes, this release adds one more tag based on creativesplash’s request: ign_usr_online
This tag accepts a handful of parameters:
privs accepts a comma-delimited list of privileges to filter the users listed; display determines whether the login name or the real name is diplayed (defaults to login name); and wraptag, break, and class parameters are also accepted.

Last edited by igner (2005-08-08 13:54:50)


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

Offline

#29 2005-06-27 05:19:57

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

That is SO cool. Thanx a TON igner for all your hard work. Cant wait to get back home and try this out.


“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

#30 2005-07-16 18:11:37

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

Sorry. I was held up with a lot of things. I finally got a chance to test this one out.

I put the tag <code><txp:ign_usr_online display=“name” /></code> but nothing happens. Am I using the right tag?

secondly, abacus7’s problem still persists (atleast for me). If I click on an article or if I revisit a protected page I get diverted to the login box (cookie settings: remember=“true”)

Surprisingly I dont face the problem if i dont use the attribute “remember”.


“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

Board footer

Powered by FluxBB