Search Results for 'change buddypress menu'
-
Search Results
-
Topic: Searching menu link file
Hi i need to change the wording to the menu links within the buddypress groups. Ive been searching for hours and know could be hours and hours more so any help is very much appreciated. thanks
Topic: BP and PMPro
Hi,
Praying someone in this community may be able to assist with two issues.
1. I’m currently using BuddyPress combined with PMPro to charge members for access to a network, through the BuddyBoss ‘Boss’ theme ( https://thesmallbrandnetwork.com/ ). As such, for registration, I need new members to be processed through the PMPro checkout process, NOT able to join via the standard BP/WP signup form. I know at first this might sound like something that has been asked too many times, but I believe what I want to do differs from previous problems. When you view the site logged out/as a non member, there is a “Register” button and “Login” Button (from BP). What I need is for this “Register” button from to act the same way as the “Join” page that I have added into the title-bar menu. Despite my best efforts and countless hours of research, the BP “Register” continues to eventually redirect to the standard WP/BP signup.
I am relatively fresh still to coding with WP, thus am using the “My Custom Functions” plugin. If any code could be added through this plugin, that would be great!
2. How would change the BP “Register” button from “Register” to “Join”?
Any support for the above two problems would be massively appreciated.
Also, apologies if this has in fact been discussed before.
Thanks,
Matt
Hello,
First of all here is my config:
Server vps ssd 8GB ram 3×3.7 ghz apache
Wordpress 4.8.1
Theme Responsive free 2.9Plugins :
Wp rocket cache
Buddypress 2.9
Admin custom login
Advanced ads pro
Responsive menu pro
Ban Hammer
Bp profile search
Buddypress activity shortcode
Buddypress like
Wp foro
Google analytics dashboard
Iq block country
Newsletter
Plugin business directory
Redirection
Secupress
Social Plug
Strong testimonials
Table of content plus
Wordpress database backup
Wp asset cleanup
Wp excerpt generator
Wp testing
Yoast seoDatabase SQL manage on phpmyadmin; modify :
max connection = 502
timeout = 69
table open cache = 71144
max heap table size = 3G
tmp table size = 3G
allowed pack 1 000 000
open files limit = 150 000
myisam_sort_buffer_size = 72M
read_rnd_buffer_size = 24M
join_buffer_size = 32M
query_prealloc_size = 65K
query_alloc_block_size = 128K
table_definition_cache = 71144
thread_stack = 512K
thread_concurrency = 28
read_buffer_size = 36M
query cache min res unit = 512
bulk insert buffer size = 72M
thread_cache_size = 16K
query_cache_limit = 512M
innodb_buffer_pool_size = 3G
query_cache_size= 512M
innodb_log_buffer_size = 32M
sort_buffer_size = 192M
innodb_read_io_threads = 12
innodb_write_io_threads = 12?
innodb_open_files = 1200Members on my buddypress : 1300
monthly visitors : 100 000
monthly pages views : 200 000For several months now, I have activities that disappear completely from my database !!! I checked all the plugins, in case there was a conflict, but everything is ok. So I changed the table type from my MYISAM database to INNODB, but that still has not solved the problem. Same, I have changed many times some sql varibals in phpmyadmin, but nothing works. I also tried the data recovery via the buddypress dashboard, but it does not help! Activities disappear when some members are very active. Bizarre ??? !! So, if people have the solution to my problem, thank you for telling me what to change. Thank you !
Topic: Child Theme template changes
Hello! I have a Genesis Child Theme, I have added the folder structure from templates in the buddypress plugin, in this form, (in root of child theme: buddypress, groups, single, group-header.php. When I change out some code on thae group-header.php, nothing changes on the site.
I wanted to replace the <h2></h2> with <p></p> in these two places:
<?php if ( bp_group_is_visible() ) : ?><h2><?php _e( ‘Group Admins’, ‘buddypress’ ); ?></h2>
<?php bp_group_list_admins();
AND
do_action( ‘bp_before_group_menu_mods’ ); ?><h2><?php _e( ‘Group Mods’ , ‘buddypress’ ); ?></h2>
<?php bp_group_list_mods();
with :
<?php if ( bp_group_is_visible() ) : ?><p>Service Providers with a Background Check display the Shield icon </p>
AND
<?php bp_group_list_admins();
do_action( ‘bp_before_group_menu_mods’ ); ?>
<p>Service Providers with a Background Check display the Shield icon </p>
and I do not see any change, http://www.choresolution.com/groups/caregivers/
Oh my god right now…I just spent about 6 hours and visited just about every single page with codes and css to get ride of some of my profile links/tab things….broke my site at least one time…but FINALLY I have the solution so I am posting it here for the other poor souls like myself…you’re welcome.
He uses CSS and its perfect and simple and doesn’t give 505 codes :/…
a#user-settings, a#user-friends, a#user-groups{ display:none !important;}
He also gives another way to do it permanently but we have decided to leave our functions folder alone for at least 48 hours…BTW…when you are editing for buddypress, which functions.php do you edit? Do you edit the theme functions or the wordpress functions or the buddypress functions…because at least one other site said the theme function, but if you change your theme, you obviously lose the fix.The other sites didn’t specify…so I’d appreciate that tip off if anyone knows..k great thanx :).
HI,
I would like to change the items names in the groups navigation menu? I’ve read that you can do that with the Navigation API, but, where do I find this?Wordpress: 4.7.5
buddypress: 2.8.2Thanks
I administer two social sites and both are asking of there is any way to remove notifications of people joining the group and who made friends with whom… It is plugging up the group notification area and users are getting annoyed.
I have searched for appropriate plugins and found a few but all are depreciated and mess up the site.
Wordpress 4.7.3
Buddypress 2.8.2
Bbpress 2.5.12I found a code hack for the functions.php but it can’t be used in the child “guideline” theme. When added to the child, I lose admin pages. code snippet below
// Remove (hide) various activities from streams.
function my_hidden_activities($a, $activities) {
//if admin we want to know
//if (is_site_admin())
// return $activities;$nothanks = array(“new_blog_post”, “created_group”, “joined_group”, “new_member”, “friendship_created”, “activity_liked”);
foreach ($activities->activities as $key => $activity) {
if (in_array($activity->type, $nothanks, true)) {
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’, ‘my_hidden_activities’, 10, 2 );The author suggests adding to functions.php but without using the child theme the code would be lost after an update. It also broke the site… Even after reverting the changes, the menu and page formatting was gone.
Is there any way that is up to date to filter what activity is reported on the group wall?
Hey guys,
first of all, awesome forum! I’ve already solved so many of my issues simply by reading the many helpful answers – hence never had the need to post anything myself, but now I’m a bit stuck.
Here’s what I wanted to do: Put a new profile group in a separate bp profile menu tab and make it visible to both, logged in as well as logged out users. Now, it works perfectly fine, except for the fact that logged out users for some reason get to see my personal profile group under my custom tab instead of the new profile group – which is displayed correctly for me as well as other logged in users.
Here’s my code:
/** BP Profile Tab Visibility */ function bpfr_hide_top_nav() { if( !is_user_logged_in() ) { // bp topnav items to hide bp_core_remove_nav_item( 'activity' ); bp_core_remove_nav_item( 'friends' ); bp_core_remove_nav_item( 'groups' ); bp_core_remove_nav_item( 'forums' ); bp_core_remove_nav_item( 'media' ); bp_core_remove_nav_item( 'docs' ); bp_core_remove_nav_item( 'location' ); //bp subnav (my activities, my groups, etc) bp_core_remove_subnav_item( 'activity', 'activity' ); bp_core_remove_subnav_item( 'activity', 'friends' ); bp_core_remove_subnav_item( 'activity', 'favorites' ); bp_core_remove_subnav_item( 'activity', 'groups' ); bp_core_remove_subnav_item( 'activity', 'mentions' ); bp_core_remove_subnav_item( 'activity', 'media' ); bp_core_remove_subnav_item( 'activity', 'docs' ); bp_core_remove_subnav_item( 'activity', 'comments' ); } } add_action( 'bp_ready', 'bpfr_hide_top_nav', 10 ); /** BP Tab Order Profile and Tab Rename */ function bpex_primary_nav_tabs_position() { buddypress()->members->nav->edit_nav( array( 'position' => 2, ), 'activity' ); buddypress()->members->nav->edit_nav( array( 'position' => 1, ), 'profile' ); buddypress()->members->nav->edit_nav( array( 'position' => 3, ), 'messages' ); buddypress()->members->nav->edit_nav( array( 'position' => 4, ), 'notifications' ); buddypress()->members->nav->edit_nav( array( 'position' => 5, ), 'friends' ); buddypress()->members->nav->edit_nav( array( 'position' => 6, ), 'groups' ); buddypress()->members->nav->edit_nav( array( 'position' => 7, ), 'forums' ); buddypress()->members->nav->edit_nav( array( 'position' => 8, ), 'criticalreview' ); buddypress()->members->nav->edit_nav( array( 'position' => 9, ), 'docs' ); buddypress()->members->nav->edit_nav( array( 'position' => 10, ), 'media' ); buddypress()->members->nav->edit_nav( array( 'position' => 11, ), 'location' ); buddypress()->members->nav->edit_nav( array( 'position' => 12, ), 'orders' ); buddypress()->members->nav->edit_nav( array( 'position' => 13, ), 'settings' ); } add_action( 'bp_setup_nav', 'bpex_primary_nav_tabs_position', 999 ); /** Put Critical Review Profile Group in BP Tab */ function buddydev_modifyy_user_profile_tab() { bp_core_new_nav_item( array( 'name' => 'Critical Review', 'slug' => 'criticalreview', 'screen_function' => 'buddydev_screen_profile_data', 'default_subnav_slug' => 'criticalreview-sub', 'show_for_displayed_user' => true, )); } add_action( 'bp_setup_nav', 'buddydev_modifyy_user_profile_tab', 8 ); function buddydev_screen_profile_data() { //filter loop add_filter( 'bp_after_has_profile_parse_args', 'buddydev_filter_args_for_profile_group' ); //load loop add_action( 'bp_template_content', 'buddydev_show_profile_group_data'); bp_core_load_template( 'members/single/plugins'); } function buddydev_filter_args_for_profile_group( $args ) { ///CHANGE IT $args['profile_group_id'] = '6'; //Your Profile Group ID Here return $args; } //Load the loop function buddydev_show_profile_group_data() { $profileslug = bp_get_profile_slug(); // if ( bp_is_my_profile() ) : // echo "Edit under Profile"; // endif; bp_get_template_part( 'members/single/profile/profile-loop' ); } function hide_profile_group( $grpid ) { if ( is_user_logged_in() && !bp_is_profile_edit() ) { $myfield = xprofile_get_field_data( 'Critical Review' ); $grpid['exclude_groups'] = '6'; } return $grpid; } add_filter( 'bp_after_has_profile_parse_args', 'hide_profile_group' );
A few comments:
Most of the essential code is based on this threat. I am not really a coder myself, but usually I understand what the functions are doing.
For now I commented `// if ( bp_is_my_profile() ) :
// echo “Edit under Profile”;
// endif;` out, because if I leave it in, for some reason then also logged-in users only see the personal profile group instead of the Critical Review one?!Also, I’m not entirely sure about the use of the last function and its use / relevance, because it doesn’t seem to affect anything. This might however have to do with the fact that in order to avoid duplication of the Critical Review profile group under the actual profile tab, I’ve hidden the profile group via CSS.
Finally, I’m running the latest WP and BP installs and you can have a look at the described behavior here. Interestingly, as you can see in this instance, the profile fields are actually adjusted to my CSS for the Critical Review profiles group – but the actual content doesn’t show correctly.
Now, if any of you could help me out, I would highly appreciate it!
Thank you so much in advance! 🙂
Topic: Add Profile Link to Menu?
Hey,
This sounds really basic but for some reason I cant add a link to the users profile in my menu. I would like to have it on the right side of page with the login / logout but cant seem to get it there. Ive used BuddyPress before and I had links in my Appearance > Menus for “Profile” and that was perfect. I know this would be my link /members/admin/ but every profile changes per account. I saw some forms that had a php code but I have no idea where I would add that.Thank you for the help!
Hello,
I’m so sorry to ask, and I’ve tried so hard to get to the bottom of this myself. I’ve come to the end of my knowledge and our site is launching tomorrow.
Background – I work for a charity which puts older people in schools to help with reading. We’re poorly funded, and creation of the site has fallen to me. As our audience is older people, often reluctant with new technology, I need this to be as user friendly as possible.
I’m running latest version of WordPress, latest BuddyPress, with ColorMag as a theme (I have a child theme running)
My problem is the groups page – it’s not presently as clearly as I’d like. My weak spot is CSS, I’m a bit clueless.
When I go onto the page – the text for Group Admins/Group Mods is massive, meaning the user need to scroll down to see the content for the group. I’ve used an element inspector and I can see its H2, but where to change it and how? It’s way out of proportion.
The other thing on my wish list, is to add a colour behind the group menu (Home/Forum/Members etc) – I’d like this to appear as a nav bar, to make it clearer, but I don’t know how.
I would so appreciate some help. We’re on such a shoe-string that development ust fall to little old me, and although I’ve done pretty well so far, I’m stumped. I’ve searched and fiddled with it to no avail.
Thanks so much in advance for any pointers.
Hia, wanted to let you know that tonight my site went down and I lost all access to the WP admin due to BuddyPress. I was getting the below fatal error in the admin panel and the home page was getting a 500 error.
Fatal error: Uncaught Error: [] operator not supported for strings in /home/mysite/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php:281 Stack trace: #0 /home/mysite/public_html/wp-includes/class-wp-hook.php(298): BP_Activity_Component->setup_admin_bar(”) #1 /home/mysite/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/mysite/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/mysite/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(143): do_action(‘bp_setup_admin_…’) #4 /home/mysite/public_html/wp-includes/class-wp-hook.php(298): bp_setup_admin_bar(Object(WP_Admin_Bar)) #5 /home/mysite/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /home/mysite/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #7 /home/mysite/public_html/wp-includes/admin-bar.php(83): do_action_ref_array(‘admin_bar_menu’, Array) #8 /home/mysite in /home/mysite/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php on line 281
SITEGROUND TECHNICAL SUPPORT REPORT:
I am glad to inform you I have resolved the issue. The plugin buddypress is not compatible to work with the PHP version 7.1 and caused the above mention error. In order to have this solved, I changed the PHP version to 5.6 by using the following .htaccess handler:Code:
AddHandler application/x-httpd-php56 .php .php5 .php4 .php3Is there a plan to make buddy press 7.1PHP compliant? I really don’t like the idea of having to roll back to 5.6 to accommodate. Any idea when BuddyPress will be updated?
Thanks so much! 🙂
I need help and although I have 2 domains once .com and .de. These two sides I have installed on my Websever in 2 different folders and installed both the same plugins. I would like to have a possibility to connect both sides. So the buddypress on both sides the same user possesses however one one on .de or .com in the profile go can be without the buddypress only over one domain is callable.
The problem I had namely with the test it as multisite run. There buddypress was then only over the main page, ie the first page attainable and the subdomain which I had with a plugin on .de changed had no buddypress profile.I would like to have the profile with the .de or .com menu bar on top and thus the profiles have to be retrievable on both sides. Is there such a possibility
Hello
How can I change the BuddyPress menu (home, forum, groups, …)thank you