I’ve edited the code:
function my_setup_nav() {
global $bp;
bp_core_new_nav_item( array(
'name' => __( 'My Page', 'buddypress' ),
'slug' => 'my-page',
'position' => 70,
'screen_function' => 'my_page_template'
) );
}
add_action( 'bp_setup_nav', 'my_setup_nav' );
function my_page_template() {
bp_core_load_template( 'my-page-template.php' );
}
Where I have to safe the “my-page-template.php”? I use a wordpress childtheme with included folder buddypress. Do I have to write some special informations within the my-page-template.php or is it enough to insert the shortcode?
actually the link from profile menu “my page” links to members overview page what not should be. it should linked to the my-page-template.php.
thanks
@superpuperlesha,
please, never publish username and password or any ftp crendetials when you’re not asked for.
(i removed them)
Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.
Did you allowed search engines (wp settings) ?
Are users allowed to comment (wp settings) ?
Is activity component enabled (bp settings) ?
Do you have an “activity” page ?
Are pretty permalinks enabled ?
More infos ? Read here:
Getting Started
So we’re using the “BuddyPress Group Email Subscription” plugin, and are experiencing a bottleneck when members submit a reply to a topic within a BP group. It can take 15-30 seconds for the reply to finish, from the moment of clicking “reply” to page reload.
Looks like this is because the reply doesn’t finish posting until all notification emails are composed and sent. There’s a plugin to solve this for bbpress (AsynCRONous bbPress Subscriptions), but nothing I can find to solve the problem when it’s the BP email sending routine that’s being used.
Does anyone have a solution to eliminate the slow reply issue here? We want to continue using the subscriptions plugin for several other reasons, so eliminating it isn’t the solution we’re looking for.
Thanks for the help.
Plugin we’re using: https://wordpress.org/plugins/buddypress-group-email-subscription/
Other info:
WP version 4.7
PHP version 5.6.28
Active Plugins
– p1 Adminimize 1.11.2
– p2 Akismet 3.2
– p3 All In One SEO Pack 2.3.11.1
– p4 bbP Toolkit 1.0.6
– p5 bbPress 2.6-alpha
– p6 Better Notifications for WordPress 1.6
– p7 BP Registration Options 4.3.0
– p8 BuddyPress Group Email Subscription 3.7.0
– p9 BuddyPress Sitewide Activity Widget 1.3.2
– p10 BuddyPress 2.7.3
– p11 Contact Form 7 4.6
– p12 Goodnews Shortcodes editor 1.0
– p13 Google XML Sitemaps 4.0.8
– p14 Header and Footer 2.0.3
– p15 TinyMCE Advanced 4.4.1
– p16 User Role Editor 4.31
– p17 WP-Mail-SMTP 0.10.1
– p18 WP Super Cache 1.4.8
buddypress Version 2.7.3
Wordpress Version 4.7
Changed password, click save.
Logout try new password… not working.
Use old password to log in.
I accidentally deleted the Activation page after installing the BuddyPress plug-in. Reinstalling it wont fix the problem and it keeps saying the ‘Activation’ requires a page. How do i fix that?
Hi! I’m looking for the way I could export each user registration to a Google spreadsheet. I mean, I want that, when a new user register in the web, a new line be added to a Google spreadsheet automaticly.
Thanks!
Hi, I am currently creating a site and I need and Event Plugin that enables members to create their own personal events, share/invite with friends, organise them, has a calendar view that includes their own events and their friends events, keeps a history of all events in an organisable archive and preferable let comments and pictures be attached to events.
Can anyone suggest the most suitable plugin, buddypress has many but I need to know which one is the best to pick and use?
Many thanks all
Lance
@danbp
Hi!
Can you help me?
How I can hide super admin’s vcard from BuddyPress Widgets??
Your code only hide super admin from members and activity…
// Deny access to admins profile. User is redirected to the homepage
function bpfr_hide_admins_profile() {
global $bp;
if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
wp_redirect( home_url() );
exit;
endif;
}
add_action( ‘wp’, ‘bpfr_hide_admins_profile’, 1 );
// Hide admin’s activities from all activity feeds
function bpfr_hide_admin_activity( $a, $activities ) {
// … but allow admin to see his activities!
if ( is_site_admin() )
return $activities;
foreach ( $activities->activities as $key => $activity ) {
// ID’s to exclude, separated by commas. ID 1 is always the superadmin
if ( $activity->user_id == 1 ) {
unset( $activities->activities[$key] );
$activities->activity_count = $activities->activity_count-1;
$activities->total_activity_count = $activities->total_activity_count-1;
$activities->pag_num = $activities->pag_num -1;
}
}
// Renumber the array keys to account for missing items
$activities_new = array_values( $activities->activities );
$activities->activities = $activities_new;
return $activities;
}
add_action( ‘bp_has_activities’, ‘bpfr_hide_admin_activity’, 10, 2 );
// Remove admin from the member directory
function bpdev_exclude_users($qs=false,$object=false){
$excluded_user=’1′; // Id’s to remove, separated by comma
if($object != ‘members’ && $object != ‘friends’)// hide admin to members & friends
return $qs;
$args=wp_parse_args($qs);
if(!empty($args[‘user_id’]))
return $qs;
if(!empty($args[‘exclude’]))
$args[‘exclude’] = $args[‘exclude’].’,’.$excluded_user;
else
$args[‘exclude’] = $excluded_user;
$qs = build_query($args);
return $qs;
}
add_action(‘bp_ajax_querystring’,’bpdev_exclude_users’,20,2);
// once admin is removed, we must recount the members !
function bpfr_hide_get_total_filter($count){
return $count-1;
}
add_filter(‘bp_get_total_member_count’,’bpfr_hide_get_total_filter’);
Hi,
BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.
Update from the Trac ticket
BuddyPress uses a different hook name, but it should do the same thing. Try: bp_embed_oembed_html.
Thanks to @r-a-y for the info.
Change your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.
When you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme
When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).
If you have plugins, you test’em the same way.
For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.
The Update form used for Site, Members and Group activities is in
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php
In this file you can see the div’s name, class, ID. Search for them in your theme style.css.
DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.
Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.
I have a buddypress site built 4 years ago, and am using BP Group Hierarchy plugin. We updated the theme recently to https://seventhqueen.com/themes/kleo/ and buddypress to 2.7. All good, only the BP plugin, because its not been udates for 3 years works… but does not let new sub groups appear in the sub groups. So… does not work. So, what are my optoins? Dump the plugin and use a different one? I can’t find an alternative to BP Group Hierarchy plugin. Why its not built into the lastest versoin on Buddypress I don’t know. So is the only way to do it is to get my developer to write code and update the plugin? I have 1000s of groups and 10s of thousands of members http://www.workingtraveller.com/skills so hard to not igrnore the problem.
Any ideas on how to make it work, or alternative plugins that will deal with the problem?
If you use standard buddypress css, you have nothing to do. but if you have create an folder buddypress/css/buddypress.css within your childtheme folder, you have to define some css styles.
Best
Pare
Hello.
I have Woffice theme with BuddyPress.
Site:http://mykenz.info
New registered users (on site registered form) can not add any posts in NEWSFEED.
They have message “there was a problem posting your update please try again”
But users with Facebook have permission to add posts.
Help please.
Hi,
please read the woocommerce documentation. BuddyPress doesn’t use an “order” tab.
Read here BP’s navigation documentation:
Navigation API
Hi, I using buddypress & woocomerce plugin.
If I going to my profile menu, I can see the tab menu
profile / friends / products / orders / reviews
Here, I want remove the orders tab.
How do I fix?
The logout link is created on ~Line 84 of this file:
buddypress\bp-core\classes\class-bp-core-login-widget.php
You need to change the bp_get_requested_url() to site_url()
<a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>">
However, hacking core files is not recommended.
The proper approach is to create your own widget and make the changes in your widget.
If you decide to write your own widget, also take a look at this file:
buddypress\bp-core\bp-core-widgets.php
i want to know how to redirect all the notification of buddy press for a specific url , not the default url like site.com/memberes/id-user/notification-id/…. because when i click on a specific notification i get only empty page .thks
I’m looking for a plugin that will add a simple “like button” for topic replies (that must work within buddypress group forums), but am having no luck on that front without paying for a plugin. This one is the only one I’ve found that works, but the free version only allows 1 button per page. https://wordpress.org/plugins/likebtn-like-button/
Does anyone know of any other plugins that can accomplish this, or any other solutions?
How can I disable post update for members? I don’t want members on my site to be able to post their own. I am the only one who can post on the forum. Please help. Thank you
Wordpress – Version 4.7
BuddyPress – Version 2.7.3
Theme – Beat Mix Lite
I looked into this a while ago. I don’t know if any plugins have provided it — if so, the code will be hacky — because achieving this requires changing some data storage we do in BuddyPress, which is a bit of a complicated issue to resolve well.
The situation is BuddyPress is incompatible with PHP 7.1 as things stand. One issue means a fix in BuddyPress (which we’ve already fixed, and will have out in a release soon, but probably after Christmas), and the other issue I’ve found (which BP sites have a realistic site of running into) require a fix in WordPress, which I hope that team will get done for WP 4.7.1.
Can you please let me know if there is any way to stop template notices such as “Friendship Requested” when I click on “Add Friend” icon on Buddypress avatar hover plugin(https://en-gb.wordpress.org/plugins/bp-avatar-hover/)?
Also, is it possible to stop template notice when someone click on “Cancel Friendship”.
Thank you.