Hi,
If you will try group creation with the default theme it works perfectly. So, this might be an issue with the theme or any third party plugin.
Thanks
I recently installed the WOffice theme. I have allowed group creation and see “Groups” in the WP Dashboard menu. However when I click on it I get an empty table and no option to create a group in either the back-end or the front-end.
This may be an issue with BP installation, but I have not been able to find a fix.
Any help would be most appreciated!
Thanks,
Tony
Greetings!
I’m using Buddypress 3.2.0 in KLEO Theme on WordPress 4.9.8.
I have an issue that appears every time when someone tries to register on my website: after completing the registration fields and hitting “Sign Up” button, the page refreshes and the process isn’t done properly.
Sometimes the process is working: I can create an account but after that the issue appears again. It is like a 1/10 chance for the process to be done succesfully.
I searched on the forum’s topics related to this question but I couldn’t find something to work and solve the problem for me.
*I’m running a single-site.
*My bp file in directory is named: “BuddyPress”
Any ideas? I really hope you can help me!
Cheers!
Whenever I try to create a group within my site, I get logged out.
I’ve tried removing plugins, removing the theme, updating plugins and themes but I still get the same issue.
I’ve replicated the base of my site on another WordPress instance and that works as much as I can create groups fine.
What can I do to fix this issue, please?
EDIT: I’m using WordPress 4.9.8, BuddyPress 3.2 (latest version) on a localhost site running MAMP
Please put this code https://pastebin.com/h6hCidML in child theme’s functions.php or use code snippets plugin to add new snippet and then there add this code.
Thanks
Hi,
The article has mentioned everything there. Please take a backup before doing so. The theme depends on your need, compare the features and buy one. Kleo, BuddyBoss is one of the best BuddyPress themes.
Thanks
Thanks a lot. Is it a secure way to implement two themes?
Other question, which theme do you advice to work best for BuddyPress?
Thanks again
Hi,
yeah, also checked the themes. Didn’t find anything.
Hi,
Instead of the plugin, have you checked in your active theme? This might be there as well if you have BuddyPress based theme.
It’s strange. Anything after 10 should work.
yes, is almost same(I simply removed the admin check as it was not needed in this case).
I tried the code in bp-custom.php and it is working with the default theme.
Are you using some custom theme?
I want to dequeue, or override, the bp-nouveau stylesheet. I have tried:
function dequeue_buddypress() {
if (!is_admin()) {
wp_dequeue_style('bp-nouveau');
wp_deregister_style('bp-nouveau');
}
}
add_action('wp_enqueue_scripts', 'dequeue_buddypress', 1);
Have also played with priorities from 1 to 99 and tried the handle bp-nouveau-css.
as well as trying to override the css in the theme but neither has worked.
Anyone know how I can get the bp-nouveau css to dequeue?
Thank you. The problem is not in my understanding.
Because the professionals (creators of the theme) tell that the problem in buddypress core.
Mobile view. Small avatar size in cropping. Not correct button.
Hi,
Which theme you are using?
I have just checked it with the default theme twenty seventeen and it is working fine there. Please see: https://prnt.sc/l7mp20
Thanks
Hi,
Please put this snippet in your child theme’s functions.php:
function ps_rename_group_tabs() {
if ( ! bp_is_group() ) {
return;
}
buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Activity', 'buddypress' ) ), 'home', bp_current_item() );
}
add_action( 'bp_actions', 'ps_rename_group_tabs' );
Hopefully, it will help you.
Thanks
You can put that in child theme’s functions.php file or you can use this plugin https://wordpress.org/plugins/code-snippets/ to add a new snippet.
Thanks
I can’t really recall other than setup caching but o have since deactivated it. I will try default theme.
Hi @shanebp
Thanks for your recommandations, you’re right.
I’ve made it working by putting my snippet in bp-custom.php like this:
/**
* Buddypress template stack adaptation for Blade Sage.io templating
* @link
* example @link http://www.generalthreat.com/2013/08/grappling-with-bp-theme-compatibility/
*
* initial one was :
* /app/public/app/themes/sage/resources/buddypress
*/
// will return something like '/app/public/app/themes/sage/resources/views';
function md_bp_blade_register_template_location() {
// return STYLESHEETPATH . '/views/buddypress/';
return TEMPLATEPATH . '/views';
}
// replace bp template parts syntaxe with the template overload from sage Blade types
// see: http://hookr.io/functions/bp_get_template_part/
function md_blade_replace_template( $templates, $slug, $name ) {
// Overload the bp template
$templates = array(); // empty it
if ( isset( $name ) ) {
$templates[] = $slug . '-' . $name . '.blade.php';
}
else {
$templates[] = $slug . '.blade.php';
}
//print_r($templates);
return $templates;
}
add_action( 'bp_init', function () {
//error_log("bp init loaded");
// custom url stacks for blade '/views' folder
// working but Blade Syntax is not interpreted ...
if( function_exists( 'bp_register_template_stack' ) ) {
bp_register_template_stack( 'md_bp_blade_register_template_location', 1 );
}
// we also have to filter the render file extension (.blade.php)
// for Buddypress components tpl parts
add_filter( 'bp_get_template_part', 'md_blade_replace_template', 10, 3 );
// http://buddypress.wp-a2z.org/oik_api/bp_locate_template/
//add_action( 'bp_locate_template', 'md_blade_locate_template', 1, 6);
});
But this technique doesn’t work with bp ajax for example when bp groups loop is reloaded with ajax
I’m sure there is something to do with bp_locate_template() or bp_locate_template_and_load()
to inject correctly my buddypress templates in the_content from mytheme/resources/views/buddypress (instead of mytheme/resources/buddypress/)
By the way i’m using the Sage starter theme https://roots.io/sage/
Any idea?
Hi,
After seeing the video it seems like you are getting that link from this file: buddypress\bp-themes\bp-default\members\single\messages\single.php and code is <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
Also please let me know which template you are using?
Thanks
Hi,
What is the last action you did before seeing this? Also please check it once with the default theme.
Thanks
I have tested with the default theme and it seems all fine. Please test once with the default theme and if it is working for you please report it to your theme vendors.
Thanks
You can go with the above solution or can install this plugin https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/ and then try to upload the zip of BuddyPress plugin.
Thanks
add_action( 'pre_get_posts', 'ps_bp_doc_search' );
function ps_bp_doc_search( $query ) {
if ( $query->is_search ) {
$query->set( 'post_type', array( 'post', 'page', 'bp_doc') );
}
}
Please paste this function in your child theme’s functions.php. If there is no child theme then can use code snippets plugin https://wordpress.org/plugins/code-snippets/ to paste this snippet.
Hopefully, this will help you.
Thanks