Search Results for 'buddypress'
-
Search Results
-
Hi, I have bbpress and buddypress installed in my site. Now I want to use the @mention function of buddypress in my forum but I do not want to enable user activities. Any solution for that? Many thanks
Topic: BuddyPress group creation
Hi
When i create a group and when multiple click on the finish button multiple groups are created and in activity page we will see the message group created multiple times. I have added some jquery to disable double click, but still it creates multiple groups. Please give me proper solution as early as possible
Hi I have a problem with uploading images, I’m on the newest WordPress and Buddypress versions, and I can upload images when I’m logged in as Admin.
But when logged into Buddypress as anything other than admin, the image upload for profile/change-avatar doesn’t work. I get an “An error occurred. Please try again later.” message.
If it’s pertinent, I just moved to a new server.
Also, Lazyload plugin was affecting the cropping screen, by leaving the image invisible with just a small square visible – I found that as I was going through and checking the plugins before posting here, by switching them off.
Now the image uploads, with a progress bar, but receives the red error at the end.
Has anyone seen this before?
Thank youTopic: Why bpthumb == bpfull ?
Hello,
I’ve a clean wp installation, buddypress is the only plugin and I’m using the default theme 2015 however when the users upload their avatar: bpthumb is 150px like bpfull instead of 50px.
/wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpfull.jpg
is the same of /wp-content/uploads/avatars/1/bac9f205a601e55b63f55878d3dfab6c-bpthumb.jpgSomethings wrong with my server or a bug on latest buddypress ver.?
Thank you
Topic: menu logged out list
Can I add pages to the BuddyPress menu logged out list in menus?
This happens in WPLMS system.
This is a buddypress module totally ,so this is an issue with buddypress ,please try contacting buddypress support for this .
ALso please note that the pictures are uploading now but it is not setting as profile picture because there is some problem is occuring .
The file names that you are uploading does not seems to be right in the avatars/user id directories .

But check this link :../wp-content/uploads/avatars/241/
Here there is no file with that name with bpthumb as suffix .
Please contact the buddyress for this .Hello everybody
For each post users created, i have a special taxonomy i apply. Each element in this taxonomy have an image as attachment, so when i attach one tax in the back office to a post, it display a “medal” to the post in the front office.
I want to display this “medal” tax in the activity stream of the user and on the global activity (all activities of the website)
This the code i use to display the custom tax:
<?php foreach (get_the_terms(get_the_ID(), 'niveau') as $cat) : ?><a class="medaldetail" href="<?php echo get_term_link($cat->term_id, 'niveau'); ?>"><img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /></a><?php endforeach; ?>Which buddypress template i must override to be able to display this?
Thank you very much!
I’m trying to add a link into the main WordPress menu that points to a subnav of a Buddypress page.
I see there’s an option for menu items that point directly to the main Buddypress pages (/activity/, /forums/, /groups/, /achievements/, etc), including my own custom slug (/kag/). I’d like to have a menu option that points to a subnav of my custom page (/members/USERNAME/kag/ship/) but since it has a varaible in it I can’t just setup a custom link (unless there’s something I’m missing).
Can anyone tell me how to add items to the Buddypress section of the Menu editor, or how to make a direct link to the subnav page?
I’m using the most current WordPress, Buddypress, bbpress, and BadgeOS. I’m using the Firmasite theme.
I’d like to display the latest Posts, Images and Videos posted by a User in Subtabs of My Contributions tab in the profile of each member. Images and Videos are both custom post types.
I found an example how to set up a Tab with a single subtab. I got this working:
https://buddypress.org/support/topic/creating-a-custom-tab-that-takes-in-the-info-from-wp-recent-posts/
But I’m stuck how to add the custom post types images and videos in seperate sub tabs. These should be displayed as thumbnails. Not sure how to achieve this. I tried to copy the given code for a second sub tab but what happens then that all the latest posts disappear and only the latest images of the current logedin member get displayed in the subtab, not the images of the specfici author. So I must be doing something completely wrong.That’s what I tried:`
function bpfr_get_post() { /* * to get all post, comment the line 'author' */ $myposts = get_posts( array( 'posts_per_page' => 25, // set the number of post to show 'author' => bp_displayed_user_id(), // show only this member post 'post_type' => 'post', 'orderby' => 'post_date', 'order' => 'DESC', 'post_status' => 'publish' )); if( ! empty( $myposts ) ) { foreach($myposts as $post) { setup_postdata( $post ); $page_object = get_post( $post ); /* * uncomment next line to show only a list of titles linked to full post * if you uncomment, you have to comment the 2 echo below */ echo '<a href="' . get_permalink($post->ID) . '">' . get_the_title($post->ID) . '</a><br />'; /* * comment the 2 following echo (or remove them) if you use the above */ // echo '<h3 class="profile_post">'. $page_object->post_title .'</h3>'; // echo $page_object->post_content; } wp_reset_postdata(); } else { echo '<div class="info" id="message">No post to show actually.</div>'; } } add_action ( 'my_profile_posts', 'bpfr_get_post' ); function bpfr_get_image() { $myimages = get_posts( array( 'posts_per_page' => 25, // set the number of post to show 'author' => bp_displayed_user_id(), // show only this member post 'post_type' => 'image', 'orderby' => 'post_date', 'order' => 'DESC', 'post_status' => 'publish' )); if( ! empty( $myimages ) ) { foreach($myimages as $post) { setup_postdata( $post ); $page_object = get_post( $post ); /* * uncomment next line to show only a list of titles linked to full post * if you uncomment, you have to comment the 2 echo below */ echo '<a title="' . get_the_title($post->ID) . '" href="' . get_permalink($post->ID) . '">' . get_the_post_thumbnail($post->ID, 'thumbnail') . '</a>'; } wp_reset_postdata(); } else { echo '<div class="info" id="message">No images to show actually.</div>'; } } add_action ( 'my_profile_image', 'bpfr_get_image' ); function bpfr_post_profile_setup_nav() { global $bp; $parent_slug = 'posts'; $child_slug = 'posts_sub'; $child_slug2 = 'images_sub'; bp_core_new_nav_item( array( 'name' => __( 'My contributions' ), 'slug' => $parent_slug, 'screen_function' => 'bpfr_profile_post_screen', 'position' => 50, 'default_subnav_slug' => $child_slug ) ); //Add subnav item bp_core_new_subnav_item( array( 'name' => __( 'Latest posts' ), 'slug' => $child_slug, 'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 'parent_slug' => $parent_slug, 'screen_function' => 'bpfr_profile_post_screen' ) ); //Add subnav item bp_core_new_subnav_item( array( 'name' => __( 'Latest images' ), 'slug' => $child_slug2, 'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 'parent_slug' => $parent_slug, 'screen_function' => 'bpfr_profile_image_screen' ) ); } function bpfr_profile_post_screen() { add_action( 'bp_template_content', 'bpfr_profile_post_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function bpfr_profile_post_screen_content() { do_action( my_profile_post); } function bpfr_profile_image_screen() { add_action( 'bp_template_content', 'bpfr_profile_image_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function bpfr_profile_image_screen_content() { do_action( my_profile_image); } add_action( 'bp_setup_nav', 'bpfr_post_profile_setup_nav' );I’m really new to this, so please forgive me if I’m asking help for something that might be obvious for anyone else. I really would appreciate if someone could guide me to a solution. Thanks a lot!
Currently in pre-stages of creating a new buddypress site…
Any links on the website that relate to events are one colour, is the a way to do the same with buddypress?
What I intend to have is..
Different colour links to… posts, events, bbPress/BuddyPress (I’ve done the forum posts but stuck on buddypress).
Any help would be great.
Deano 🙂
Hi,
I have manage to do the following:
1. Create an activity
2. Create a notification for that activityI have used the following code as proof of concept:
add_action('bp_ready', function() { //1. Add an action $activity_id = bp_activity_add([ 'action' => '<b>HEJHEJHEJ</b>', 'content' => '<b>my content my content my content my content my content my content</b>', 'component' => 'groups', 'type' => 'activity_update', 'user_id' => get_current_user_id(), ]); //2. Send the notification if (bp_is_active('notifications')) { $activity = new BP_Activity_Activity($activity_id); $notification = bp_notifications_add_notification(array( 'item_id' => $activity->id, 'secondary_item_id' => $activity->user_id, 'user_id' => $activity->user_id, 'component_name' => buddypress()->activity->id, 'component_action' => 'new_at_mention', 'date_notified' => bp_core_current_time(), 'is_new' => 1, )); } });So how do i make Buddypress to send an email to the user about that notification? Is there any tutorial that describes the process?