Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress 1.5 compatibility for plugins and themes

  • @karmatosed

    Moderator

    Please let us know here of any compatibility issues or plugins / themes that work already for BuddyPress 1.5 during the pre-release phase. That way we can make sure people know when they can upgrade and update the codex with a list.

Viewing 25 replies - 51 through 75 (of 105 total)
  • @djpaul

    Keymaster

    > Will get that sorted trying to get the spreadsheet to work in the page to save time currently but will get it marked as not fail because of those.

    If this is done, I’d argue that the “Excellent” ratings should just be a “pass”. The “excellent” rating, compared to the others, is subjective and is dependant on who tested the plugin (and their knowledge of PHP, WordPress and BuddyPress APIs, etc).

    @foxly

    Participant

    @djpaul

    We just thought it would be helpful to other developers, as many people learn best by studying other developer’s code. As requested, the “Excellent” note has been removed from the spreadsheet.

    ^F^

    @foxly

    Participant

    @xberserker

    Hi Tosh. We’ve created a wiki page covering the problem your plugin was experiencing, and detailing how to fix it.

    We used the code you sent us as the example to make it easier for you to fix the actual plugin. If you’re not comfortable with your code being up on the wiki page, let me know and we’ll create a new example from scratch.

    Note that Google is updating the servers our wiki is hosted on today. If any of the wiki pages look a bit “odd”, just hit refresh a few times.

    Thanks!

    ^F^

    @boonebgorges

    Keymaster

    Thanks for posting that tutorial, @foxly. The ‘wp’/’admin_menu’ hook is a very old technique that has nonetheless continued to work. I’ve got that on my list of things to write about on bpdevel.wordpress.com. Maybe I’ll do so later today, and link to your very helpful wiki page.

    @xberserker

    Participant

    @foxly Thank You. I don’t mind at all. I tried changing what you mentioned and this is what I have now.

    Now it’s not even showing up in the buddypress admin bar on the front end but does when looking at the admin area. But it’s still acting the same as before.

    `function bp_cubepoint_setup_globals() {
    global $bp, $wpdb;

    $bp->cubepoint->id = ‘cubepoint’;
    //$bp->cubepoint->table_name = $wpdb->base_prefix . ‘cubepoints’;
    $bp->cubepoint->table_name = $wpdb->prefix . ‘cubepoints’;

    // custom SLUG
    //$bp->cubepoint->slug = ‘cubepoints’;
    $bg_cp_custom_slug = get_option( ‘bp_slug_cp_bp’ );
    $bp->cubepoint->slug = $bg_cp_custom_slug;

    $bp->cubepoint->points_slug = ‘points’;
    $bp->cubepoint->table_slug = ‘table’;
    $bp->cubepoint->earnpoints_slug = ‘earnpoints’;
    $bp->cubepoint->awards_slug = ‘awards’;
    $bp->cubepoint->bp_cubepoint_per_page = get_option(‘bp_points_logs_per_page_cp_bp’);

    // Notifications
    //$bp->cubepoint->format_notification_function = ‘bp_cp_awards_format_notifications’;

    /* Register this in the active components array */
    $bp->active_components[$bp->cubepoint->slug] = $bp->cubepoint->id;

    if ( $bp->current_component == $bp->cubepoint->slug && $bp->cubepoint->table_slug != $bp->current_action ){
    bp_cubepoint_query_points();
    }
    if ( $bp->current_component == $bp->cubepoint->slug && $bp->cubepoint->table_slug == $bp->current_action ){
    bp_cubepoint_query_points(‘uid=’);
    }
    }

    /***
    * In versions of BuddyPress 1.2.2 and newer you will be able to use:
    * add_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’ );
    */
    // Pre-BuddyPress 1.5 Beta
    // add_action( ‘wp’, ‘bp_cubepoint_setup_globals’, 2 );
    add_action( ‘bp_setup_nav’, ‘bp_cubepoint_setup_globals’, 2 );
    add_action( ‘admin_menu’, ‘bp_cubepoint_setup_globals’, 2 );`

    @foxly

    Participant

    @xberserker

    Cool! Now we have a block of code we can use for another example. You need to hook to the ‘bp_setup_admin_bar’ action to get it to reappear.

    Fire man an email (CarlRoett [at] gmail [dot] com) and I’ll walk you through it.

    ^F^

    @xberserker

    Participant

    I sent you a email. Change it to this. Now it’s not even showing up in the admin bar. Sorry for being a pain, just want to get this patched up.

    `add_action( ‘bp_setup_nav’, ‘bp_cubepoint_setup_globals’, 2 );
    add_action( ‘bp_setup_admin_bar’, ‘bp_cubepoint_setup_globals’, 2 );`

    @boonebgorges

    Keymaster

    I’m a bit confused at what this discussion is trying to accomplish :)

    When you set up globals, as in the function excerpted above, you should hook to bp_setup_globals.
    When you set up navigation, as with functions like bp_core_new_nav_item(), you should hook to bp_setup_nav.

    @modemlooper

    Moderator

    add_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’ ); <— is commented out, you should be using that to set global

    @foxly

    Participant

    @boonebgorges

    Yes.
    I know.
    I was tired (18 hours and counting) and pasted the wrong block of code.

    We fixed that one and moved on to a bunch of other things

    ^F^

    @boonebgorges

    Keymaster

    I knew you knew @foxly :)

    @foxly

    Participant

    Overall progress for today…

    Google Code seems to have all their servers working again and the Fixing plugins for BuddyPress 1.5 wiki is coming together nicely. Over the next few days we’re going to be adding some new failure cases and improving the quality of the existing articles.

    @boonebgorges We’d be honored if you linked to us from your blog. Also if there’s anything we missed that you’d like covered, just let me know and we’ll add it to the wiki.

    We’ve updated the BuddyPress 1.5 plugins compatibility page. We split it into three different spreadsheets (that all auto-update from the master spreadsheet) as per @karmatosed ‘s request. We created embeddable widgets for each of these so karmatosed can embed them in the BP codex. As per @djpaul ‘s request we removed all non-error related tester comments.

    It would be helpful if you could give one of our team members write-access to the codex blog so we can assist karmatosed with getting the embedded plugin spreadsheets working properly.

    ^F^

    @boonebgorges

    Keymaster

    @foxly Both you and @fanquake are Editors on codex.buddypress.org. (It used to be that everyone on bp.org was, but the synching script broke at some point.) Thanks!

    @foxly

    Participant

    @boonebgorges We’ve spent the better part of an hour trying to debug the BP codex page, but it won’t render the Google Docs embed, even when we add it in the admin back end.

    WordPress.com officially supports Google Docs embeds announcement, support page, and the embed works properly on several different test sites we tried it on. The problem seems exclusive to buddypress.org.

    Could you guys up one of us to super admin for a bit so we can check if it’s stripping embeds by normal editors as some sort of spam control measure?

    Thanks!

    ^F^

    @boonebgorges

    Keymaster

    @foxly I’m not sure I have the authority to make you a super admin, but I’m happy to try embedding it myself. Can you give me the URLs for the docs, or the embed code?

    @foxly

    Participant

    @boonebgorges

    Meh. No worries. Try dropping these blocks of markup in …hopefully one of them will work.

    `[googleapps domain=”spreadsheets” dir=”pub” query=”hl=en_US&hl=en_US&key=0AkVTlWinFfKydDVTaWdpTGpQazUza1RrV0oxWURScUE&output=html&widget=true” width=”100%” height=”300″/]`

    `[googleapps domain=”spreadsheets” dir=”pub” query=”key=0AkVTlWinFfKydDVTaWdpTGpQazUza1RrV0oxWURScUE” width=”100%” height=”300″/]`

    `[googleapps domain=”spreadsheets” dir=”spreadsheets/pub” query=”key=0AkVTlWinFfKydDVTaWdpTGpQazUza1RrV0oxWURScUE” width=”100%” height=”300″/]`

    `[googleapps domain=”spreadsheets” dir=”spreadsheet/pub” query=”key=0AkVTlWinFfKydDVTaWdpTGpQazUza1RrV0oxWURScUE” width=”100%” height=”300″/]`

    Thanks!

    ^F^

    @boonebgorges

    Keymaster

    @foxly Thanks. Yeah, it must be stripping iframe tags from non-Administrators. (And this is a separate install from wordpress.com, so it doesn’t have the googleapps shortcode.) Anyway, I’ve put them in there: https://codex.buddypress.org/releases/1-5-plugin-compatibility/

    Not sure what’ll happen when a non-Admin edits the page; they may get stripped again. I’ll try to figure out a way around this.

    @foxly

    Participant

    @boonebgorges

    Awesome.

    OK, since it will probably disable the embeds each and every time a non-super edits the page, please do the following then:

    1) Save a copy of the current page as a draft so @karmatosed can recover it if necessary

    2) Remove all the manually pasted plugin links and statuses …(it will be much easier to edit them in the master spreadsheet).

    3) Paste these three blocks of markup under the respective headings

    PASS

    FAIL

    UNKNOWN

    Thanks!

    ^F^

    @foxly

    Participant

    `PASS

    FAIL

    UNKNOWN
    `

    @karmatosed

    Moderator

    I dunno I go offline for one day…. hehe great work though woot to getting the page. So, in summary I can’t edit the page but we can have the iframe in it right?

    @foxly

    Participant

    @karmatosed

    That is correct.

    We’re also working on an embedded form that visitors can use to submit plugin status updates directly on the wiki page. The form submissions will be automatically added to another spreadsheet to make it easy for you to review them and update in the master spreadsheet.

    ^F^

    @karmatosed

    Moderator

    Cool sounds good cracking job.

    @xberserker

    Participant

    BuddyPress 1.5 Compatibility is now complete for CubePoints Buddypress Integration as of version 1.9.3!

    Big thank you to @foxly and the team at BuddyPress-Media for helping me get this working for BuddyPress 1.5!

    @xberserker

    Participant

    Sorry I can’t edit my post. I get a page not found .. but I have another plugin that’s not working with BuddyPress 1.5 Beta. It’s a fairly simple plugin though. But not sure why it’s not working.

    BuddyPress Activity Stream Bar

    @karmatosed

    Moderator

    Cool thankyou, keep them coming.

    @boonebgorges : sorry to ask but can you remove the text on those pages as it’s no longer valid and unless I’m wrong editing pages messes them up with iframe?

Viewing 25 replies - 51 through 75 (of 105 total)
  • The topic ‘BuddyPress 1.5 compatibility for plugins and themes’ is closed to new replies.
Skip to toolbar