Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Sandra l***
    Participant

    @sandra1010

    @mercime That fixed my problem. Thank you so much!


    Sandra l***
    Participant

    @sandra1010

    I am also having this issue. Any solution yet? Thanks.


    Sandra l***
    Participant

    @sandra1010

    @ghostchild

    (appended here so that other participants can read the answer)

    In reply to your message saying that you still don’t see the tab in the subnav, I could be wrong but I would be inclined to think that your problem is not caused by the WP/BP versions (I am running the latest ones) but by the theme you are using.

    The “Events” nav is posted in the member profile through this call (in bp-events.php)

    /* Add ‘Events’ to the main navigation */
    bp_core_new_nav_item( array( ‘name’ => __(‘Events’, ‘bp-events’), ….. [stuff removed here]

    In order for this to work, your theme (wp-contentthemesyour-theme-herememberssinglehome.php) should contain this call in the “right” place

    bp_get_displayed_user_nav()

    e.g. If I take this line away from my theme (I decided to turn a regular WP theme into a BP compliant theme thanks to BuddyPress Template Pack), then the “Events” tab no longer shows up (and a few others disappear too).

    So you might want to verify your theme. Is it truly BP-compliant?


    Sandra l***
    Participant

    @sandra1010

    @ghostchild

    The plugin automatically adds an “Events” tab in your profile (in the members section) alongside “Activity”, “Messages”, “Friends” tabs. If you select the “Events” tab, you can access subnav entries “My Events”, “Create an Event”, etc…


    Sandra l***
    Participant

    @sandra1010

    @Whyameye and PeD,

    In the plugin , there is a sub-directory called “events” (under bp-events) that need to be moved under the root of your selected Buddypress theme (i.e. same level as groups, members, activity, etc…)

    Other thing I noticed:

    When creating an event, one can attach the event to a group. The problem is that the group does not show up later on (it should display “organized by [name of the group]”) when displaying the event. In order to fix this, look for function bp_event_groups_dropdown( $grp_id ) in file bp-events-templatetags.php and replace this loop

    foreach ($groups as $group) {
    echo “name.”‘”;
    if ($grp_id == $group->id)
    echo ” selected”;
    echo “>”.$group->name.””;
    }

    echo ”;

    with

    foreach ($groups as $group) {
    echo “id.”‘”;
    if ($grp_id == $group->id)
    echo ” selected”;
    echo “>”.$group->name.””;
    }

    echo ”;

    (i.e. replace “group->name” with “group->id” in the if statement)

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