Search Results for 'buddypress'
-
Search Results
-
Hi there,
I found this article on how to add a new tab in the Buddypress profile menu > https://blog.maximusbusiness.com/2013/06/buddypress-profile-custom-bp-menu/.
I haven’t tried it yet because I’d like to know, before I mess up anything, if it’s possible to display posts from specified categories and how to achieve it.So, my users can send 2 types of posts : Galleries and Services. The first one is a basic Gallery system, users post pictures and that’s it. The second one is a classic text post with informations.
I need to split them in the Buddypress profile nav menu.How can I tell Buddypress “in this tab you get the posts from these categories”?
Thank you for your time and help!
hello team, i need to add my blog categories to my buddypress activity Stream, just like i saw on this thread: https://buddypress.org/support/topic/including-post-categories-in-the-activity-stream/
The girl in that thread found a code and solved it but i still don’t know where to paste that code:
if( $post->post_type == ‘post’ ) {
$activity_action = sprintf( __( ‘%1$s added the post, %2$s in the categories %3$s’, ‘buddypress’ ), bp_core_get_userlink( (int) $post->post_author ), ‘‘ . $post->post_title . ‘‘, get_the_category_list( ‘, ‘, ”, $post->ID ) );
}
Please guys, someone give me a hand with this.
Topic: Remove Time Last Active
I want to remove time last active on my wp and bp site. On the member page, I don’t want it to show up. I tried adding #buddypress span.activity {
display: none!important;
} as css, but it didn’t work. I also tried
/* remove “not recently active” */
function bpfr_core_get_last_activity( $last_activity_date, $string ) {
if ( empty( $last_activity_date ) )
// we do nothing
$last_active = ”;
else
$last_active = sprintf( $string, bp_core_time_since( $last_activity_date ) );
}
add_filter( ‘bp_core_get_last_activity’, ‘bpfr_core_get_last_activity’ );/* remove whole recently active filter */
function bpfr_remove_last_activity_filter() {
remove_filter( ‘bp_core_get_last_activity’, $last_active, $last_activity_date, $string );
}
add_filter( ‘bp_core_get_last_activity’, ‘bpfr_remove_last_activity_filter’ ); to my functions.php file, but that didn’t work either. What should I do?Hello,
i hope someone can help me because i am driving myself crazy at this point. im fairly new to wordpress and thought that i would give it a shot to try and have the themes custom post “video” show up in the activity stream as well as merge their comments. finding this link in the codex, https://codex.buddypress.org/plugindev/post-types-activities/i managed to have this in my bp-custom.php
function customize_page_tracking_args() { if ( ! bp_is_active( 'activity' ) ) { return; } add_post_type_support( 'video', 'buddypress-activity' ); bp_activity_set_post_type_tracking_args( 'video', array( 'action_id' => 'new_video', 'bp_activity_admin_filter' => __( 'Published a new video', 'custom-textdomain' ), 'bp_activity_front_filter' => __( 'Video', 'custom-textdomain' ), 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">video</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">video</a>, on the site %3$s', 'custom-textdomain' ), 'contexts' => array( 'activity', 'member' ), 'comment_action_id' => 'new_video_comment', 'bp_activity_comments_admin_filter' => __( 'Commented a video', 'custom-textdomain' ), 'bp_activity_comments_front_filter' => __( 'Video Comments', 'custom-textdomain' ), 'bp_activity_new_comment' => __( '%1$s commented on the <a href="%2$s">video</a>', 'custom-textdomain' ), 'bp_activity_new_comment_ms' => __( '%1$s commented on the <a href="%2$s">video</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );now only some of the activity shows up as there is no thumbnail image or a comment button. i might have misunderstood but i thought this would be all i needed. also i have alread enabled site tracking, indexing and allowed comments everywhere.
here is the themes cpt registration where var $post_type = ‘video’;:
function register() { register_post_type( $this->post_type, array( 'labels' => array( 'name' => __('Videos', 'themify'), 'singular_name' => __('Video', 'themify'), 'add_new' => __( 'Add New', 'themify' ), 'add_new_item' => __( 'Add New Video', 'themify' ), 'edit_item' => __( 'Edit Video', 'themify' ), 'new_item' => __( 'New Video', 'themify' ), 'view_item' => __( 'View Video', 'themify' ), 'search_items' => __( 'Search Videos', 'themify' ), 'not_found' => __( 'No Videos found', 'themify' ), 'not_found_in_trash' => __( 'No Videos found in Trash', 'themify' ), 'menu_name' => __( 'Videos', 'themify' ), ), 'supports' => array('title', 'editor', 'thumbnail', 'custom-fields', 'excerpt', 'comments'), 'hierarchical' => false, 'public' => true, 'exclude_from_search' => false, 'query_var' => true, 'can_export' => true, 'capability_type' => 'post', 'has_archive' => 'video-archive', 'menu_icon' => 'dashicons-format-video', "taxonomies"=>array("category"), )); register_taxonomy( $this->tax, array( $this->post_type ), array( 'labels' => array( 'name' => __( 'Video Categories', 'themify' ), 'singular_name' => __( 'Video Categories', 'themify' ), ), 'public' => true, 'show_in_nav_menus' => true, 'show_ui' => true, 'show_tagcloud' => true, 'hierarchical' => true, 'rewrite' => true, 'query_var' => true, )); register_taxonomy( $this->tag, array( $this->post_type ), array( 'labels' => array( 'name' => __( 'Video Tags', 'themify' ), 'singular_name' => __( 'Video Tags', 'themify' ), ), 'public' => true, 'show_in_nav_menus' => true, 'show_ui' => true, 'show_tagcloud' => true, 'hierarchical' => false, 'rewrite' => true, 'query_var' => true, )); if ( is_admin() ) { add_filter('manage_edit-'.$this->tax.'_columns', array( $this, 'taxonomy_header' ), 10, 2); add_filter('manage_'.$this->tax.'_custom_column', array( $this, 'taxonomy_column_id' ), 10, 3); add_filter('manage_edit-'.$this->tag.'_columns', array( $this, 'taxonomy_header' ), 10, 2); add_filter('manage_'.$this->tag.'_custom_column', array( $this, 'taxonomy_column_id' ), 10, 3); } }the site is https://balalatet.com/activity/ if you’d like to see
Please helpNot sure if this is a bug or just my experience.
In Buddypress Groups member’s pages, the arrows and page numbers pagination links return the ‘No Members were found’ message in groups with more than 20 members – meaning you can’t see the other members. I have Buddypress 6.3 and WordPress 5.5.3. Happens with no other plugins active and no matter the theme (have tested Twenty Fifteen-Twenty).
‘Order by’ options also return ‘No Members were found’ message. Search does the same.
I have tried BuddyPress repair tools. I even tried deleting ALL the other plugins (on the Staging site version). Nothing works – just seems broken.
Here is a video of it: https://vimeo.com/479876989/00919cb869
Can share a private link if necessary.
Topic: Members of group
As teacher, I am trying to use buddypress to communicate with the students and I have one group per class. This is still experimental and ‘work in progress’.
When I select a group and click on members, the page shows all the members registered on the website instead of the restricted number of this group members.
My website : http://www.rosenstiehl.net (sorry it’s French)
I use WordPress version 5.5.3–fr_FR and Buddypress Version 6.3.0Thanks for your help
Etienne RI created custom registration form. User is created by function wp_create_user.
How can I sand standard Email confirmation by BuddyPress?Thx.
Topic: Password Saving Random Value
I am having an issue with my buddypress website located at devotedfellowship.org… Anytime someone registers, it saves a random password in the database. After they activate their account with email validation and try to login, it tells them that the password is incorrect for the username. However, once they use the password reset link and reset their password, it all works nicely.
I need this fixed, as most my users will not go through all that hassle. I have disabled all non buddypress mandatory plugins and the issue persisted. I have reenabled them for the time so my current users can use the site. I have also made sure my buddypress and my wordpress versions are both updated to current and they were.
Any help would be amazing and well received. Thanks,
Matt
Topic: Delete of mail format
Hello,
I am using buddypress for my Intranet page.
Now I am using a plugin to restrict my website from sending e-mails to users, as I don’t want it to send alot of mails to my users for no reason.
In the admin menu theres a tab called “Buddypress e-mail” with alot of formats inside.
If I delete a format, does this mean it will never send an e-mail when, according to when it triggers, it should have sent an e-mail?I don’t want to delete any formats and break my website.