Blog Directory Plugin Error

Hi,

I installed the Blog Directory Plugin as per instruction, however I received the error below when I use it

Fatal error: Call to undefined function get_blog_avatar() in C:inetpubvhostsmainstreetscoop.comhttpdocsdevwp-contentmu-pluginsblogs-directory.php on line 278

Any idea what I am doing wrong?

  • dkean
    • Flash Drive

    @Andrew,

    Funny thing happened when I installed Blogs Directory- the theme from my whole site was erased to bring back the original – which oddly enough isn’t even located on the server anymore.

    Any idea why this plugin would override the current sitewide theme?

    -Derek

  • Qlof
    • The Crimson Coder

    I have a suggestion for the blogs listing plugin so I’ll post it in this thread:

    It would be cool if you were able to select some stuff to be shown in the list. For example, latest post or number of posts. Or maybe date of signup.

    I especially would like the "Latest post". I guess it would have to be limited as far as lenght so the list isn’t too wide but thats easily fixed.

  • Andrew
    • Champion of Loops

    Hiya,

    I’m afraid I’m really not sure which plugin you’re referring to. We have the Blogs directory plugin and the Blogs widget which lists blogs. We don’t have a ‘blogs listing’ plugin.

    Since you’re posting in this thread (not related to the thread subject btw) I’m guessing it’s the Blogs Directory but from your description it could easily be the widget.

    Thanks,

    Andrew

  • jcnjr
    • WP Core Meltdown

    we’re still ironing out bugs

    Here’s a couple for you:

    1. Using the Search function resulted only in "Invalid page." being listed at …/blogs/search/
    2. It also apparently does not play nice with SimplePress Forums, as the entire forum hierarchy (and search results) resulted in the same 404 errors upon activation, just like we experienced with the Global Site Search plugin.
    3. Finally, the Blogs Directory stripped out the sidebars from displaying on our /blogs page.

    Sorry! Thanks for working on this one. Can’t wait to give the next version a try.

  • Andrew
    • Champion of Loops

    Hiya,

    Can we get a link to your site so we can see the problems first hand?

    As for SimplePress, we’ll see what we can do but the plugin doesn’t seem interfere with any other plugin (I’ve tested a few) that adjusts the rewrite rules. So the problem may be with SimplePress. If these plugins were improperly handling the additional rewrite rules then I imagine they’d be breaking each other as well.

    Thanks,

    Andrew

  • Jim Westergren
    • New Recruit

    I liked this one but was not interested in the avatars plugin and so I modified to use Gravatars instead.

    Find:

    $blog_title = get_blog_option( $blog, 'blogname', $blog . $blog );

    Just below add:

    $blog_email = get_blog_option( $blog, 'admin_email', $blog . $blog );

    2 times.

    Find this:

    $avatar_default = get_option('avatar_default');

    And replace with (2 times):

    //$avatar_default = get_option('avatar_default');

    Find this:

    get_blog_avatar($blog, 32, $avatar_default)

    And replace with (2 times):

    get_avatar($blog_email, '32')

  • Andrew
    • Champion of Loops

    Hi Jim,

    Thanks for posting that. I’m sure it will help someone in the future :slight_smile:

    Let’s post stuff like that in a new thread though from now on. This thread discusses errors and issues with the plugin and your post is about modifications :wink:

    Thanks,

    Andrew

  • jcnjr
    • WP Core Meltdown

    Can we get a link to your site so we can see the problems first hand?

    http://tripawds.com/

    http://tripawds.com/forums

    Though I have disabled the directory plugin, so you won’t encounter the error. If I activate it, the forums break. We can’t have that.

    SimplePress requires no custom rewrite rules to be added to the .htaccess files. What might I ask in the SPF help forum to help troubleshoot this over there? Not sure where to begin, I only know that activation of the Blogs Directory and Site Search plugins both cause 404 errors thoughout the SPF /page/forum/topic/ structure.

    Thanks for your time.

  • Andrew
    • Champion of Loops

    SimplePress requires no custom rewrite rules to be added to the .htaccess files.

    Internal WP rewrite rules, not the ones in the htaccess file.

    What might I ask in the SPF help forum to help troubleshoot this over there?

    Not sure really. I don’t know how that plugin works or handles the rewrites.

    Thanks,

    Andrew