Forum Replies Created
to get a list of groups which a member is a moderator/admin of try:
BP_Groups_Member::get_is_admin_of( $user_id )
BP_Groups_Member::get_is_mod_of( $user_id )
(returns an array with groups and total)
i would replace the settings ` ‘screen_function’ => ‘bp_core_screen_general_settings’ ` used in the nav_item with your own set of functions
category information is not stored in the activity stream (just blog_id and post_id)
what version of bp and wp? as this might be severely out-of-date and not needed.
can use `groups_get_group` which returns a group object then pass the object to `bp_get_group_name`
noting the version of IE helps. just uses jquery but i tested with IE8/9 and works.
there is no action to trigger on (though that wouldn’t allow you to overwrite a function – i don’t believe any “pluggable” functions exists in bp. action is just a hook point)
there is a filter on the return of that function though bp_core_get_username but passes the determined username
that limits HOW many members to display – not restrict the number members to join.
a cheap/simple method: if they share the same db – you could setup each wordpress instance to the same custom_user_tables
function groups_is_user_member( $user_id, $group_id )
well, your first question was about adding batch style via a db – if you looked how it called the class, you could pick up the raw sql instead.
that change is to a theme file – did your theme update as well? (or is it a child theme?)
create a trac ticket https://trac.buddypress.org/
IIRC – the bbpress tables store the username in another col (last_poster, topic_poster – or something like that) – this might be causing the issue.
try stopping the spammers from registering – topic covered in the past about different options
ah got it, looks like it was supposed to be fixed https://trac.buddypress.org/changeset/3053 (though i could see if the comments made it in prior to this change) file a trac ticket if you can reproduce it
i haven’t seen a plugin for this yet
buddypress activity replies is not tied to wp commenting settings – all activity comments will post immediately.
if you instantiate buddypress – then look at the `function groups_create_group` in bp-groups.php
“Except for Groups and Forums where users can be given more roles.”
to clarify – this is internal buddypress “roles” (group admin/mod) not plugging into wp_cap/roles
have you tried updating to 1.2.6 now?