@mdbhojwani Google BuddyBoss theme.. They have amazingly crafted theme that looks similar to FB
The activity filter can be removed from the template.
Ask BuddyBoss which one you should adjust and how.
BP does not provide a ‘wall’ tab.
You are using a custom plugin or theme – perhaps BuddyBoss?
Have you tried asking them>
You must check out BuddyPress Member Types.
BuddyPress Member Types lets you create and manage member types without having to code. You can also allow users to choose their Member type while signing up and also through their profile options.
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:
BP Posts On Profile
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.
Try creating it as a function such as something like below or download the free plugin BuddyPress Reorder Tabs
http://www.buddyboss.com/product/buddypress-reorder-tabs/
function re_order_my_tabs() {
global $bp;
$bp->bp_nav[‘Activity’][‘position’] = 30;
$bp->bp_nav[‘profile’][‘position’] = 20;
$bp->bp_nav[‘notifications’][‘position’] = 10;
$bp->bp_nav[‘messages’][‘position’] = 80;
$bp->bp_nav[‘friends’][‘position’] = 70;
$bp->bp_nav[‘groups’][‘position’] = 60;
$bp->bp_nav[‘media’][‘position’] = 50;
$bp->bp_nav[‘settings’][‘position’] = 40;
}
add_action( 'bp_setup_nav', 're_order_my_tabs', 999 );
@stockton – do you mean BuddyBoss theme?
You should ask the theme authors about your issue.
If you’re using multi-site, be sure to tell them that.
I’d vote for boss theme too. It looks awesome and is specifically built for buddypress network sites.
http://www.buddyboss.com/product/boss-theme/. You might want to check its live demo.
they sound as helpful as a chocolate watch at buddyboss.
I dont use/like their plugins so can not help on that, but there is a very good plugin called “BuddyPress Like” which is brilliant and easy to use.
Buddyboss support told me to do this… RESOLVED
Set WP_DEBUG to false define(‘WP_DEBUG’, false); in your wp-config.php file, this is a known issue. It will not break the plugin functionality.
Try checking the order using the TwentyFifteen theme and if the order is as expected, then that means there might be a problem with the Boss theme. If that’s the case, you should let the BuddyBoss team know so they can hopefully release a fix.
Base field name can be modified (from Name to Whatever), you’re right there are no visibility settings for this (required) group.
If you made some custom work, (in bp-custom or theme’s functions.php) it’s important to revert back to original code first.
You use Profildetails as group title. Is this the modified Base name ?
On Boss live demo, Name is appearing.
Have you tested with another theme like 2015 ?
Hi
Thank you for responding.
I tried a few other themes including twentythirteen & Mesocolumn – no difference.
Then today I disabled all plugins except buddypress & bbforum.
Observation:
#1. The mentioned links worked.
#2. I then first activated a number of security plugins + Hyper cache plugin. Problem back, of page not found, until I deactivated Hyper cache.
This was solved by reading this article => http://www.buddyboss.com/buddypress-speed-and-performance/ & doing this:
By default this plugin will cache all of your site’s pages, including your BuddyPress-specific content like activity posts and forum posts. This is not good, as your BuddyPress content is constantly updated and needs to remain fresh. To fix it add the following lines into “URI to reject” in the “Filters” settings panel of Hyper Cache:
/forums/
/groups/
/members/
/activity/
/blogs/
/messages/
/register/
/activate/
… I think current plugin terminology is “Exact URIs to bypass” & “(Starting with) URIs to bypass”, which I did and clearing the cache.
#3. As I continued activating, I discovered the used https://wordpress.org/plugins/404-to-start/ also causes if I try to go to my profile page or for example /members/user-x/, etc to re-direct to site front page, with no error.
I have to look into this later. The other plugins I had tried before caused some issues, so I was happy with this re-direct plugin.
Will report back, at least if I get a response from author or get a plugin not causing issues, someone could recommend one ;).
Thank you & regards.
Yes it is related to “Messages > Starred”. There is nothing wrong with the new feature. It’s this function that I found online that’s causing a conflict.
/* ——————————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——————– */
It adds a new button on the user activity page and when the Message-Starred button is clicked it takes the user the lists of post page that the above function creates. How can I stop that fro happening. I really want to keep the starred message function and I don’t want to lose the lists of WordPress post in the user Activity page.
thank you @mercime I did try the 2015 theme after deactivating all plugins except BuddyPress, and same issue. Yes I can upload images and see thumbnails with 2015 theme and with my BuddyBoss theme. I still have the problem with profile images not working. I also have a new issue where private messages no longer work from inside BuddyPress. I am hosted with inmotion.
Hi thanks for your reply. I am using a clean install. The joomla and WP sites are totally unrelated as they are installed on separate DB’s. This was a single install.
It isnt a buddyboss issue as the issue happens without Buddyboss being activated.
@fugu78,
you are using joomla on the mainsite and WordPress on the subdomain.
Question is: is WP sharing the same DB as joomla or have you a complete separate install (db & cms) for your WP/BP site ?
Which type of WP install do you use ? Single or network ? (more about)
Are mainsite users and wp site users the same people ?
BuddyBoss has his own support forum. You probably have better to ask there directly.
Hey @danbp,
Thanks for the tip but in the meantime I went and bought Buddyboss Wall and that seems to be doing the job perfectly.
I think I was having trouble as I am using a completely blanked WP theme with everything stripped so I can style everything to my liking. But the css structure of both WP & BP can get very confusing at times 😉
Ok, I know it’s not the correct php way, but in lieu of any other option I’ve found how to remove showing it with css – posted in BuddyBoss here: http://www.buddyboss.com/support-forums/topic/1st-month-feedback-mobileresponsive-theme/ and I put this code…
#buddypress #admins-list div.action a, #buddypress #mods-list div.action a, #buddypress #members-list div.action a, #buddypress #groups-list div.action a, #buddypress #friend-list div.action a{display:none;}
in my child theme style.css file.
Hope it helps other who are stuck too 🙂
Hi!
I recently upgraded my site with a new theme (BuddyBoss Boss. theme) and am running WP 4.1.1 and upgraded from BuddyPress 1.9.2 to 2.2.1.
I have a setup where I redirect the activation e-mail to the site admin to be able to manually control new members and verify their information before activating them and letting them log in. This is a cruical function for my site since it’s a private network.
After the upgrade I noticed that some spam users were automatically activated and able to log in without my manual activation. The users are automatically activated, the same issue as @RussAdams is experiencing. I’ve tried deactivating a few plugins (BuddyPress Pending Activations, BuddyPress Auto Group Join) but this issue persists. In BuddyPress 1.9.2, everything was working as expected.
Browser sessions doesn’t seem to be the issue since clearly people on other computers have been able to create accounts which were automatically activated as well.
This is a very serious issue for my site since I no longer have the control over new users and spam users can log in after activating. Did you get this sorted out?
Okay, so I think I have a working resolve. Using buddyboss theme, I have removed the below code.
<li id="activity-all"><a>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddyboss-mobile' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddyboss-mobile' ), bp_get_total_member_count() ); ?></a></li>
and selected
<li class="selected" id="activity-mentions"><a>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddyboss-mobile' ); ?>"><?php _e( 'Mentions', 'buddyboss-mobile' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddyboss-mobile' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li>
the main feature being class=”selected” at the beginning to auto select this tab. So even if the user has no friends, then this Tab will still be available, making the All Members updates not viewable.
lets see how this goes…..
And it seems, the two shall never meet ……
http://stackideas.com/forums/switched-from-joomla-to-wordpress-after-jreviews-port-wish-stackideas-would-consider-porting-easysocial-the-same-way
BTW @statusselect, have you been able to use https://www.corephp.com/joomla-products/wordpress-for-joomla with Easysocial with Likes/Favs comment sync between the two – stream to blog, blog to stream
The two things lacking in BP after I saw Easysocial in some details is the
– Sharebox – it comes with nice at mention and hashtag ( hashtag plugin in BP is not Unicode compliant)
– Album and photo – nicely built into core – something not in BP’s agenda with their own reasoning.
The Sharebox which Easysocial uses can be instantly done in BP by someone who has some coding skills and BP love using the plugins avaialble – buddypress activity plus, buddypress privacy, bp checkins, Event Manager and a Media plugin. But then ….
Easysocial theme is responsive in a fantastic way and similar BP theme like the Boss of Buddyboss costs $100+ while Easysocial, without the bbundle is $90 – so this may be another attractive point for those who need Social more than multiuser blogging. Easysocial is lesser known till now and probably they do not have a favorable stance towards WP.
And the two shall never meet ….
People shall choose whatever they want, and BP devs and debvelopment will follow the path that suits them best. One thing is true, if BP was something like Jetpack, things would have evolved faster, imho
Thanks.
Went down to zero plugins, except BuddyPress. Changed to the BuddyBoss parent theme and Twenty Fifteen.