WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Upgrade / active on all sites (3 posts)

  1. tonny@debug.dk
    Member
    Posted 1 year ago #

    Hi

    We have a setup with 15.000+ blogs, when i upgrade in our test invioment, NO related posts are showing. Then i login to the blog and i get a notification that yarpp has been upgraded. Still no related posts are showing. If it then go to yarpp settings i get this:

    "The YARPP database had an error but has been fixed" gues this is because the table layout is difference in version 4.x than 3x.

    Is there any way to trigger theese db changes automatically as we cannot ask 15k users to login to their yarpp settings.

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. tonny@debug.dk
    Member
    Posted 1 year ago #

    The only way i could make this work is by using this code i mashed up

    <?

    require_once('../../wp-load.php');

    global $wpdb;

    global $yarpp;

    switch_to_blog($_GET['blog_id']);

    $yarpp->activate();

    echo "done";

    ?>

    and then loop though all the blog id´s using curl.

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @Tonny, thanks for bringing this to my attention. I just made an update to YARPP which hopefully resolves this for you. It's in this new beta: 4.0.6b3

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.4.0.6b3.zip

    Network activating the plugin should be fine... the idea is that when it notices that things have not been initialized on that particular blog, it will go ahead and do so gracefully when first asked to, for example when a visitor goes to a single blog post on that site.

    I'd appreciate it if you could give it a try!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.