Page 1 of 1
Authors plugin that only shows active authors
Posted: Thu Oct 26, 2006 1:43 am
by oeli
I'm using s9y in a corporate blog environment with 37 registered users (authenticated using LDAP).
In the sidebar, I would like to display a list of authors. I have found 3 of those plugins in Spartacus; however, all of them display the complete list of authors, without the ability to filter on authors that have actually blogged.
Is there a way to get only a list of those authors that have actually blogged something in, say, the last x months?
Re: Authors plugin that only shows active authors
Posted: Thu Oct 26, 2006 12:10 pm
by garvinhicking
Hi!
Sadly there is no plugin to do that, since it would need an SQL join on the entries table, which no plugin yet performs (they only query the author table).
HTH
Garvin
Posted: Thu Oct 26, 2006 8:22 pm
by oeli
If I were to give it a shot to implement this, which of the plugins would you like to see used as the basis?
Hypothetically speaking, no promise yet

Posted: Thu Oct 26, 2006 10:05 pm
by garvinhicking
Hi!
I believe that the spartacus "authors" plugin is outdated and was moved into the userprofiles extension.
I personally would like to see it in the internal "serendipity_authors_plugin" (include/plugins_internal.inc.php) of the serendipity distribution. I see that this would be a nice feature for everyone. If it could be made to count entries per author (like the category plugin supports), this would also have thebenefit to show which authors have how many entries....
Oh wait.
I just checked that plugin. In s9y 1.1 it already has the option to show that. The only option that needs to be added is a string toggle to tell "remove authors below X entries"?
I just committed that change to SVN. What you now need is to look more into it to join articles by specific date count, if you like...
Best regards,
Garvin
Posted: Mon Oct 30, 2006 10:31 pm
by oeli
great, will be looking forward to 1.1. When I upgrade, I will have a look at the join.