[pmwiki-users] Determine whether the visitor is logged in

Hans design at flutesong.net
Thu May 5 07:36:16 CDT 2005


Thursday, May 5, 2005, 1:27:18 PM, Peter wrote:
> I'd like to know this too. For example, I'd like to be able to adapt the
> items in an action list based on whether the user is logged in or not.
> Using the new (since beta29) authentification system I'm able to test
> whether or not the user is logged in as admin. I'd like to be able to
> write a conditional markup such as for example: (:if isauthenticated
> true:) Blah, Blah (:ifend:).

see http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup

you can use (:if auth admin :)....  (:if auth edit :) ..... etc


Best, 
~Hans                           




More information about the pmwiki-users mailing list