Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP_MEMBERS_SLUG in admin bar

  • Avatar of Amba_13
    AMBA
    Member

    @amba_13

    hi i notice that the BP_MEMBERS_SLUG is not in : includes/bp-cubepoint-core.php line 104
    u have to replace the ‘/members/’ by ‘/’.BP_MEMBERS_SLUG.’/’ to work with your conf
    best regards

Viewing 1 replies (of 1 total)
  • If you are displaying the wp_admin_bar always, and don’t want the cubepoints to show 0, you will want to modify lines 111 – 117 to:

    `if ( is_user_logged_in() ) {
    $wp_admin_bar->add_menu( array(
    ‘id’ => ‘my-points’,
    ‘parent’ => ‘top-secondary’, // in top menu, shows always
    ‘title’ => $add_plus_icon . get_option(‘cp_prefix’) . $points . get_option(‘cp_suffix’),
    ‘href’ => $points_url,
    ));
    }`

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.