Forum Replies Created
-
In reply to: Redirect to Buddypress profile Page
Sorry, was speaking to @juden
In reply to: Redirect to Buddypress profile PageHave you tried this? https://wordpress.org/plugins/bp-redirect-to-profile/
In reply to: Buddypress Widgets Not WorkingBuddyPress Friends Widget works for me in Graphene. Have you tried deactivating your other plugins?
In reply to: Cannot select Nouveau templateIt sounds likke it’s not saving that setting. Try changing some of the other settings to see if those save. Would probably be worth enabling Error logging to see if there’s an error showing.
I’ve found a couple of plugins for you to look at:
And there is henry’s plugin:
One thing to possibly try is to enable extended profiles, disable user profile uploads and see if you can change the avatar yourself from the users profile page. Might not be workable for you but that would be my first approach, as with anythin it’s best if the functionality is already build.
For what you are asking you’d basically need to write your own plugin that redirected the BP Avatar load to the bbPress Avatar. There’s nothing that does that as far as I’m aware and it normally works the other way round – the BP Avatar is used for both when both are installed.
You could set up a lengthy if statement checking for each users ID and serving a different default, but that sounds like an awful lot of effort.
I think the same code would work if extended profiles were disabled or not, not tested it though.
You could use current_user_can( ‘capability’ ) in the file to choose the default avatar to use I would have thought.
So for example:
if ( current_user_can( 'edit_posts' ) ) { define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' ); define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' ); }You’d just set the default avatar for buddypress:
The default avatar is the one that appear when a user has not yet uploaded his own avatar. If you’re not a fan of the mystery man, here are the constants that you can use to define your own:
define ( 'BP_AVATAR_DEFAULT', $img_url ); define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url );Change the the constant to include the URL for the location of your new default avatars and add this to your bp-custom.php file.
define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' ); define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' );To use a default avatar without Gravatar you should also add:
add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );What about – https://wordpress.org/plugins/disable-user-gravatar/ to disable the gravatar?
Thaks for calling this out, I’ve updated the page with that change. In order to get that option you need to have extended profiles enabled.
In reply to: Avatar blurredMight be an idea to raise this as a feature request on Trac – https://buddypress.trac.wordpress.org/ Maybe they can set the cropping window to max size as a solution?
In reply to: PHP fatal error in debug.logthe do_action is not calling the function, it’s setting up an action hook that fires whenever that function is called.
I’m at a loss as to what to do next, you may need to call in an expert. The error itself is simple enough, finding the culprit has gotten problematic.
In reply to: PHP fatal error in debug.logThat’s really strange, you can see in the files you have scanned that the function is only being declared once.
In reply to: Plugin errors – BP Group Categories / TypesYou need to raise this with the developer of BP Group Categories
In reply to: PHP fatal error in debug.logNext step would be to Download your childtheme contents and do the same lookup.
In reply to: The change of member-header-php does not take effectAre you overloading the correct file? There’s also
/members/single/cover-image-header.phpIn reply to: Side Wide Notice not appearingHi there,
If you are using BP Nouveau the sitewide notice widget is not supported:
In reply to: Mapping the xprofile fieldsYou’d need to write a plugin for it, the examples I found do similar things but are out of date, they could serve as a basis for the plugin.
In reply to: Hackers Getting In….Ah great! Glad that one is solved. It’s only half of the solution though. These bots will still plague your site with registration requests. To get rid of those try https://wordpress.org/plugins/simple-google-recaptcha/ thi sworked like a treat on my sites, totally eliminating spam bot registrations (for now…).
In reply to: buddypress performanace and cacheI only enable the object cache
In reply to: buddypress performanace and cacheMy main approach has been to try to limit which plugins are being loaded on each page to limit the load on the server using plugin Organizer.
In reply to: buddypress performanace and cacheNothing currently
In reply to: buddypress performanace and cachejust turn off page caching