Search Results for 'buddypress'
-
Search Results
-
Greetings,
I have a CPT “events” that I want to display on the activity feed. I stumbled upon this page: https://codex.buddypress.org/plugindev/post-types-activities/ which tells you how to implement it.
I have added
add_post_type_support( 'page', 'buddypress-activity' );
to the custom-bp.php which works and indeed shows a post once I add a new event.However, the message it shows is a bit generic (Name wrote a new item) which I would like to change (including featured image).
In the above-mentioned link it does explain how to do this (changing the text) but for some reason, I can’t make it work. I added the following code as mentioned to my custom-bp.php but it just does not change the message:
function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } bp_activity_set_post_type_tracking_args( 'events', array( 'component_id' => buddypress()->blogs->id, 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-domain' ), 'bp_activity_front_filter' => __( 'Events', 'custom-domain' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">event</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">event</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );Also, in the best case I would like to add the featured image to it which is clickable (exactly how it does it for a normal blog entry).
Can somebody tell me what I do wrong?
Topic: Multiple forums template
Hi, can you advise how we set up a forum structure like the one on this site, with the forums on the left, and stream of all posts on the right? Our existing forum has just one stream with no categories. We’ve got into a long and expensive discussion with a developer about adding topic categories, but it strikes me, I could set it up like the buddypress community, and just call the ‘forums’ categories. Quite a beginner, so any pointers v useful. thanks
WP 5.8.2
Buddpress 9.1.1
https://dme.childrenshospital.orgI have a searchable/filterable list on a page that includes a subset of all registered site users. The list is generated by a custom plugin that loops through the Buddypress member profiles and looks for a value (the buddy press field is a custom field). If there is a value, the user is included in the list. The problem is that the list has been working in the past but now displays some but not all members that should be displayed. There is no discernible discrepancy between data for members that are and are not being displayed. And it’s not just new users that are not displaying. Any thoughts on how to attack this problem?
For starters, this is the function being called to return all Buddypress members, does this look right?
if ( (bp_ajax_querystring( ‘members’).’&type=alphabetical&per_page=1000′) ) {
while (bp_members()) : bp_the_member();My site first time to byte was very high so I contacted my server and found the following error sheet. Seems to be a fault with buddypress, some plugin conflict perhaps. What should I do?
Site: http://www.indikaari.in
Environment file link: https://drive.google.com/file/d/1AZlx-6lgA2ZPZxsH6VZJ-KH-07v4s2Gs/view?usp=sharing
Error file link: https://docs.google.com/document/d/1ZzR0lumbbAPGkhI7iI2lWxHy2iw88lys/edit?usp=sharing&ouid=116865224386506907417&rtpof=true&sd=trueThank you.
I’d like to add custom WordPress profile fields that in turn are synchronized with BP Xprofile fields. (I want to register users not using buddypress for registration)
this bpdev post hints that is would be a ‘thing’ – but the explanations are incomplete. https://bpdevel.wordpress.com/2021/03/24/wordpress-xprofile-field-types/
searching solutions for adding WP profile fields look like there is no way they’d be compatible with Xprofile sync
Is this even possible?
Is there an explanation/tutorial somewhere?
Thanks
I wrote the following function, but i still can’t create a group. I’ve made sure that the function is getting called, so that is not the issue
function start_a_new_group($profile_id, $status) {
if ( !function_exists( ‘groups_create_group’ ) ) {
require_once ‘/bp-groups/bp-groups-functions.php’;
}$defaults = array(
‘group_id’ => $profile_id,
‘creator_id’ => get_current_user_id(),
‘name’ => ”,
‘description’ => ”,
‘slug’ => ”,
‘status’ => $status,
‘enable_forum’ => 0,
‘date_created’ => bp_core_current_time()
);
return groups_create_group($defaults);
}Wordpress version 5.8.2
Buddypress verion 9.1.1
Theme is Twenty TwentyAny ideas?
Dear Sir/madame
Yestarday in my website i made a mistake on buddypress plugin and when i tried to contact wo help center they recomende me to inactive buddypress and after i do so i cant re install it again. Why is that? What can i do to install buddypress plugin again? My website is http://www.haslawbook.com
Sincerely
Hasen Mh HassenTopic: Awards on profile?
I run a toll-free hotline where each call can literally be the difference between life and death. I use BuddyPress to keep my operators connected. When one of my operators calls an ambulance for a caller, and is able to save that caller’s life, I want to be able to put a medal or badge on their profile page, with a medal for each time they save a callers life. I tried BadgeOS with the BuddyPress integration plugin, and it didn’t work. So, I’m looking for a way to display an image on a member’s profile page. Does anyone have any info on how to do that?
Thanks in advance!