Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 1,734 total)
  • @burtadsit

    Participant

    If I were you I’d run not walk to the wpmu forums where they are expert at dealing with this kind of issue. Search first and don’t mention bp. Just describe your symptoms. You lost site admin status. https://mu.wordpress.org/forums/

    @burtadsit

    Participant

    There is nothing mysterious about this problem. It occurs when bp is not activated and you launch the home theme. The home theme’s functions.php runs it gets to the first bit of code that requires a bp global BP_PLUGIN_DIR and crashes.

    Does bp live in /wp-content/plugins/buddypress? (not /mu-plugins)?

    Have you activated bp sitewide?

    Does it activate properly?

    This error began cropping up initially way back when bp moved from /mu-plugins to /plugins. There were also errors like this when bp was not in the dir /buddypress and couldn’t activate properly.

    This is not a bug. It’s a config/install issue.

    @burtadsit

    Participant

    Did you move the plugin theme templates to your active theme?

    @burtadsit

    Participant

    haha. Yep me too. I looked for that user in the bbpress user db and it doesn’t exist there. Seems to be a bp only user so mods don’t have access. I sent a PM to Andy about it.

    @burtadsit

    Participant

    bbpress 0.9 doesn’t work with all this. You need to use bbpress 1.0/1.0.1.

    @burtadsit

    Participant

    I don’t really understand what all that above is at all. If you are trying to add a new nav item to the member and bp home themes then you need to do something similar to the following:

    function oci_bpc_nav_item(){
    ?>
    <li<?php if ( bp_is_page( OCI_CONTENTS_SLUG ) ) {?> class="selected"<?php } ?>>
    <a href="<?php echo bp_core_get_root_domain() ?>/<?php echo OCI_CONTENTS_SLUG ?>
    " title="<?php _e( 'Contents', 'bpcontents' ) ?>">
    <?php _e( 'Contents', 'bpcontents' ) ?></a></li>
    <?php
    }
    add_action('bp_nav_items', 'oci_bpc_nav_item');

    That’s the way bpc hooks the action ‘bp_nav_items’ that header.php generates after displaying the default nav items. Your ‘Event’ and ‘Content’ items are displayed that way. You need to define a function that responds to ‘bp_nav_items’ and generate the appropriate html for the button.

    @burtadsit

    Participant

    @burtadsit

    Participant

    Always upgrade themes when upgrading bp they are part and package. The themes are the front end to new and fixed features.

    @burtadsit

    Participant

    https://buddypress.org/forums/search.php?q=%28BP_PLUGIN_DIR%2Fbp-core%2Fbp-core-signup.php%29

    Doing that gives problems related to theme and wpmu install issues.

    @burtadsit

    Participant

    We don’t even know if cookies are the issue.

    @burtadsit

    Participant

    His cookie domain info was set to “”. It’s not that it wasn’t set. It was set to null. So if wp gets to a spot where it wants to set it to a sane default value, it detects that it’s already set and doesn’t. Probably. The empty string is a value.

    @burtadsit

    Participant

    I wonder if the messaging system uses cookies?

    It doesn’t sound really like the issue the 3 of us found. Does it? I just got finished working with somebody yesterday. His problem was that creating one group after another on the same computer caused the 2nd group to adopt the group id of the 1st group.

    The underlying issue and solution was that he didn’t have any cookie domains set in wp-config.php

    https://buddypress.org/forums/topic.php?id=3452

    These cookie issues are tough to debug. We do the ‘works for me’ thing because our wpmu instances are different. Right now bp relies on the wpmu instance supplying the cookie path and domain. Perhaps to cover such situations bp should specify it’s path and domain. Would that bypass the wpmu credentials? Would it matter?

    @burtadsit

    Participant

    There is no wpmu 2.8. If you are talking about wpmu trunk then that might be your problem. It’s in the process of getting merged with the 2.8 branch. Things can get goofy in trunk. Try just wpmu 2.7.1.

    @burtadsit

    Participant

    Are you logging in as site admin?

    “I can’t see plugins option in the admin panel even if I’m logged in as an admin.”

    There’s a diff between a blog admin and the site admin.

    @burtadsit

    Participant

    @burtadsit

    Participant

    Did you rename the buddypress directory? You can’t.

    Is bp active sitewide in the plugins page?

    @burtadsit

    Participant

    Translation issues so far found have been addressed in bpc trunk:

    http://svn.wp-plugins.org/bpcontents/trunk

    @burtadsit

    Participant

    Yep r-a-y that’s the exact sequence. Even down to enable/disable forums in each group.

    @burtadsit

    Participant

    One of the things I noticed about his site is that group forums aren’t turned on. That means that he’s running the default wp-config.php settings for cookies and not the altered settings that bbpress integration creates.

    Hmmm…

    Perhaps the bp setcookie() calls were written just assuming some wp-config.php defines for cookies that aren’t present on his site.

    @burtadsit

    Participant

    I just went through all that with him Jeff. We did all the above and he still has the issue. This is the same thing that bp was doing with the multiple signup from the same computer consecutively problem. It doesn’t seem to be clearing the group id cookie.

    This works ok on my windows dev box. This is just not working on his site. I logged in and watched it happen. Second group creation just adopts the first group’s group id and goes on it’s merry way. The cookie wasn’t cleared as it should have been.

    The code says clear it at the beginning of a group creation process and clear it at the end. It’s not obviously. All the cookie paths and domains for the setcookie() calls are all the same.

    @burtadsit

    Participant

    Actually jjj is looking at the css for me.

    @burtadsit

    Participant

    slaffik did you move the bpcontents theme templates to your active theme directory? Gotta move /bpcontents/bpcontents to /wp-content/bp-themes/<your theme>/bpcontents

    @burtadsit

    Participant

    What do you mean by ‘overwriting the one I created before’. Exactly what happens? I just tested creating 2 groups one right after the other. Everything works fine. The one issue I noticed is that the group avatar thumbnail doesn’t reflect the gravatar group avatar if I don’t upload an avatar image. I’m using the default themes and bp trunk though. bp 1.0.2 is pretty close to that.

    @burtadsit

    Participant

    Haha. You’ve been watching the Star Wars marathon week too?

    @burtadsit

    Participant

    I don’t think there is any overriding reason to upgrade Mike. Your access to bbpress is through bp. I doubt you’ll see any benefit at the moment. Unless Andy creates some bp features that require running 1.0 or wpmu develops some kind of requirement, there wouldn’t seem to be any benefit for the risk involved. (Read possible headaches).

    Run what works for you, be happy. :)

Viewing 25 replies - 26 through 50 (of 1,734 total)
Skip to toolbar