At the bottom of the file replace
`
Thanks again @etivite indeed creating a new MySQL Query was a better option than trying to loop through the array and extract the data. A simple get_var query allowed us to pull the first primary group that the member was an administrator of and that did the trick.
I appreciate the help!
@ewebber What type of hosting environment are you in?
If in a shared hosting environment, it could be that your web hosting provider is simply limiting the amount of memory that can be used by a single script. If this is the case, increasing the memory that WordPress can use won’t have too much effect as you’ll still be limited by your providers software configuration.
From my experience, most shared hosting providers limit memory to 32MB (some less…). With WordPress really working best with 64MB+, if this is the case, you’ll run into these errors quite often.
@etivite I have a question, what if I wanted to combine some of the steps into like one or two steps, instead of having a screen for each step. you know? like having details, invites, slug, etc. on one step. i would say the avatar, but the upload and crop have 2 diff screens, and im not sure how difficult that would be to combine. ive been googling this for about 6 hours lol. Any ideas?
Hi mercime
Thanks for replying.
I have the latest BuddyPress installed-it activated alright from my dashboard (BP1.5.1).
I had to hand code some of my theme to make it BP compatible (you helped me).
I am running WP multisite
Re sitewide forums I have only tried adding one forum.
Why is my forum at
http://richard-dickinson.com/forums/forum/rhdwponlinetwist_forum-4-netnewbies/
not showing?
Most grateful for your further help-many thanks
Hi
Are you using the demo theme that comes with BuddyPress, or your own theme? If it’s not BP-Default, you can check out and play with a test site at http://testbp.org
For starters, you’ll need to switch from the buddybar to the wp admin bar. To do this in 1.5, set this in wp-config.php:
define(‘BP_USE_WP_ADMIN_BAR’, true);
In wp-admin, in the BuddyPress > Components menu, just make sure that the Activity component is enabled and the Friends component is disabled. Anything else beyond that might need you to customise your theme.
Hey Guys,
I am having trouble with the @gregfielding technique. I’ve tried the 3 steps of getting the form on the home page but i simply receive a: HTTP Error 500 (Internal Server Error). I am using the buddyboss template. Any ideas?
Currenty I have copied the HTML from mywebsite.com/regiser and I am using the form along with the form tag:
<form action="” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>
When the form is submitted I am taken to mywebsite.com/regiser and I receive this error:
“Are you sure you want to do this?
Please try again.”
With the ‘Please Try Again’ Linking back to the home page.
Any idea how I can resolve either ?!
Thank you mercime. You’ve got me part of the way there. The buddypress pages are now just aligned a little to far to the left and the sidebar widgets are overlaying the pages. Can you give me a hint on how to move the content over about 20px to the left and what to do about the overlaying sidebar widgets?
BTW. I don’t have any widgets in the buddypress sidebars, so they must be coming from the theme’s default widget area’s.
Thanks for the help you’ve provided already. I appreciate it greatly.
@loudrake first, what theme are you using? If you have a WP theme and used the BP Template Pack plugin, which method did you use to make your WP theme compatible with BP – 1st method which changes more than a dozen BP template files or the 2nd method using header-/sidebar-buddypress.php?
All probability is that you’re used the first method and missed replacing the divs in all the required BP template files as listed here https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#tplfiles
@suziwilson congratulations on your pastebin post 
To make sure that your code shows up in this forum, place backtick (`) the symbol within the parentheses at the beginning and at the end of your code. For long/big blocks of code, pastebin is better.
` `
We’ll be using the first method to make your WP theme compatible with BuddyPress – changing HTML structure in 16 BP template files transferred to your Listings theme folder in server during the BP Compatibility Process. Download the 6 BP folders transferred to your Listings theme during the process.
Starting with activity/index.php At the top of the file, replace
`
with
`
At the bottom of the file replace
`
`
with
`
`
Save file. Then do this with the remaining 15 files except for registration/register.php where at the very bottom, you replace
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});
`
with
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});
`
Save. Upload to server.
` `
You would still have some minor tweaks to the styles within the template. I’ve posted the tweaks used in some themes near middle of this page https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/
@mercime I tested what you suggested here. I discovered that if i just removed the two lines that stated here that the second nav is removed. This is perfect but if I add custom links I have two problems.
1) I can only add the new custom links to the beginning of the of the unordered list.
2) Of course the css selection does not work.
How do I fix this below is the code:
`
<li class=”selected”><a href="” title=””>
<li class=”selected”>
<a href="//” title=””>
<li class=”selected”>
<a href="//” title=””>
<li class=”selected”>
<a href="//” title=””>
<li class=”selected”>
<a href="//” title=””>
<li class=”selected”>
<a href="//” title=””>
<!– #REMOVED PHP SCRIPT
and
–>
`
Please advise…
Hey modemlooper, I tried the line of code: bp_member_profile_data( ‘field=the field name’ );
but it simply puts the line of code as text onto my groups page. is this because the data is in the members loop but not available in the groups loop?
EDIT:
I found a way to do it here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-in-members-list-on-groups-page/
the code used was this:
<?php $location = xprofile_get_field_data('Location', bp_get_group_member_id());
if(!empty($location)) : ?>
Then it might not be the BuddyPress plugin causing the problem. Access your web server’s error log, and tell us what the error is. If you’re unable / don’t know how to do this, ask your web host for support.
Thanks @etivite
What if all I need to do is a check to see if the member is a group admin, is there a better way to do just that? I essentially just need to know if the conditional is true or false. If the member is an admin, we’ll run the code, if they aren’t, then nothing is ran.
Edit: Forgot to add that we don’t have the Group ID to use on-hand. We are running this check in the footer template file, but it’s only being ran on the profile page(s).
Single WordPress Version 3.2.1. Buddypress 1.5.1. I’m using my own theme which is a child theme of the default Buddypress theme.
Hi Buddypress Team,
I’m seeking technical advice for only ONE item… the rest is ‘in the bag’
I’m using Buddypress with the Fishbook theme & WordPress MultiSite. I’m trying to display one custom header for each blogs/sites (located in subfolders). After tweaking around for 2 day with style.css & header.php (with horrific results – like 2 headers showing at once, or none at all), now I think it’s time to seek advice!
My attempts were made using the plugin “Dynamic Headers by Nicasio Design”), but Murphy’s Law doesn’t seem to be on my side for this one. OR, am I using the wrong plugin?
Regards,
Peter
Sitewide Forums implemented via bbPress
https://bbpress.org/documentation/
https://bbpress.org/forums/ – check the sticky posts
I know this is an old topic, but its in the top results of Google when trying to find a solution for this.
So, to help save other people time (who land on this page when Google’ing this situation) here’s the fastest fix I’ve come across so far.
Create a file called “bp_custom.php”.
In it add:
function bbg_change_tabs() {
global $bp;
$bp->bp_nav = ‘New Profile Verbiage’;
$bp->bp_nav = ‘New Activity Verbiage’;
$bp->bp_nav = ‘New Friends Verbiage’;
$bp->bp_nav = ‘New Groups Verbiage’;
}
add_action( ‘bp_setup_nav’, ‘bbg_change_tabs’, 999 );
Replace the “New W/e Verbiage” with what you want it to say.
Double check that BuddyPress forums didn’t change any foot marks to apostrophes.
Save bp_custom.php and upload the file to /wp-contents/plugins/
Refresh your page to see if it worked.
So far it works for me just fine.
@suziwilson there’s an alternative way to make WP theme compatible with BP using BP Template Pack Plugin depending on the theme
https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/
https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-eleven-bp-1-5/
If you need further assistance, open up your WP theme’s page.php, select all and copy, paste to pastebin.com, click submit and post the generated URL here. Posting what theme you’re using, site URL would facilitate assistance as well.
No, BuddyPress had/has nothing to do with P2.
Thank you so much for this! I hope this isn’t a dumb question, but to which file do I add this code? I’m brand new to BuddyPress.
This snippet looks good to go
Yes, these are the directions I followed:
https://codex.buddypress.org/buddypress-site-administration/deleting-buddypress/
The installation wizard does not show up. WordPress acts like the buddypress was already installed, and then gives the message:
The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, Discussion Forums, User Groups, Members, Activate, Register.