Authors plugin results not displaying all authors

Found a bug? Tell us!!
Post Reply
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Authors plugin results not displaying all authors

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Authors plugin results not displaying all authors

Post 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
# 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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Authors plugin results not displaying all authors

Post 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
# 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/
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Shoup
Regular
Posts: 26
Joined: Mon Jul 10, 2006 9:25 pm

Post by Shoup »

Yes, turning it off would be fine.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Post Reply