Search Results for 'buddyboss'
-
Search Results
-
Since i’ve updated the the latest buddypress version 2.4.0, i can’t post update to my activity feed. When i refresh the page, i see the button then it disappears after less than a second. I’ve seen where someone on-line complained about it, but they were talking about BuddyBoss theme. That they said they fixed. But not with the other themes.
Need your help ASAP!!!
Topic: Post On Buddypress Profile
I wish the developers/contributors would add a post on profile button to show user posts in the next update. It makes sense to have this function as it incorporates WordPress and Buddypress respectively. There is only one plugin that I found which accomplished this feet:
by Huseyin Berberoglu. The plugin is out of date and it takes tons of modifications to get it going with an up to date Buddypress install.
The second method is a block of code placed in functions.php
function importSomething(){ return include_once 'bp-custom.php'; } add_action( 'bp_setup_nav', 'buddyboss_child_bp_nav_adder' ); add_action( 'bp_template_content', 'profile_buddyboss_child_loop' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); function buddyboss_child_bp_nav_adder() { global $bp; $post_count = count_user_posts_by_type( $bp->displayed_user->id ); bp_core_new_nav_item( array( 'name' => sprintf( __( 'Posts <span>%d</span>', 'my-poems' ), $post_count ), 'slug' => 'Articles', 'position' => 250, 'show_for_displayed_user' => true, 'screen_function' => 'buddyboss_child_list', 'item_css_id' => 'articles', 'default_subnav_slug' => 'public' )); } function buddyboss_child_list() { add_action( 'bp_template_content', 'profile_buddyboss_child_loop' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } /*------- This is end of the code for above function ---------*/ function profile_buddyboss_child_loop() { $myposts = get_posts( array( 'posts_per_page' => -1, 'author' => bp_displayed_user_id(), 'post_type' => 'post' )); if( ! empty($myposts) ) { foreach($myposts as $post) { setup_postdata( $post ); if (has_post_thumbnail( $post->ID ) ): $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'sidebar-smallthumbnew' ); else : $image[0] = "http://....com/wp-content/uploads/2015/10/userpost.jpg"; endif; echo '<li class="sidebar mostpop post-' . $post->ID . '"><span id="postimage"><a>ID) . '"><img src="' . $image[0] . '" /></a></span><div id="postinfo"><a>ID) . '">' . get_the_title($post->ID) . '</a></div></li>'; } echo '</ul>'; wp_reset_postdata(); } else { ?> <div class="info" id="message"> <p><strong><?php bp_displayed_user_fullname(); ?></strong> has No posts.</p> </div> <?php } } /* This is end of the code for above function */ remove_filter('bp_setup_nav',''); function count_user_posts_by_type( $userid, $post_type = 'post' ) { global $wpdb; $where = get_posts_by_author_sql( $post_type, true, $userid, true); $count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts $where" ); return apply_filters( 'get_usernumposts', $count, $userid ); }This works fine but it’s quite limited. It also messes with Buddypress updates rendering the two latest Buddypress updates useless (Star message, and Upload Background image).
Guys please get around to integrating this ability in Buddypress so one doesn’t have to spend hours searching and trouble shooting for a function which I believe and others should be an already main component.
I’ having this old but new issue. Old because I forget about it until there is a new Buddypress update, then I’m painfully reminded again.
I’ve been showing User Posts to the WordPress site on the Buddypress Activity page by using an awesome function I found in a Forum. It adds a Button to Buddypress Nav, titled (POSTS), with post count. These are all the posts that a user posted to the WordPress site. The problem I’m having is everytime Buddypress comes out with a new Update I have to pass on it because it interferes with the (Posts) Nav and Vice Versa. I do not want to keep losing out on these updates but I also do not want to lose the user Posts button on the activity page.
Here is the function I used, can anyone tell me how to fix this:/* ------------------------------Start BP Post in profile code for function-------------------- */ function importSomething(){ return include_once 'bp-custom.php'; } add_action( 'bp_setup_nav', 'buddyboss_child_bp_nav_adder' ); add_action( 'bp_template_content', 'profile_buddyboss_child_loop' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); function buddyboss_child_bp_nav_adder() { global $bp; $post_count = count_user_posts_by_type( $bp->displayed_user->id ); bp_core_new_nav_item( array( 'name' => sprintf( __( 'Posts <span>%d</span>', 'my-poems' ), $post_count ), 'slug' => 'Articles', 'position' => 250, 'show_for_displayed_user' => true, 'screen_function' => 'buddyboss_child_list', 'item_css_id' => 'articles', 'default_subnav_slug' => 'public' )); } function buddyboss_child_list() { add_action( 'bp_template_content', 'profile_buddyboss_child_loop' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } /*------- This is end of the code for above function ---------*/ function profile_buddyboss_child_loop() { $myposts = get_posts( array( 'posts_per_page' => -1, 'author' => bp_displayed_user_id(), 'post_type' => 'post' )); if( ! empty($myposts) ) { foreach($myposts as $post) { setup_postdata( $post ); if (has_post_thumbnail( $post->ID ) ): $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'sidebar-smallthumbnew' ); else : $image[0] = "http:/...com/wp-content/uploads/2015/10/userpost.jpg"; endif; echo '<li class="sidebar mostpop post-' . $post->ID . '"><span id="postimage"><a href="' . get_permalink($post->ID) . '"><img src="' . $image[0] . '" /></a></span><div id="postinfo"><a href="' . get_permalink($post->ID) . '">' . get_the_title($post->ID) . '</a></div></li>'; } echo '</ul>'; wp_reset_postdata(); } else { ?> <div class="info" id="message"> <p><strong><?php bp_displayed_user_fullname(); ?></strong> has No posts.</p> </div> <?php } } /* This is end of the code for above function */ remove_filter('bp_setup_nav',''); function count_user_posts_by_type( $userid, $post_type = 'post' ) { global $wpdb; $where = get_posts_by_author_sql( $post_type, true, $userid, true); $count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts $where" ); return apply_filters( 'get_usernumposts', $count, $userid ); } /* ------------------------------This is end of the code for post in profile above function-------------------- */I have a private buddypress (buddyboss theme) community where I manually added users and I can’t for the life of me figure out how to send all of the users their login detail or instruct them on how to login.
Is it possible to send them a welcome email?
I have searched around quite a bit and unable to find a working solution.
Thanks in advance for your help!
Topic: [Resolved] Profile
My profile fields are jumbled. Latest version of WordPress & Buddypress. No customizations. No plugins that modify visuals.
Using extended profiles.
I have tried about 4 themes.. they are look jumbled with the same rounded looking boxes and such.
Current theme = latest version of BuddyBoss.
http://peaceimout.com/members/dlovin123/
Thanks for the help!
I’m having a problem with @mentions and autocomplete where the autocompleted username has some HTML in the hover over. I’m using the BuddyBoss theme, but have also verified that the same thing happens with no plugins turned on and the Twenty Fifteen theme.
Here’s a screenshot – https://db.tt/kitFgT0w
When it happens, I get this error in the browser console – https://db.tt/yQKjIDVj
Has anyone seen this happen or know of a fix? I’m not sure what image the console is talking about (it looks like maybe the user’s gravatar?) and couldn’t find where in the code it was coming from.
Thanks!
– Jim
Hi, I would like to have a notification when someone likes my activity. I’m currently using buddypress-wall by buddyboss. Please let me know how to achieve this. Thanks!
Topic: Activating Memberships
Wordpress 4.2.2 – BuddyPress Version 2.3.2.1
I cannot understand how to set up Memberships, Registration. Tutorials don’t seem to address this.
Please give me link to documentation.
I go to Settings > BuddyPress > Pages & I see these instructions/fields to fill in, but no clue as to what all this means:
Directories
Associate a WordPress Page with each BuddyPress component directory.
Members > PAGE NAME
Registration
Associate WordPress Pages with the following BuddyPress Registration pages.
Register > PAGE NAME
Activate > PAGE NAMEBuddyBoss support says: Please create a page for each option and then you can select those pages for each option. Create the Pages first , after that you will get options to select them.
This is clear as mud.
WP, buddypress verson- latest
Theme- buddyboss
Other complex plugins- Seo by yoast, mycred, jetpack, woocommerce etc.
Issues:
1. when activated in single site under a network, error like “insufficient permission to view this page” comes when trying to edit users and approve users
2. forgot password form not working
3. After deleting the user(already activated), when try to re-register with register page, red box with “already sent an email……” appears. Seams like the email is not deleted from database.
4.Registered members who activated their account doesnot show up in members.I tried everything like deactivating other plugins, changing theme to twentyfifteen, flushing the cache and deleting cache plugin… but did not have any fortune.
my websiteHi guys,
I facing few issue, I had purchase this plugin (http://www.buddyboss.com/product/buddyboss-wall/) from buddyboss there. After i install i facing 3 issue at below and the plugin developer said this is no their plugin problem they recommend me submit a support request to buddypress.org
1) I want to change from (favourite) button to (like) button and If can try to add in like icon
2) I want to has a tab for those “my friend” “all member” “my group” “my likes”and others
3) How can I arrange the “you like this” message position, because currently this message didnt arrange properly i want this message add at below the comment, no at below the lineafter I updated to the latest buddypress I have over 4 plugins throwing this error. I opened tickets to all plugin developers but they are taking their sweet time getting back to me.
Can someone explain to me what code I have to change to fix this error? what strings of code am I searching for and what do I need to replace it with? Any help would be greatly appreciated. Of course they are on plugins that have great functionality like
Buddyboss Global Search (really important and useful, I would like to have this working asap)
BP You are Blocked
Buddypress Edit activityERROR bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init()
I use Boss theme by buddyboss and it has an option to force mobile versions on desktop, which I like a lot. But I notice that my xprofile fields are ordered wrong. I have the basic profile (name, email, phone, website) but then i created another profile group called Resume (with tons of slots for adding resume details) But when you view profile it shows the resume first and not the basic profile details.
the only problem is I dont want to add duplicate Name, email, phone to the resume group, I just would like to know how to fix the order. I remember seeing a similar post on the forums but though I’d start a new thread cause sometimes its hard to search for a post you scanned across weeks ago.
-thanks
The New Feature in Buddypress Starred button redirects users to their post page button. I’ve added a button to users buddypress activity page which is titled Post that takes users to a page with a list of their Posts made to WordPress. With the new update when you click on the Starred button the user is redirected to the the list of posts. I created the Post button using this custom function I found Online.
/* ——————————Start BP Post in profile code for function——————– */
function importSomething(){
return include_once ‘bp-custom.php’;
}
add_action( ‘bp_setup_nav’, ‘buddyboss_child_bp_nav_adder’ );
add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );function buddyboss_child_bp_nav_adder() {
global $bp;
$post_count = count_user_posts_by_type( $bp->displayed_user->id );
bp_core_new_nav_item(
array(
‘name’ => sprintf( __( ‘Posts <span>%d</span>’, ‘my-poems’ ), $post_count ),
‘slug’ => ‘Articles’,
‘position’ => 250,
‘show_for_displayed_user’ => true,
‘screen_function’ => ‘buddyboss_child_list’,
‘item_css_id’ => ‘articles’,
‘default_subnav_slug’ => ‘public’
));
}
function buddyboss_child_list() {
add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}
/*——- This is end of the code for above function ———*/
function profile_buddyboss_child_loop() {
$myposts = get_posts( array(
‘posts_per_page’ => -1,
‘author’ => bp_displayed_user_id(),
‘post_type’ => ‘post’
));
if( ! empty($myposts) ) {
foreach($myposts as $post) {
setup_postdata( $post );
if (has_post_thumbnail( $post->ID ) ):
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘sidebar-smallthumbnew’ );
else :
$image[0] = “…/wp-content/themes/Starkers-Child-2/images/vidimage.jpg”;
endif;
echo ‘<li class=”sidebar mostpop post-‘ . $post->ID . ‘”><div id=”postimage”>ID) . ‘”></div><div id=”postinfo”>ID) . ‘”>’ . get_the_title($post->ID) . ‘</div>‘;
}
echo ‘‘;
wp_reset_postdata();
} else { ?>
<div class=”info” id=”message”>
<p><?php bp_displayed_user_fullname(); ?> has No posts.</p>
</div>
<?php }
}
/* This is end of the code for above function */
remove_filter(‘bp_setup_nav’,”);
function count_user_posts_by_type( $userid, $post_type = ‘post’ ) {
global $wpdb;
$where = get_posts_by_author_sql( $post_type, true, $userid, true);
$count = $wpdb->get_var( “SELECT COUNT(*) FROM $wpdb->posts $where” );
return apply_filters( ‘get_usernumposts’, $count, $userid );
}
/* ——————————This is end of the code for post in profile above function——————– */I dont want to get rid of the latest starred button feature, so How can I go about correcting this redirect error.
Also the new mobile take picture update doesn’t work on the mobile version of my site. I’m using WP-Smart mobile plugin to generate a mobile theme. I also have a copy of Buddypress in both my Child Theme and my active WP smart mobile theme.
How can I go about fixing these issues if possible.
Also, great exceptional work on these new updates.
Thank you
Hi guys, in my custom theme I would like to display the latest forum topics. In order to do so I thought I could use this function So I copied the html/php code in my frontpage.php. It returns nothing, not even the
Sorry, there were no forum topics found.
message.
I turned WP_DEBUG to
trueand found this message:
Fatal error: Call to undefined function bp_has_forum_topics() in /Users/boriskamp/Documents/Local Websites/MSM/wp-content/themes/Military-Scale-Modelling/front-page.php on line 122
Im using a child theme of the BuddyBoss theme.what’s wrong here?
Thanks!