Page 1 of 1

Hide certain groups from author list?

Posted: Sun Jan 10, 2010 11:47 pm
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?

Re: Hide certain groups from author list?

Posted: Mon Jan 11, 2010 8:38 am
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

Re: Hide certain groups from author list?

Posted: Mon Jan 11, 2010 4:45 pm
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...

Re: Hide certain groups from author list?

Posted: Tue Jan 12, 2010 10:56 am
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...

Re: Hide certain groups from author list?

Posted: Tue Jan 12, 2010 3:59 pm
by Don Chambers
garvinhicking wrote:You mean "create entries" the additional entry properties checkbox to change author ownership?[

Yes.

Re: Hide certain groups from author list?

Posted: Tue Jan 12, 2010 4:35 pm
by garvinhicking
Hi!

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

Regards,
Garvin

Re: Hide certain groups from author list?

Posted: Tue Jan 12, 2010 5:19 pm
by Don Chambers
Cool - thanks!

Re: Hide certain groups from author list?

Posted: Wed Jan 13, 2010 1:28 pm
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

Re: Hide certain groups from author list?

Posted: Wed Jan 13, 2010 6:46 pm
by Don Chambers
Awesome! And quick too! :wink: Thanks!