Sidebar-plugin only for logged-in users?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
matsch

Sidebar-plugin only for logged-in users?

Post by matsch »

Hi,

how can I show a sidebar plugin (HTML nugget in my case) only for logged-in users?

Thx in advance,
matsch
Wizard
Regular
Posts: 103
Joined: Sat Aug 13, 2005 7:18 am
Location: Southern California
Contact:

Agree...

Post by Wizard »

Yes, I've often wonder how that can be. The permissions option on plugins list "All Authors" and listed registered users. I would think that the "All Authors" would mean only registered authors which would do what you want. That would mean another options like "Everyone" or "World" where it would be displayed without having to login to your blog.
Wizard
My WeBlog
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Hey, I can answer this one! I've been working on the plugin_event_sidebarhider for a little bit.

You'll need Serendipity 0.9 and the plugin_event_sidebarhider, namedToggle Sidebar state (collapsed/uncollapsed). Go to the Manage Plugin Visibility entry in your admin. Scroll to the HTML nugget plugin you want to hide, and pick Members Only. The nugget will only be displayed when $_SESSION[serendipityAuthedUser] is set; i.e, when a user is logged in.
matsch

Post by matsch »

Hi,
judebert wrote:You'll need Serendipity 0.9 and the plugin_event_sidebarhider, named Toggle Sidebar state (collapsed/uncollapsed). Go to the Manage Plugin Visibility entry in your admin. Scroll to the HTML nugget plugin you want to hide, and pick Members Only. The nugget will only be displayed when $_SESSION[serendipityAuthedUser] is set; i.e, when a user is logged in.
I can't find the spot you are talking about. I installed the apropriate plugin, but I don't have a members only entry anywhere.

My s9y is a fresh install of 0.9-beta1.

regards,
matsch
matsch

Post by matsch »

Never mind, I found it! :)

There is this new menu point in the admin interface and there you can configure the visibility.

Thank you for your help!
matsch
Post Reply