Page 1 of 1

Authors plugin results not displaying all authors

Posted: Tue Jul 25, 2006 10:03 pm
by Shoup
Serendipity 1.0
PHP 4.4.2
Authors plugin 2.0

When selecting the checkboxes for multiple authors then clicking the Go (display) button, only the posts by the first author checked are returned. Is there a conflict with another plugin or a configuration change that needs to be made?

Re: Authors plugin results not displaying all authors

Posted: Wed Jul 26, 2006 12:35 pm
by garvinhicking
Hi!

Could you tell us which other eve plugins and versions of them you are using? There definietely might be some interference, especially CategoryTemplates or Start Page Category might interfer...

Best regards,
Garvin

Re: Authors plugin results not displaying all authors

Posted: Wed Jul 26, 2006 12:48 pm
by garvinhicking
Hi!

I just checked, and sadly it was a bug that was only printing the first author in the selection.

I fixed this in the SVN branches of 1.0.1 and 1.1-alpha7 with this fix:

http://svn.berlios.de/viewcvs/serendipi ... es.inc.php

Thanks a lot for reporting this!

Best regards,
Garvin

Posted: Wed Jul 26, 2006 8:39 pm
by Shoup
Cool. I got the fix made to our install. I also noticed that the title bar of the page uses the name of the first blogger selected. Is there a way to turn that off so only the blog name is used?

Posted: Thu Jul 27, 2006 11:59 am
by garvinhicking
Hi!

Hm, that cannot be turned of configurably, but it could be easily deactivated by editing the index.php page at a specific place. Would that help you as well? Then I would look it up...

Best regards,
Garvin

Posted: Thu Jul 27, 2006 9:51 pm
by Shoup
Yes, turning it off would be fine.

Posted: Fri Jul 28, 2006 1:12 pm
by garvinhicking
Hi!

Okay, then just edit your index.php file and search for:

Code: Select all

    $serendipity['head_title']    = sprintf(ENTRIES_BY, $uInfo[0]['realname']);
This you can change to:

Code: Select all

    if (!$is_multiauth) {
        $serendipity['head_title']    = sprintf(ENTRIES_BY, $uInfo[0]['realname']);
    }
This will then not change the heading if multiple authors were selected!

Best regards,
Garvin