Hide certain groups from author list?

Discussion corner for Developers of Serendipity.
Post Reply
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Hide certain groups from author list?

Post by Don Chambers »

I'm playing around with something that will require visitors to register with the site so I can impose read privileges. The unfortunate side effect is that my author list is growing quite long. These new groups are never going to have true author capabilities - ie, they will not be writing entries. Can we get a property for groups that hides any users belonging to that group from any drop down list of authors?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Hide certain groups from author list?

Post by garvinhicking »

Hi!

Can you name a list of these dropdowns? Then I could inspect how cumbersome that would be. Something like a "[x] Hidden group" checkbox, just like a permission, should work in this instance, I believe...

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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Hide certain groups from author list?

Post by Don Chambers »

I am not sure where they ALL are, but here are a few:

Create entries
Edit entries - this is limited to just authors who have created entries.
Configure plugins

There are probably more...
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Hide certain groups from author list?

Post by garvinhicking »

Hi!

You mean "create entries" the additional entry properties checkbox to change author ownership?

Regards,
Garvin
Don Chambers wrote:I am not sure where they ALL are, but here are a few:

Create entries
Edit entries - this is limited to just authors who have created entries.
Configure plugins

There are probably more...
# 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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Hide certain groups from author list?

Post by Don Chambers »

garvinhicking wrote:You mean "create entries" the additional entry properties checkbox to change author ownership?[

Yes.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Hide certain groups from author list?

Post by garvinhicking »

Hi!

Ok, I'll see what I can come up with in this matter for the 1.6 release!

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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Hide certain groups from author list?

Post by Don Chambers »

Cool - thanks!
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Hide certain groups from author list?

Post by garvinhicking »

Hi!

Just committed to SVN trunk; it now has a checkbox for each group that identifies a hidden group. I patched the entryproperties plugin, entry overview, authors sidebar plugin and plugin overview to support those new dropdowns.

It simply allows to use the serendipity_fetchAuthors() function, if the second option is "hidden", then those authors from hidden groups will be excluded.

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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Hide certain groups from author list?

Post by Don Chambers »

Awesome! And quick too! :wink: Thanks!
=Don=
Post Reply