-
Andrew Tegenkamp replied to the topic Filter Autocomplete IDs? in the forum Creating & Extending 4 years, 7 months ago
Nope, I’d start a new thread about it.
-
Andrew Tegenkamp replied to the topic Sub-forums inside a group? in the forum How-to & Troubleshooting 6 years, 3 months ago
I never found a good solution for this. We ended up having 2 main types of groups that we wanted to differentiate between so we were hoping for two big groups with subforums, but just ended up making each its own group.
We added some metadata to each group (https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/) and just used…[Read more]
-
Andrew Tegenkamp replied to the topic Sub-forums inside a group? in the forum How-to & Troubleshooting 6 years, 10 months ago
I cross posted at https://bbpress.org/forums/topic/sub-forums-inside-a-group/ since this is that area where they work with each other, but any guidance even on where to get started to develop this as an option or feature is certainly appreciated.
Thanks.
-
Andrew Tegenkamp replied to the topic Sub-forums inside a group? in the forum How-to & Troubleshooting 6 years, 10 months ago
I will, but I thought it was a BuddyPress question since I’m asking how to keep a component inside the Group template.
-
Andrew Tegenkamp started the topic Sub-forums inside a group? in the forum How-to & Troubleshooting 6 years, 10 months ago
I have a group “Sherlock Holmes” with a forum at https://andrewteg.com/bp/groups/sherlock-holmes/forum/ and have created two sub-forums (Watson & Moriarty).
I’d like for the sub-forums to stay in the group template. Is there a known way to go about this?
I’ve seen the main forum https://andrewteg.com/bp/forums/forum/group-forums/holmes/…[Read more]
-
Andrew Tegenkamp replied to the topic Filter Autocomplete IDs? in the forum Creating & Extending 7 years, 10 months ago
Thanks! Thought I was going crazy 🙂
-
Andrew Tegenkamp started the topic Filter Autocomplete IDs? in the forum Creating & Extending 7 years, 10 months ago
I am trying to filter autocomplete IDs in Message to just a certain role or member type based on the user’s role or member type. Sometimes they are not friends so I tried setting BP_MESSAGES_AUTOCOMPLETE_ALL and it works great to get everyone but I can’t find how to filter it. I’m trying this just to see what I have to work with but it doesn’t…[Read more]
-
Andrew Tegenkamp started the topic WP Roles vs BP Member Types in the forum Creating & Extending 7 years, 10 months ago
Been reading over https://codex.buddypress.org/developer/member-types/ and just not sure how this works with a role in WP. Is there any reason to use one and not the other or are they meant to work together?
Thanks
-
Andrew Tegenkamp started the topic Navigation API – Default Slug? in the forum Creating & Extending 7 years, 10 months ago
I’m trying to edit my user’s profile so that when they click on “Settings” they go to the “Email” (/settings/notifications/) by default. I found https://codex.buddypress.org/developer/navigation-api/ and am trying to apply that to the default_subnav_slug but must be missing something. Any ideas?
[Read more]
add_action( 'bp_setup_nav',… -
Andrew Tegenkamp started the topic Add Meta to Group Table? in the forum Creating & Extending 8 years ago
I’ve got some group meta I added using the great codex page at https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/
I was hoping to take that one step further and add one or more of that meta to my groups page at /wp-admin/admin.php?page=bp-groups so I can at least see it.
I’m not finding much on that and wondering if anyone…[Read more]
-
Andrew Tegenkamp replied to the topic Woocommerce First and Last Names? in the forum Creating & Extending 8 years ago
I’ve found WooCommerce is setting the display name to just the first name. It appears BP uses the display name which makes sense for BP. To change this, you can use this bit of code:
add_filter('pre_user_display_name','g3_change_display_name');
[Read more]
function g3_change_display_name($name) {
if ( isset( $_POST['billing_first_name'] ) ) $firstname =… -
Andrew Tegenkamp started the topic Woocommerce First and Last Names? in the forum Creating & Extending 8 years ago
I know I’m missing something easy here but cannot find it…
People only join my site through a Woocommerce order. Once they are joined they can request to join Private groups in BuddyPress. It looks like when someone signs up the billing_first_name and billing_last_name from Woo copy to the “Name” field in WP, but only the billing_first_name…[Read more]
-
Andrew Tegenkamp started the topic Wrapper function if BP is activated? in the forum Creating & Extending 8 years ago
I’m following along with https://codex.buddypress.org/plugindev/how-to-edit-group-meta-tutorial/ to add some group meta and it works great.
I’m wondering if the second code block “wrapper function if BP is activated” is still the preferred way and if it’s required. I haven’t seen that in other plugins with robust hooks and filters recently like…[Read more]
-
Andrew Tegenkamp replied to the topic Read Only Group? in the forum How-to & Troubleshooting 8 years ago
Thanks Hugo. Looks like it’s http://commonsinabox.org/documentation/plugins/bp-group-announcements and https://github.com/cuny-academic-commons/bp-group-announcements has the code so I’ll definitely start there.
@Venutius, I’ll circle back here if I find anything exciting to share, but may be a month or so.
-
Andrew Tegenkamp started the topic Read Only Group? in the forum How-to & Troubleshooting 8 years, 1 month ago
I have some old groups that have some active members. I would like to close these groups to new members but let the current members still see the activity stream (and documents from a plugin) content, but only have read only access.
I can’t figure out if this is possible or where to start if custom coding is needed.
Any ideas from the community?
-
Andrew Tegenkamp started the topic Cancel Membership Request? in the forum How-to & Troubleshooting 8 years, 6 months ago
When a member requests to join a private group the button shows “Request Sent” but I’d like to change that to say “Request Sent – Cancel” and have that cancel the request (and delete the notification).
I saw on this post from last year it would need to be a custom function and didn’t see it anywhere but wasn’t sure if that has been added or if…[Read more]
-
Andrew Tegenkamp replied to the topic Adding another Sublink Under Members/Groups? in the forum How-to & Troubleshooting 8 years, 6 months ago
Thanks! This works great to create just what I needed. I’ll post some sample code for anyone interested when I have it cleaned up a bit more.
-
Andrew Tegenkamp started the topic Adding another Sublink Under Members/Groups? in the forum How-to & Troubleshooting 8 years, 6 months ago
I have a need to add a page with something like Recommended groups based on a person’s location (which I have) and would like to add it as:
buddypress/members/username/groups/join/
so it would sit on the list with Memberships (buddypress/members/username/groups/) and Invitations (buddypress/members/username/groups/invites/) as a 3rd option for…[Read more]
-
Andrew Tegenkamp replied to the topic BuddyPress – Auto join group in the forum Creating & Extending 8 years, 7 months ago
There is also a free plugin at http://www.buddyboss.com/purchase/buddypress-auto-group-join/ if that helps.
-
Andrew Tegenkamp replied to the topic Private Member? in the forum Creating & Extending 8 years, 7 months ago
Thanks, I got it fixed with this code (xprofile field id 2 = Yes) if it helps anyone else out.
add_filter('bp_before_has_members_parse_args', 'get_custom_user_ids');
[Read more]
add_filter('bp_get_total_member_count', 'custom_members_count');
function get_custom_user_ids( $retval ) {
global $wpdb;
$custom_ids = $wpdb->get_col("SELECT user_id FROM… - Load More
@andrewteg
Active 6 months, 1 week ago