Page 1 of 1

Display plugins only to registered users

Posted: Fri Jun 08, 2007 1:56 pm
by beerlao
Hi all,

is there a way to display plugins only to those users that are currently logged in? I know it is not the primary purpose for a blog to be that private, but I would appreciate if that was possible.

If there is no easy way, would it be sufficient to patch the code in serendipity_plugin_api::count_plugins to only match entries if a the currently requesting user is authenticated?

Thank you for any hints.

Re: Display plugins only to registered users

Posted: Fri Jun 08, 2007 2:06 pm
by garvinhicking
Hi!

Check out the "Toggle sidebar state" event plugin (or something like "show/hide sidebar plugins"), available via spartacus. It can hide sidebar plugins from specific authorgroups.

Regards,
Garvin

Re: Display plugins only to registered users

Posted: Fri Jun 08, 2007 5:20 pm
by beerlao
garvinhicking wrote: Check out the "Toggle sidebar state" event plugin (or something like "show/hide sidebar plugins"), available via spartacus. It can hide sidebar plugins from specific authorgroups.
Great! That just does it :-)

Thank you for your quick help!