@pcwriter , can I use your code to remove adminbar from dashboard? I tried the following 3 modifications, neither of them works:
`if( is_admin())
remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );`
or
`if( is_admin())
remove_action( ‘admin_footer’, ‘bp_core_admin_bar’, 8 );`
or
`add_action(‘bp_loaded’, ‘remove_adminbar_from_dashboard );`
Delete the Buddypress Template pack if exist
If it’s the same computer you saved the form to cookies. You can delete cookies and empty the cache in browser settings. If you have a computer thats used by many you should turn off the ability for a browser to save usernames and passwords.
Have you read this? https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/
You now have six BuddyPress template folders transferred to your active WP theme folder in server which you should download to your computer to edit.
Open up the first file in activity/index.php file and make the following changes:
At the top of the file, replace:
`
`
with:
`
`
At the bottom of the activity/index.php file replace:
`
`
with
`
`
Save file and upload. Check alignment by going to http://yoursiteDomain.com/activity/. If all’s well, start making the changes on the remaining 12 files and upload to server within respective folders/subfolders.
can any one please explain this
If BuddyPress pages are not aligned correctly then you will need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to FTP to your theme’s files at:
/wp-content/themes/jobroller/
Then open up the page.php file (if this does not exist use index.php). Make note of the HTML template structure of the file, specifically the `
` tags that surround the content and sidebar.
You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file. The files that you need to edit are as follows (leave out any folders you have not copied over in step two):
/activity/index.php
/blogs/index.php
/forums/index.php
/groups/index.php
/groups/create.php
/groups/single/home.php
/groups/single/plugins.php
/members/index.php
/members/single/home.php
/members/single/plugins.php
/registration/register.php
Once you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.
I have buddypress with just one activity stream, I want to have it so that replies will be collapsed until a user clicks on it to read the threads. Can someone help me please?
My page is very long and hard for people to find the comments they want to read.
http://eembroiderydesigns.com/social/
I have this problem as well. I installed wordpress 3.1 on my 1and1.com host and am trying to add BP 1.2.8.
(uiserver) > uname -mrsn
Linux infong576 2.6.28.8-20100125a-iscsi-ntacker-fasync-mremap-grsec i686
From my debug.log:
17-Mar-2011 19:19:32] PHP Notice: Undefined variable: wpdb in /homepages/staging/wp-content/plugins/buddypress/bp-core/bp-core-wpabstraction.php on line 13
Hi There;
I recently imported my website from ning to wordpress buddypress and JobRoller but it has been already around a week and i couldn’t fix the errors
As you can see for e.g the footer “Copyright © 2011 LinkYou.info. Job Board Software | Powered by WordPress” is in the top of the page were it should be in the bottom of the page
that error you would see it in buddypress pages as e.g.
http://www.linkyou.info/members/test/activity/
you can use
user name : test
password: 123456
i hope some one could help as have the same errors in Activities, Friends, groups and all other pages
@mercime , thanks for the link. I did that on bp_adminbar_login_menu successfully, but when it comes to bp_adminbar_account_menu, the array codes beyond my ability, so I am thinking to use bp_core_remove_subnav_item. Maybe it’s not the way–still need to work with the bp_options_nav array.
This is where bp get the sub-nav:
$counter = 0;
foreach( (array)$bp->bp_nav as $nav_item ) {
$alt = ( 0 == $counter % 2 ) ? ' class="alt"' : '';
echo '<li>';
echo '<a id="bp-admin-' . $nav_item . '" href="' . $nav_item . '">' . $nav_item . '</a>';
if ( is_array( $bp->bp_options_nav[$nav_item] ) ) {
echo '<ul>';
$sub_counter = 0;
foreach( (array)$bp->bp_options_nav[$nav_item] as $subnav_item ) {
$link = str_replace( $bp->displayed_user->domain, $bp->loggedin_user->domain, $subnav_item );
$name = str_replace( $bp->displayed_user->userdata->user_login, $bp->loggedin_user->userdata->user_login, $subnav_item );
$alt = ( 0 == $sub_counter % 2 ) ? ' class="alt"' : '';
echo '<li><a id="bp-admin-' . $subnav_item . '" href="' . $link . '">' . $name . '</a></li>';
$sub_counter++;
}
echo '</ul>';
}
echo '</li>';
How can I check this array and filter items inside?
acpage is the way that BP renders activity pagination to those clients with javascript disabled – such as search engines.
I started a ticket for discussion of technical issues: https://trac.buddypress.org/ticket/3116
Peter, did you ever find a solution to this? On my site, every time a new user tries to register, my name is the default, which they have to erase before adding their own. How do I fix this?
Thanks r-a-y
Yeah, I had no idea buddypress wouldn’t connect and use old wordpress stuff.
I am trying to figure it out Boone Gorges plugin though.. cause that plugin runs almost instantly but still sin’t pulling over the old posts/comments.
Does his plugin requires “WordPress MU”
Thanks for your help, and at least I know why its not pulling in the old information
@Jeff. We are in desperate need of limiting roles of users on BP. We are operating in a K-12 environment with students and teachers. Can we limit the roles of local users (students)? We just upgraded to WP3.1 and the new BP as well.
Thanks
if it’s any consolation it took me a few minutes to puzzle out what was going on when I first downloaded and ran a beta, oh ok a few hours
Hello,
I have reviewed the other issues on the forum, and it looks like mine is similar but perhaps slightly different – hence the new topic.
I am using the last but one version of WordPress (can’t upgrade to 3.1. as I have some theme conflict that is causing a blank page on options-general.php), Buddypress 2.7 on Rackspace hosting with PHP5 etc.
I have two installs of my site, both from the same database. I used a MYSQL dump, find/replace, and .htaccess rewrites to get my new site working.
The old site works fine. No problems at all. It writes avatars and blog images to testsite.com/files/avatars….
The new site seemed to work ok at first, but if I CTRL+f5 the images they disappear so I guess they were just cached. They are written with the same folder structure as my test site, so realsite.com/files/avatars/…
The images DO appear in my blogs.dir folder and they have identical filenames in each install.
I’m guessing the whole MYSQL dump is why I’m seeing these problems. But is there a way to rewrite things to get this working again?
Sorry if I’m not too clear…I’m new here and perhaps I should have spent more time working out how to state my problem. I hope you will be understanding!
@hozefasmile2007 Thanks for sharing your find. Got it, Sliding Readmore plugin conflict with cropping of avatar image uploads.
Cheers.
Hi Guys I was also suffering with this avatar upload image cropping problem for the last 2 weeks, I had thought that this would be a problem due to using wordpress for multisite or may be a problem with new wordpress and buddypress integration but finally I found that this was due to a little plugin that I never thought can cause such issue.
This plugin name is “sliding readmore”.
As I removed this plugin all the problem goes away with image cropping.
WP/BP versions? Change theme to bp-default theme. If that doesn’t resolve the issue, deactivate all plugins except BuddyPress.
It means exactly what it says in error. Contact your webhost re: “The GD image library is not installed.”
If you are on your localhost, you would need to add/activate GD library. You have to resolve GD library addition or activation issue in whatever package you are using for your installation – xampp wamp mamp lamp etc.
https://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer
Resolve this issue before installing/activating BuddyPress at https://wordpress.org/support/forum/how-to-and-troubleshooting
@patsyd This is a webhost issue. You should contact them via ticket or better yet, I see Live Chat feature in ixwebhosting panel where you can get immediate help to increase PHP memory to at least 32mb. Resolve this issue before installing BuddyPress.
Hello everyone. I have managed to get my BuddyPress website up and running, however I am having problems with Avatars. When I click on a file to upload, it says
“Upload Failed! Error was: The GD image library is not installed.”
Can anyone help me in getting this sorted? Many thanks.
Jamie
Fitness-Social.com
While waiting for help, I tried to install BP1.2.8 on another website I have with WP3.1 and the same thing happened. Must be something on my end since so many people have their WP3.1 & BP1.2.8 so I will delete all my file and reinstall from scratch to see what happens.
Patsy
Edited: The new install bombed, also…… sure would like to know what is going on here as I’d like to use BuddyPress
Hi,
This is just what I was looking for, any one have find the way to do it?
Thanks!