Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wire is still broken in groups after wire_patch_too.patch

  • Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    I have installed a new wordpress 2.7.1 and buddypress 1.0 for testing this problem.

    There are no other plugins running. Just a clean installation with buddypress.

    http://sven-lehnert.de/

    I used the wire_patch_too.patch added by burtadsit.

    It’s this Ticket http://trac.buddypress.org/ticket/723

    In the wp-config.php I insert all the slug rewrites:

    define( ‘BP_MEMBERS_SLUG’, ‘mitglieder’ );

    define( ‘BP_FRIENDS_SLUG’, ‘freunde’ );

    define( ‘BP_WIRE_SLUG’, ‘pinnwand’ );

    define( ‘BP_GROUPS_SLUG’, ‘gruppen’ );

    What did I wrong? Because after the changes, the wire in groups not working any more.

    I did this test because I thought it’s one of the plugins I’m using. but I have the same bug in a clean installation.

    I need help with this. Looking forward…

Viewing 11 replies - 1 through 11 (of 11 total)
  • Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    I forgot something.

    May be it is important.

    On my other wp / bp installation after the wire_patch_too.patch. The wire is shown up again. All the old entry’s are back. But if I write a new wire post. I will be redirect to my profile page.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Howdy. Hmmm. I know it works with changes to the group and members slugs. I never looked at changing the wire slug itself. Going to go poke around.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    OK. See: http://trac.buddypress.org/ticket/723 with the latest workaround with your problem fixed also. ‘wire_patch_three.patch’

    Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    It’s working now. just if I press delete wire, it still redirects me to my profile page.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Delete wire post where? I tested that too. We’ve got:

    1) Profile wire on the member profile home page

    2) Profile wire in Me > Wire

    3) Group wire on the group home page

    4) Group wire in Group > Wire

    They are all working for me with:

    bp 1.0 trunk (1.0 should be fine too)

    default bp member theme

    BP_GROUPS_SLUG, BP_MEMBERS_SLUG, BP_WIRE_SLUG changed

    wire_patch_three.patch

    Where isn’t it working?

    Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    3) Group wire on the group home page

    4) Group wire in Group > Wire

    Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    Hi Burt Adsit, I don’t know what to do next, I’m very confused now, because I checked everything 3 times. After I did the wire_patch_three.patch on a fresh installation, all wires were shown up and I’m allowed to write posts everywhere.

    Just deleting wire posts makes problems in groups.

    3) Group wire on the group home page

    4) Group wire in Group > Wire

    You wrote you don’t have this bug, but for me the error happened on 2 different installations. Do you have any suggestions why it happens?

    And there is one more error, I think it could be a bug too.

    After wire_patch_three.patch: If somebody invites a member to a group and the member accept the invitation, the notification in the adminbar still shows up the group invitation.

    If you click again on it, it says that you have no outstanding group invites.

    Sorry for my English. I know it must be sometimes difficult to read my postings. Thanks a lot for all the help. You are all brilliant.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Hey, I’ll go test it again with a fresh install. My dev install does what it thinks I want it to do sometimes. It’s eager to please. It wants to be a production install.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    I installed 1.0 from the download link.

    Changed the slugs: BP_GROUPS_SLUG, BP_MEMBERS_SLUG, BP_FRIENDS_SLUG, BP_WIRE_SLUG

    Applied wire_patch_three.patch

    Works for me. I logged in to your site and noticed that this line wasn’t changed which is the problem:

    Line 368, in bp-wire/bp-wire-templatetags.php

    return apply_filters( 'bp_get_wire_delete_link',
    '<a href="' . wp_nonce_url( site_url( $bp->groups->slug . '/' . $uri . '/' .
    $bp->wire->slug . '/delete/' . $wire_posts_template->wire_post->id ),
    'bp_wire_delete_link' ) . '">[' . __('Delete', 'buddypress') . ']</a>' );

    Your install still says ‘wire’ in the delete url instead of ‘pinnwand’. Looks like the patch wasn’t fully installed? This is on: http://sven-lehnert.de/

    Change line 368 to be $bp->wire->slug instead of $bp->{$bp->current_component}->slug and it’ll work. See the difference in the two lines here: http://trac.buddypress.org/attachment/ticket/723/wire_patch_three.patch

    Avatar of Svenl77
    Svenl77
    Participant

    @svenl77

    ooh ok I need glasses! Thanks a lot and sorry for the blindness.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    We got ourselves a green light folks! Don’t you *dare* touch that damn light Sven.

    :)

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Wire is still broken in groups after wire_patch_too.patch’ is closed to new replies.