By the way, Im testing on BP Legacy, which BP theme are you using?
Hello…
I am using Menubar plugin to build a customize menu instead of the WordPress menu, because it gives me a perfect horizontal mobile responsive menu.
Problem is I have logic built in my function theme file that hide the registration menu when users are logged in and the logon menu is hidden when users are logged in.
I would like the actual navigation code links that BuddyPress uses for the Registration and Login Pages.
Thanks
Naomi
This is a general WP question and is not specific to BP.
There are many ways to do this – depending on your theme, your ability with code, etc.
There are some plugins that can help you.
We suggest you do a google search on your question without restricting it to BuddyPress and you will see thousands of results.
The theme we are using now is a bit old and I am wanting to go to Genesis framework and a good premium theme. Nothing really fancy.
Hi Tammy, These days most themes work with BuddyPress, although there can be occasional inconsistencies.
In general there are two types of themes, general themes not written specifically for BuddyPress these are typically free. There are also BP specific themes, often for a cost and written specifically with BP in mind.
Personally I use general themes and add the custom features I want. In the majority of cases you don’t actually need to do much customisation to get the site feel that you desire.
So really the decision is about the specific visual attributes of the theme as they apply to the site you want to create and for that only you know what you are looking for.
Which items are you referring to?
yes, nouveau, 4.2.0 with 2015 theme.
Which BP Theme are you using? BP Nouveau? ( Settings>>BuddyPress>>Options ).
Hi there,
What I was getting at earlier is that there’s a shortcode setting = view=”default” which should use the same css as the theme default, however I’ve just checked and in this context the only setting that seems to work is the default list view, so yes you are left having to undo the list css and turn it into a three column view.
I tried this which gave me a three column view, but not one that matched the one produced by nouveau:
.featured-members-list li {
overflow: auto;
list-style: none;
float: left;
width: 30%;
margin: 0 20px 28px 0;
border: 0;
}
Been looking in BuddyPress to see what CSS makes up the members list when it’s in three column mode but not found much so far.
With the BP Legacy theme the deault home page is that group activity page and members can post updates from there. With BP Nouveau this is also the default unless you configure it to have a home page. The default home page is blank and the idea is that you need to populate it with widgets or other means to add the content you want. What I usually do is add shortcodes that display the groups What’s New form ( for posting activity updates ) plus other shortcodes to display the activity updates and other group information. it’s why I created https://wordpress.org/plugins/bp-group-home-widgets to allow group managers to create their own group homepage content.
It’s the same behavior (format missing) after switching to other themes, like 2019. So it’s not an issue related to the theme.
Any idea where to check?
Thanks again
To determine if it is an issue related to your theme, please try switching momentarily to a WP theme like 2019 and then checking the registration page.
Please remember that you need to be logged out to see the register page.
Hi Venutius – Chrome was returning the following errors, and thus I’ve added each of those fields into your snippet (at bottom). And unfortunately it’s still not working (resulting Chrome errors are identical).
An invalid form control with name=’field_2′ is not focusable.
(index):1 An invalid form control with name=’field_15′ is not focusable.
(index):1 An invalid form control with name=’field_4′ is not focusable.
(index):1 An invalid form control with name=’field_6′ is not focusable.
(index):1 An invalid form control with name=’field_13′ is not focusable.
(index):1 An invalid form control with name=’field_7′ is not focusable.
(index):1 Unchecked runtime.lastError: The message port closed before a response was received.
Here’s what I added to my theme’s functions.php (and I am also using template Nouveau, btw):
add_action( 'bp_nouveau_get_signup_fields', 'venutius_remove_email_signup_field_required' );
function venutius_remove_email_signup_field_required( $fields ) {
$fields['field_2']['field_15']['field_4']['field_6']['field_13']['field_7']['required'] = false;
return $fields;
}
The submit button is still seeing the conditionally hidden required fields on my registration form (which are blank), and not letting the form to submit.
Do you see any issues with my customization to your snippet?
Thanks,
Sam
//Sorry if this is a duplicate post
You might have a conflict, try deactivating all other plugins apart from BuddyPress and switching to a default theme such as Twenty Seventeen then testing.
I’m using Rehub theme & latest version of BuddyPress but still, I can’t be to click over the status bar in activity, groups. I can’t be able to write anything & no post button is showing.
http://prnt.sc/ndgz2e
I’m facing the problem over the both mobile & desktop platform.
Please check the same over. https://www.paisowala.com/activity
Thank you.
It’s most likely your theme.
To find out, switch momentarily to a WP theme like 2019.
On BP Legacy and Noveau, the fields to the left under View Profile – Base are whited-out. I can see that there are descriptors, and if I highlight, I can read them, but otherwise, I cannot. Does this have something to do with my theme (Hestia) or is there a way I can change the text color? The details to the right are readable in black text, so it’s weird the stuff on the left isn’t. To clarify, I have no add-ons for BP.
I’ve been trying to follow examples to show social media fields as a linked icon for some time (including examples in this forum) and it just hasn’t been happening, and I dont know why.
For example, with facebook:
$fb_page = xprofile_get_field_data(‘Facebook’, $UserID);
if($fb_page) { ?>
< a href=”http:facebook.com/”<? php echo $fb_page ? >/” target=”_blank” title=”Facebook”>HI</ a> <? php
}
This code was just to test if I could even just hyperlink text to facebook.com. But it is not working. Instead, the following is output on the front:
myFacebook.Field/” target=”_blank” title=”Facebook”>HI
What is going wrong?
Wordpress:5.1.1
Buddypress: 4.2
theme: twentyseventeen
Great @shanebp this works!! =)
these is a custom shortcode from my theme.
You can use this filter hook:
apply_filters( 'bp_nouveau_get_groups_directory_nav_items', $nav_items );
Found in: buddypress\bp-templates\bp-nouveau\includes\groups\functions.php
You can definitely add a nav item with that hook.
And you should be able to reorder the existing items.
Take a look at the nav item structure:
function pp_groups_dir_nav ( $nav ) {
echo '<pre>'; var_dump( $nav ); echo '</pre>';
return $nav;
}
add_filter( 'bp_nouveau_get_groups_directory_nav_items', 'pp_groups_dir_nav' );
But you are writing a custom theme, so it would be easier to write a custom function to replace
function bp_nouveau_get_groups_directory_nav_items rather than filter the current output.
What I’ve been playing with is this placed in your child themes functions.php-
function bpex_execute_shortcode() {
if ( class_exists( 'BP_Featured_Members' ) ) {
echo do_shortcode( '[bp-featured-members]' );
}
}
add_action( 'bp_before_members_loop', 'bpex_execute_shortcode' );
But it’s not working. I’m sure you should be able to do aomething like that
There’s two locations for that text Anders depending on which BuddyPress theme you are using. there’s:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/data.php on line 49.
and there’s wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/data.php also on line 49.
Do you think it’s missing from your countries translation file?
Oh you want to display something actually in the field loop, here’s the hook for that – bp_profile_field_item
That’s all the hooks on that page. If you want to do something different to that then you would probably need to overload the profile-loop.php template file. it’s in plugins/buddypress/bp-templates/your-bp-theme/members/single/profile/profile-loop.php. You’d edit a copy of that then put it in themes/your-child-theme/buddypress/members/single/profile
How Well Do Buddypress Work in Divi Theme
Have you tried deactivating all other plugins and using a default theme such as 2017?
I’ve not seen a support thread involving bp-default in years, I generally recommend testing with a WordPress default theme such as 2019 or 2017. I’ve not seen anything to say you shouldn’t use it but I think if you do then you will be in an elite club.