Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Strothi
    Participant

    @strothi

    I stand corrected. The issue was / is with the Stop Spammers plugin. Couldn’t find a way to delete my post here though…


    Strothi
    Participant

    @strothi

    Dear all,

    I did some tests and it indeed seems to be buddypress. If I deactivate it, the error stops. I also though it might be a conflict with other plugins and or bp-custom settings, but deactivating all others did not solve the issue, so it seems to be a issue with buddypress itself?! Would appreciate if someone had an idea on what to do about it.

    Thanks so much in advance.

    Kind regards, Philip


    Strothi
    Participant

    @strothi

    No, didn’t do a thing. Any other idea?


    Strothi
    Participant

    @strothi

    Hey guys,

    thanks a lot. @danbp your code worked perfectly 🙂 The only thing that’s not reordering properly is for some reason the Media tab, which comes from the rtMedia plugin. It worked with my old code when referencing “media”, but for some reason this doesn’t work with your code anymore, even though technically it should! Any idea?

    As for your notice @imath, actually, the change in the default tab had nothing to do with the theme. I just followed this advice: https://codex.buddypress.org/getting-started/guides/change-members-profile-landing-tab/ and put the code into wp-config.

    It works still fine, but I take it from your comment that this way is going to be depreciated and thus I should replace it with your code. Correct?

    Thanks so much for your help guys, highly appreciated!


    Strothi
    Participant

    @strothi

    @r-a-y good catch. I had tried before without some of my custom functions regarding the tab order, but maybe I didn’t delete the cache or whatever, now it works. Though now I can’t use my function that I used up to now to reorder the tabs.

    This is what is used so far:

    function rt_change_profile_tab_order() {
    global $bp;
    $bp->bp_nav['profile']['position'] = 10;
    $bp->bp_nav['activity']['position'] = 20;
    }
    add_action( 'bp_setup_nav', 'rt_change_profile_tab_order', 999 );

    Can you point me to what I need to change to get the same result?

    Thanks so much in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar