Forum Replies Created
-
In reply to: Trouble Upgrading?
Colorful tones: deleted the bp-themes folder in wp-content?
Read this: https://codex.buddypress.org/developer-discussions/buddypress-forum/
Specifically the last section.
The skeleton component does works if you activate it, it does provide some basic functionality as an example.
The error you are getting sounds like the plugin is being activated twice. Delete the plugin and reload the plugin admin page. This should make sure it is completely deactivated.
Re-upload the plugin – make sure bp-example.php is in the plugin folder root, along with the /bp-example/ folder. Try re-activating.
In reply to: Need for Buddypress APIIf someone feels like extending XML-RPC support to BuddyPress then that would be an excellent plugin that could be rolled into core at some point.
In reply to: How will bbPress updates work in BP 1.1+?You won’t have to worry about it as the internal version of bbPress will upgrade when you upgrade BuddyPress.
In reply to: BuddyPress v 1.1You should not be using bp-sn-parent theme, it says it right there in the description. Use the bp-default.
In reply to: Function/Call to access Custom Profile Fields?xprofile_get_field_data( $field_name_or_id, $user_id );
In reply to: Private Groups and ForumPrivate and hidden forum posts do not show up in the forums directory regardless of your logged in state. This will probably change in the future but there was not enough time for 1.1.
There is a bug that will not allow you to post on private and hidden group forums in 1.1, this is fixed in trunk and will be in 1.1.1 which will be out soon.
In reply to: WP-Super-Cache QuestionSuper cache is not a good solution for BuddyPress since the pages are updating all the time and the cache becomes poisoned too quickly. Object cache is a much better approach.
In reply to: BuddyPress v 1.1It is not defective. Many people have set it up with no problems, you need to provide more details on your WPMU version and setup, as well as your server setup. Without this you are just shouting and no one can help you.
In reply to: Downgrade Buddypress 1.1 to 1.0Restore from your backup.
In reply to: Private Groups and ForumI will debug this. Only forum posts on public groups will show on the directory.
In reply to: BuddyPress says themes are missing, but they aren’tIf you have deleted /wp-content/bp-themes and have activated bp-default in “Appearance > Themes” then this should not happen. If it does then there is a bug.
In reply to: Trouble Upgrading?Yes that error message is confusing I must say, I’ll change it for 1.1.1.
In reply to: Trouble Upgrading?Also, it’s super important to read this document before you attempt upgrading:
https://codex.buddypress.org/getting-started/upgrading-from-10x/
In reply to: Where are the avatars ?They are not stored in the DB, BuddyPress will look in the avatars folder under the user’s ID in blogs.dir.
In reply to: Problems with dots im Member-URLs (in BP 1.1)Do the URL’s work if you manually type them in with the dots?
In reply to: Members directory shows blank profileIf you moved the installation this is going to cause problems, you will need to change a number of things in the database. This is no doubt the cause of your issues.
Some of these results may help:
http://www.google.com/search?hl=en&rls=en&q=moving+wordpress+mu+directory&aq=f&oq=&aqi=
In reply to: surprising avatar behaviorJugoretz: I would definitely play more on a development server, get things up to speed then push it on the live site. If you’ve made a lot of modifications and customizations then with this version you will unfortunately have a more difficult upgrade path.
The way things work in 1.1 are much more solid moving forward, but they may cause some people who are heavily invested in 1.0 a bit more work.
In reply to: surprising avatar behaviorSo – in 1.1 BuddyPress does not query the database to fetch avatars, it expects them to be in specific folders and with specific names.
Likely what it happening is the permissions on the folders denied BuddyPress the access it needed to move avatars around and into the format/location needed for 1.1. Most of the problems will be related to group avatars mixing up with user avatars, as they were in the same folder for 1.0.
The quickest option is to remove the /wp-content/blogs.dir/1/files/avatars/ directory and let BuddyPress rebuild your avatars as people upload again. Anyone who has a Gravatar will revert back to that image, so not all will be lost.
Other than that, you can use this code below to place group avatars in the correct place, so they don’t conflict with user avatars (this normally runs on upgrade). Make sure the permissions on the avatar folder allow for BuddyPress to move files around.
function move_group_avatars() {
/* On upgrade, handle moving of old group avatars */
$groups = groups_get_all();
foreach ( $groups as $group ) {
/* Don't fetch and move gravs, default images or empties */
if ( empty($group->avatar_thumb) || strpos( $group->avatar_thumb, 'gravatar.com' ) || strpos( $group->avatar_thumb, 'identicon' ) || strpos( $group->avatar_thumb, 'none-thumbnail' ) )
continue;
$start = strpos( $group->avatar_thumb, 'blogs.dir' );
if ( false !== $start ) {
$avatar_thumb = WP_CONTENT_DIR . '/' . substr( $group->avatar_thumb, $start, strlen( $group->avatar_thumb ) );
$avatar_full = WP_CONTENT_DIR . '/' . substr( $group->avatar_full, $start, strlen( $group->avatar_full ) );
if ( !file_exists( $avatar_thumb ) || !file_exists( $avatar_full ) )
continue;
$upload_dir = groups_avatar_upload_dir( $group->id );
copy( $avatar_thumb, $upload_dir['path'] . '/' . basename($avatar_thumb) );
copy( $avatar_full, $upload_dir['path'] . '/' . basename($avatar_full) );
unlink( $avatar_thumb );
unlink( $avatar_full );
}
}
}
add_action( 'plugins_loaded', 'move_group_avatars' );Put that somewhere so it can run, maybe temporarily paste it at the top of bp-core.php, then remove it when you are done.
In reply to: Help with Child Themeuse locate_template() —
https://codex.wordpress.org/Function_Reference/locate_template
In reply to: Is it ‘bp-themes’ or ‘themes’?The first is correct, once you activate the bp-default theme you will no longer see this warning message, it is simply for backwards compatibility. Make sure you do not have a /wp-content/bp-themes/ directory.
In reply to: Conditional tags for BuddyPressNot in the RC, use the final.
In reply to: Where is the installation guide?Don’t install BuddyPress until tomorrow, when 1.1 comes out. I’m updating the docs so a lot of things will be broken/out of sync until then.
In reply to: Any way to hide admin menu of buddypress?In your wp-config.php add the line:
define( ‘BP_DISABLE_ADMIN_BAR’, true );