Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Here's bp-events working with bp 1.2+ and works on bp upgrade


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)

Skip to toolbar