Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddystream doesn’t support custom slug in bp-custom.php

  • Hi,

    I’ve installed Buddystream on my website, with other plugin and bp-custom.php. Buddystream was working in the backoffice, but no setting link in the admin bar (front office).

    I’ve re-install on a fresh install, it works. But if I make bp-custom.php with custom slug for the setting => no setting link in the admin bar (front office) : define( ‘BP_SETTINGS_SLUG’, ‘options’ );

    Guillaume.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If someone is in that case, you have to make some modification (waiting fox fix) :

    In buddystreamFunctions.php, the first function setup the admin bar nav.

    To each component (facebook, twitter, last.fm, youtube and flickr), you have to replace “settings” (two times by components : parent_url and parent_slug) by your custom slug

    i.e. : my custom slug is “options”

    if (get_site_option(“buddystream_twitter_power”)) {
    if (get_site_option(“tweetstream_consumer_key”)) {
    bp_core_new_subnav_item(
    array(
    ‘name’ => __(‘Twitter’, ‘buddystream_lang’),
    ‘slug’ => ‘buddystream-twitter’,
    ‘parent_url’ => $bp->loggedin_user->domain . ‘options/’,
    ‘parent_slug’ => ‘options’,
    ‘screen_function’ => ‘buddystream_twitter_user_settings’,
    ‘position’ => 10
    )
    );
    }

    Avatar of N3k0
    N3k0
    Participant

    @n3k0

    OMG… THX!!! im going to check it out :D

    Chaox

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

You must be logged in to reply to this topic.