Static HTML Page Plugin - Grouprights

Creating and modifying plugins.
Post Reply
Muskelkatermann
Posts: 4
Joined: Wed Jan 23, 2008 1:10 pm

Static HTML Page Plugin - Grouprights

Post by Muskelkatermann »

Hi,

I just installed the Static HTML Pages Plugin.
Now I want to hide the menu entry in the admin panel for every non administrative user.
But in the groupadministration is missing the checkbox to allow/disallow tue static pages.

Is there a way to add this checkbox manually or to remove the menuentry hardcoded for non administrative users?

thanks so far
greetings
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static HTML Page Plugin - Grouprights

Post by garvinhicking »

Hi!

Yes, the staticpage plugin currently does not interface with the serendipity group management.

You can only remove that link by forbidding the event "backend_sidebar_entries_event_display_staticpages". You can do that by entering the group configuration, and selecting this event in the list of forbidden events for the usergroups that should not have access.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
foulapi
Regular
Posts: 10
Joined: Mon Apr 21, 2008 10:48 pm
Location: Dour -Belgium
Contact:

Same problem but group configuration doesn't allow to excude

Post by foulapi »

Hello,

I have the same problem and try to apply the solution you explained but inside the admin group configuration I couldn't find seach option (excude an event or made it forbidden for a specific group). All the possible choice are related to normal admin suite menu.

As workaround, I was thinking to specify the admin user as the only one having permission to use this event (this is possible via the module to manage the event plugin installed). I can choose it via the drop down box but when I click to register the change after the system process it, the choice still stay to all autors (so impossible to change it)

Do you have an idea of where the problem is ?

thanks in advance for your help and best regards

Pierre (.. sorry I hope my english is understandable)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Same problem but group configuration doesn't allow to ex

Post by garvinhicking »

Hi!

Which s9y version are you using? Check your s9y configuration screen, there is an option where you can specifically enable or disable if you want the "exclude plugins/event" option...

The dropdown in the plugin admin actually only changes the owner of a plugin. plugin ownership is only evaluated by the HTML nugget plugin, where that plugin can only be configured by that owner.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
foulapi
Regular
Posts: 10
Joined: Mon Apr 21, 2008 10:48 pm
Location: Dour -Belgium
Contact:

Post by foulapi »

Hi Garvin,

The version is Serendipity 1.0.2 et PHP 4.4.8, I was installed by default (in French) by my provider.

I check the configuration of the Blog but nowhere I could find the option you mention. Items are only to configure the DB, the path, images, etc..

Thanks again for your help

Pierre
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Your Serendipity version is older than the option. You'll need to install (I believe) at least 1.2. Since we're up to 1.3.1, that would be even better.

If you have FTP access, you can upgrade Serendipity yourself. Just download the version you want, unarchive it, and FTP the files on top of the existing ones. Then visit your admin page to complete the process in one click.

If you don't have FTP access, we'll be happy to talk with your hosting service and offer to help him upgrade his version.

[Edit: I'm not sure any of us speak French...]
Judebert
---
Website | Wishlist | PayPal
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

The serendipity version you are using is REALLY old. You should consider upgrading to the latest version. I am not sure when the ability to grant/deny access to event plugins was introduced into serendipity, but set this to "yes":

Configuration -> General Settings -> Enable Plugin ACL for usergroups.

Then check the user groups again.
=Don=
foulapi
Regular
Posts: 10
Joined: Mon Apr 21, 2008 10:48 pm
Location: Dour -Belgium
Contact:

last question I hope

Post by foulapi »

Hello and Thanks Don & Judebert for your help.

I was in touch with my provider who tell me I can do the upgrade myself ... and I will try.
1. via Ftp, I will first make a backup of my current installation (folder serendipity +all subfolders) ... just a security in case !!!
2. upgrade to the lastest version 1.3.1

I already dowloaded the ZIP of the lite and full version and unzip them.

A last question : which version the Lite or the Full should I FTP on top of my current one ?

Thanks again for you help and meilleur bonjour from Belgium
Pierre
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Since you already downloaded both versions, go ahead with the full version as it will give you updates to any templates that have been changed or added since your original version.
=Don=
foulapi
Regular
Posts: 10
Joined: Mon Apr 21, 2008 10:48 pm
Location: Dour -Belgium
Contact:

Post by foulapi »

Thanks don,

I will do it.

Pierre
Post Reply