Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-05 07:15:05

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

[request] if_logged_in

I’m looking for a plugin that parses code depending on if a user(role) is logged in or not. Something like this:

<txp:if_logged_in role="publisher[,managing editor, copy editor, staff writer, freelancer, designer, subscriber]">
...
<txp:else />
...
</txp:if_logged_in>

I know nothing about PHP, so a plugin like that would come in handy.

Offline

#2 2007-06-05 07:57:14

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: [request] if_logged_in

Hi,
try ign_password_protect

Cheers,


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#3 2007-06-05 08:40:02

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

Re: [request] if_logged_in

Thanks,

this plugin includes exactly what I was looking for. Although it’s not working for me how I expected. But I already asked for support in that thread.

Offline

Board footer

Powered by FluxBB