@absticles – If you’re using a child theme, to override the CSS, either create a file called /_inc/css/adminbar.css in your child theme, or just override CSS rules with the !important rule in your style.css.
If you’re using subdomains for your external apps, Boone’s write-up will probably not work due to javascript cross-domain security issues.
@armandmorin I don’t think it is a plugin, just some functions which show members activity like “total number of posts/replies/comments”, etc, etc.
Have a look at https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-do-you-show-a-members-total-post-count/
BTW, your post does not show your username, just your avatar/pic. I can see the username of who started this topic but not yours…new layout quirks ?
yikes…. cross-posting might become an unintended consequence of the new site design. On the old Forum setup, there was no reason to cross-post, since the Forum Index made it easy to catch up with all new forum posts at a glance.
Just posted here:
http://trac.buddypress.org/ticket/2343
Forum posts are “promiscuous” and can masquerade as belonging to other forums – even if it is a private forum (probably also a problem with hidden forums).
Here is a working example from testbp.org. Start with this private topic that you do not have rights to view:
http://testbp.org/groups/secret-private-group-you-should-never-ever-see/forum/topic/super-secret-post/
Now, replace group name with any existing other group name, such as /baseball/ , and you will now see the private topic:
http://testbp.org/groups/baseball/forum/topic/super-secret-post/
This example shows how an unauthorized user can have access to private posts they should not be seeing.
FYI, I’m running the following plugins and they seem to be stopping/slowing spammers:
Bad Behavior
WPMU-Block-Spam-By-Math
Also I use this in my .htaccess http://wpmututorials.com/how-to/spam-blogs-and-buddypress/
Seems to be showing for me. Went ahead and made a pastebin though: http://buddypress.pastebin.com/NZKUck7F
This still didn’t work for me @Phlux0r. But thanks for the code. I’ve added it to my file anyways.
@mike2ike – Until they sort out why code is getting eaten, maybe post the code to http://buddypress.pastebin.com/ ?
It’s the BuddyPress template files you added to your theme folder that need to be edited.
Any of those files that use should use the same div containers as your theme is using.
I think there is about 14 files but I’m sure you will find a full list here somewhere or in the readme of the buddypress template pack maybe?
Here is the code with more before or after:
/* Move the file to the correct upload location. */
if ( !empty( $bp->avatar_admin->original ) ) {
bp_core_add_message( sprintf( __( 'Upload Failed! Error was: %s', 'buddypress' ), $bp->avatar_admin->original ), 'error' );
return false;
}
/* Resize the image down to something manageable and then delete the original */
/* HACK made some changes to check image parameters more carefully */
$_size = getimagesize( $bp->avatar_admin->original );
if ( $_size[0] > BP_AVATAR_ORIGINAL_MAX_WIDTH ) {
$_thumb = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );
// Need to check if upload succeeded - issue with small files!
if ( is_object($_thumb) && get_class($_thumb) == 'WP_Error' ) {
bp_core_add_message( sprintf( __( 'Upload Failed! Error was: %s', 'buddypress' ), $_thumb->get_error_message()), 'error');
return false;
}
$bp->avatar_admin->resized = $_thumb;
}
$bp->avatar_admin->image = new stdClass;
/* We only want to handle one image after resize. */
if ( empty( $bp->avatar_admin->resized ) )
$bp->avatar_admin->image->dir = $bp->avatar_admin->original;
else {
$bp->avatar_admin->image->dir = $bp->avatar_admin->resized;
@unlink( $bp->avatar_admin->original );
}
/* Set the url value for the image */
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );
return true;
}
I am VERY, but I am a super n00b. I would really appreciate it if you can let me know about what needs to go where.
Also, since I am using the buddypress template pack, which template file do I need to edit? The template which comes inside the buddypress directory or the template pack directory?
How to trim title in the Links Widget? How can i do this? could it come standard as most links I see come thru have the long blogger seo titles (titles who themselves need titles
I know it can be edited first thing when adding it but I’d like to keep those super duper titles for the single pages.
I love my BP install. It does exactly what I want. But I also have a gallery install (ZenPhoto) and a MediaWiki install that I need to keep as is for a variety of reasons. I wanted to make the site look even more seamless. I’ve matched up themes pretty closely, but now I want to add in the BuddyBar across the top. I DO NOT need or want Single Sign on. Right now the Wiki and Gallery are read-only for everyone but me and I like it that way.
I found these directions: http://teleogistic.net/2009/10/displaying-the-buddypress-admin-bar-in-other-applications/
They don’t seem to work for me. I tried a couple times but I don’t know if I’m just screwing it up or if it’s because I’m on WP 3.0 and BP 1.2.3 … Anyone have any other resources or ideas? Or should I just laugh at myself for trying to introduce too much overhead to my server?
sorry, just looked again, looks like your theme uses div id=”contentleft” , try adding that to the required buddypress template files.
You need to close off the open div containers in:
wp-content/themes/church_40/members/index.php
I am with Opera mini now so my help could be not 100% accurate. Probably is a sidebar width problem. Try to narrow it in the css.
I have been dying to get Buddypress template to integrate with my Studiopres Church 4 theme. I did install the buddypress template pack, but it is just the sidebar which appears underneath the main content.
Appears like this in my test page as of now. http://subhramani.com/members
I badly need help.
An quick update. The new version should not be used on live sites because we are currently re-doing the data structure, so any groups that users join now, they will have to re-join later.
About the follow topic link on the topic page, I forgot to put in the read me the instructions for adding the proper action hook into the buddypress code. I’ve added the request to trac, so it should eventually be in BP core.
Here you can see what needs to be added: https://trac.buddypress.org/attachment/ticket/2129/2129_forum_topic.diff
really it is just ` ` that needs to be added to bp-themes/bp-default/groups/single/forum/topic.php before `
@Mike Henderson
Did you comment out those two lines like I said?
I’ve tried the installation a few times on WAMP, MAMP and multiple installations on the same server … It should be important to note that THIS site bp.org has the same avatar uploading issues with this new template/release.
This is my htaccess file, which makes the avatar cropper work, but I still get the upload error after :
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
@Phlux0r added your code and it’s now working for me. Thanks!
@Chad I wasn’t getting the image cropper before I added the code. Now getting the cropper and a successful upload with no errors.