I am trying to find a good media plugin to replace Buddypress Media which was working great until it got discontinued. rtMedia is throwing up fatal errors. Easy Album does the same thing. And BP Album works but I have CSS issues that I’d rather not resolve.
Can anyone recommend a good simple media plugin that works well with Buddypress? All I need is to have my buddypress members upload photos to add to their profile.
Much obliged!
I have a unique problem, I think. I have a subscription member based site, and prior to my current system, the users were forced to use email addresses as their username. When I migrated to the new system, the email addresses-as-usernames were imported.
I’m trying to implement Buddypress but it wants to display their usernames, and a lot of my users don’t want their email address as public info.
Specifically, when posting to a group or replying, and also on their profile (the @mention name)
IS their a way to completely get rid of displaying the usernames, and instead display their nickname or displayname?
I have a multisite installation where the main site () has buddypress and all the profiles, avatars etc.
On one of the subsites (subsite.mydomain.com), which is set up in a wordpress multisite network, I need to be able to get the buddypress user info from the main site, but buddypress is not installed. I’m able to write custom queries to pull back what I need from the profiles, but the avatar is more complicated. I will be able to duplicate much of what is in the 300 lines long bp_core_fetch_avatar() function I supposed, but I’m wondering if there would be a more straightforward solution to this problem.
Could I even enable buddypress on the subsites but not actually have any links to the pages anywhere just to get the user profile information? I believe it uses the same database over multisite installations.. is that correct?
@bphelp
This looks nice but wasn’t what I was looking for since I have a frontpage already and don’t want to change it!
But the link within the code was pretty helpfull! I couldn’t find out where to find the bp-custom.php. Now I know that it has to be created 😀 Thanks anyway!
And also thanks to @struth !
Cause of you i found out how to switch the result of is_user_logged_in() . It’s a simple “!” that needs to be in front of the function!
But I still can’t imagine why the snippet was named to direct visitors to the registration page! It doesn’t do that.
Now the code is modded and it DOES redirect not logged in users to the registration page!
Feel free to use it 🙂
function redirect2profile(){
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){
global $current_user;
wp_redirect( get_bloginfo('url') . '/member/'. $current_user->user_login . '/profile/');
exit();
} else {
if ($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && !is_user_logged_in()) {
wp_redirect( get_bloginfo('url') . '/register/');
exit();
}}
}
add_action('init', 'redirect2profile');
Cheers, Lars
@henrywright-1,
This is what i did to remove it from activation email, you can play with it to remove it from all
function fix_bp_activation_subject($subject) {
return __( "Activate Your Account",'buddypress ' );
}
add_filter( 'bp_core_activation_signup_user_notification_subject ','fix_bp_activation_subject');
Naijaping
SKParticipant
@boonebgorges
http://wordpress.org/support/topic/can-you-make-it-work-with-buddypress-xprofile-custom-fields-type
Buddypress Xprofile Custom Fields Type http://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ plugin is fantastic. It adds field types date, email, number etc.
Would be great if BP Better Directories allows searches for (e.g.):
– age less than/more than/between (when there is a birthdate field)
– height less than/more than/between (when there is a number field)
– years of experience less than/more than/between (when there is a number field)
Please, please, pretty please 🙂
Does anyone know if the [Site name] part of BuddyPress core email subject lines is filterable? The subject line always seems to start with the site name in square brackets. The site name already appears in the ‘from’ field so I don’t feel it’s needed in the subject line as well.
how i can import private messages from phpbb forum?
i have installed bbpress + buddypress plugins.
thanks
I need a lot to explain photographer installation method and method of use of localization and, if available installation Arab BoddyPress and method of use to explain pictorial photographer
thanks for Help
I just hijacked Mr Jacoby code:
add_action('after_setup_theme', 'remove_admin_bar'); // remove admin bar for users
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
function redirect2profile(){
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){ //show buddypress user profile page
global $current_user;
wp_redirect( get_bloginfo('url') . '/members/'. $current_user->user_login . '/profile/');
exit();
}
}
add_action('init', 'redirect2profile');
?>
Into a plugin for those who don’t know how, or just don’t want to add this code to the functions.php file. you can download it HERE
Removes the admin bar for all users except Administrators and gets “global $current_user;” profile to a page you create called Profile as described by jackreichert
I’ve said it before but I’m going to say it again – you’re a genius Mr Jacoby
Were you creating a theme?
Hi there!
This worked quite fine for me, but i have the problem that this code doesnt bring me to a signup page when you aren’t logged in.
I tried to add the redirect with “else” but it didn’t work for me either.
The code has now changed, since I tried to figure out why it doesn’t redirect me to my register page.
I’m not very skilled with PHP so maybe someone can help me out.
I want the code to redirect the not logged in user to a register page
function redirect2profile(){
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if ( is_user_logged_in()){
if ($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php')) {
global $current_user;
wp_redirect( get_bloginfo('url') . '/member/'. $current_user->user_login . '/profile/');
exit();
}
} else {
if ($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php')) {
wp_redirect( get_bloginfo('url') . '/register/');
exit();
}
}
}
add_action('init', 'redirect2profile');
@shanebp,
Thanks for your snippet which works great with standard buddypress message system but did not work if using BP Profile Message UX plugin, is there anyway to make it work please
https://wordpress.org/plugins/bp-profile-message-ux/
tahnks
posts will only get recorded as activity if buddypress is active the behavior you are seeing is normal. there maybe a plugin out there that can re-construct activity entries from post dates or something but i’m not personally aware of anything that does that.
Hello,
I have the latest version of both buddypress and wordpress.
I had buddypress installed and lying inactive for a while, i recently updated my theme (Arthemia) they now have BP support, so i reactivated the plugin.
Unfortunately it dint seem to be working fine, it had not picked up the more recent posts in the sitewide activity feed.
So i followed the steps for complete removal, deleted the bp db tables, but could not find anything in the wp_options
However i do not get the settings walk through or installation post activating buddypress anymore.
Any idea how i can reinstall from scratch?
Thank you, my site is fractalenlightenment.com
Any kind of help would be greatfully appreciated.
Also tried w3 total cache and received a fatal error so decided not to go that route either…
Update: So I decided in the end to stick with Hyper Cache, which is pretty okay, enable caching to true in the wp-config file and since I’m not expecting hundreds of visitors to interact with the social aspect of the site, it’s a small group, the images seemed to be the issue with the site’s speed and the other caching plugins were breaking buddypress features.
So I’m using Imsanity and Ewww Image Optimize plugins to control the maximum size of the images being uploaded (they get re-sized by the plugin) and to optimize the existing images I had in the library. This has helped my site’s speed a whole lot especially with the Site Activity Feed widget on the front-page.
I’m still looking into caching, looking into mem-caching but not sure if it’s necessary at this point in time for a site that if we’re lucky, has a maximum of 100 members. Hope this topic helps someone.
You could do it like that but each time you update BuddyPress you’ll lose the changes you’ve made to bp-messages-template.php. I’d try to avoid making changes to the plugin core.
That process seems beyond me and very long (and I cannot find the /plugins/buddypress/bp-languages folder) I just want to change the “Private Message” button label. Can I access/change it quickly like this:
1. access buddypress/bp-messages/bp-messages-template.php
2. change the ‘link text’ to the new label name in this block of code?
function bp_get_send_message_button() {
// Note: ‘bp_get_send_message_button’ is a legacy filter. Use
// ‘bp_get_send_message_button_args’ instead. See #4536
return apply_filters( ‘bp_get_send_message_button’,
bp_get_button( apply_filters( ‘bp_get_send_message_button_args’, array(
‘id’ => ‘private_message’,
‘component’ => ‘messages’,
‘must_be_logged_in’ => true,
‘block_self’ => true,
‘wrapper_id’ => ‘send-private-message’,
‘link_href’ => bp_get_send_private_message_link(),
‘link_title’ => __( ‘Send a private message to this user.’, ‘buddypress’ ),
‘link_text’ => __( ‘Private Message’, ‘buddypress’ ),
‘link_class’ => ‘send-message’,
) ) )
I guess if I am on a windows server then I need to rewrite these htaccess rules in IIS URL Rewriter, as per…
http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig
Alternatively, change to an apache server? Is BuddyPress windows compatible?
Hi
I would appreciate some guidance re. programmatically restricting access to Private Messaging to paid subscribers (using the WooCommerce and Groups plugins).
Any pointers as to where in the BuddyPress codebase to look would be appreciated.
Richard
This will help you. It shows you how to change most of the text labels and messages outputted by BuddyPress:
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
Hi
I can find the above function under the legacy branch of code base, but what is the BuddyPress 1.8 equivalent?
Thanks.
Richard
Hello Everybody I have encountered an issue while using below versions of buddy press related products and plugins.
buddypress.1.8.1
bbpress 2.3.2
wordpress 3.6
We haven’t used any other libraries other than these so It cannot be a conflict due to other libraries.
MY problem is that when we create a group and then change the admin settings of the group(it doesn’t matter if you change or don’t change the default settings just click save changes) and click save changes and when you go back to the group the Forum tab disappear.
I have tested the default theme as well as twentytwelve theme and the result is the same.The forum tab doesn’t appear in the group page after saving the admin changes.I have even followed the given installation guide form buddy press.
I will be really grateful for any help that could throw some light how to resolve this issue