The MU forums have moved to WordPress.org

Sitewiede Tags Plugin, one subblog generates a weird category??? (9 posts)

  1. sepp88
    Member
    Posted 14 years ago #

    Hi,

    i'm using wordpress mu with the sitewidetags plugin, so all posts from the subblog get automatically added to the main-blog's frontpage.

    It's working fine and was always working fine. However, there is just on little weird bug or don't actually know what it is. If a post is written on 1 certain subblog, there is a new category added to the mainblog called "4" (without quotes).

    Though the subblog itself doesn't have this category and it never had, but if i'm publishing a post on this subblog the mainblog gets added a category 4. if i'm deleting it, everything is fine until i'm writing a new post. the mainblog always shows that the new post gets added to this category 4.

    have you any idea how i can fix this. maybe it's some little database issue.

  2. DeannaS
    Member
    Posted 14 years ago #

    I've seen this behavior, too. Do you have the latest version? We haven't upgraded yet, and I'm not sure if it's still an issue or not.

  3. andrea_r
    Moderator
    Posted 14 years ago #

    Yep, it has been an issue and I'm trying to remember if it was fixed in the latest version. :D I think it happens when a category has a ' or a / in it.

  4. sepp88
    Member
    Posted 14 years ago #

    well, i've upgraded to the latest version (well 2.8.6 not 2.9), and the thing is i'm not using categories at all, my template shows categories but so far there has just been the default "general" category. So there is no category name with / or ' in it.

  5. andrea_r
    Moderator
    Posted 14 years ago #

    The latest version of the plugin.

  6. sepp88
    Member
    Posted 14 years ago #

    i upgraded to the latest version, but it doesn't fix the bug.

  7. andrea_r
    Moderator
    Posted 14 years ago #

    Well.... by fix do you mean go back and change the numbers to what they were supposed to be?

  8. sepp88
    Member
    Posted 14 years ago #

    by fix i mean nothing at all happend! i upgraded the plugin, but still, if i create a post from this particular subblog my mainblog shows a new category "4", even though there is no category 4 on the subblog itself (there never were anymore catogories sitewide than the genral default category)

  9. sepp88
    Member
    Posted 14 years ago #

    Since i upgraded to the new version, this peace of code isn't working anymore?

    <?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true);
    $blog_details = get_blog_details($org_blog_id);
    if (!$blog_details->blog_id =="") { ?>
    <span id="blogID" class="<?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true); $blog_details = get_blog_details($org_blog_id); echo 'blogID_'.$blog_details->blog_id; ?>"><!--<?php the_title(); ?> – --><?php $org_blog_id = get_post_meta ($post-> ID, 'blogid', true); $blog_details = get_blog_details($org_blog_id); echo $blog_details->blogname;?></span>
    <?php } ?>

    I used it to define a little header on every blog post on the mainblog! every subblog has a certain color, since the update you suggested this headers don't appear!

    any ideas?

About this Topic