Hi!
So i have problem with this feature. I can’t change cover image and affected on any user on my site. Here’s the screenshoot:
. So, how to fix it? thanks. 🙂
BuddyPress 2.6.1.1
WordPress 4.5.3
Sorry for you!… When it is so easy to avoid such situation by reading BP’s Codex…
BuddyPress Links in WordPress Menus
You can use BuddyPress Member Types Generator plugin to create members types.
Or use BuddyPress Member Types plugin, they have a bit different functionality. The 2nd one seems to have more features.
Different “Types of feeds” is not easily achievable, only with custom coding.
Custom login and registration pages – lots of solutions for custom login. Custom registration page is limited to BuddyPress, there is no plugin, that can do anything with it. You will need to dive into templating and custom styles.
The reason that it doesn’t work – it requires to be placed on a user BuddyPress profile page.
It uses bp_displayed_user_domain() function to generate the link, as there is no user on your custom page (it’s not BuddyPress or even WordPress) – bp_get_members_component_link function produces nothing.
There is no easy fix. You will need to create that link manually by retrieving somehow user domain (link to profile) of a desired user.
So far BuddyPress doesn’t support this out of the box and I don’t know such plugins.
But this is a good feature request, and I’m pretty sure that this will implemented eventually. Because we already have similar thing on Activity directory page.
Here is the ticket that I created with this request.
PS Update to the latest BuddyPress 2.6.1.1 🙂
I personally use Hueman theme on my site, and it has an ability to redefine or clean the footer credits: http://take.ms/8y2CP
And it looks good with BuddyPress, and has interesting settings for WordPress itself.
The content property is run through KSES and the permitted HTML tags are set here: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-filters.php#L206
You COULD unhook this function from the filter (see: lines 16-25, same file) but I would not recommend it, because other people will use this to inject malicious markup. Instead, consider using the bp_activity_filter_kses filter and whitelist a few extra HTML funtions that you need (i.e. just the paragraph tag).
Hello,
I have a really weird issue with Buddypresss, I can create notifications but they’re not received by the user… Every components are enabled btw.
If I do :
bp_notifications_add_notification( array(
'user_id' => get_current_user_id(),
'item_id' => 630,
'secondary_item_id' => 1080,
'component_name' => 'my_app',
'component_action' => 'my_app_action',
'date_notified' => bp_core_current_time(),
'is_new' => 1,
) );
Where 630 and 1080 are valid WordPress posts and my_app component has been registered sooner.
If I check my database, that’ll create a new entry as expected and I do :
bp_notifications_get_notification(306)
(306 is my new notification’s id) It does return the notification object.
However, if I do :
bp_notifications_get_notifications_for_user(3)
(3 is the current_user_id())
Then it returns false and bp_notifications_get_all_notifications_for_user() an empty array.
What am I missing ?
Thanks for the help, please let me know if you need more details.
Cheers,
François
ok, moved on a clone, disabled all plugins and tested it throughout and i found it out:
new activity notifications do work ok, what is missing are notifications of comments to activity – actually, it’s not a problem with my setup, it’s really a (very much needed, badly missed, imho) missing feature…
luckily, BP Live Notification does seem to do the job, but it’s yet another addition to the ever growing list of plugins needed for covering up the lack of (quite obvious, always imho) features…
you could mark this as resolved, i guess (tho it’s not quite, really)
Hi all,
I have the following link that I’m trying to get to display on a page outside of Buddypress:
<?php
echo bp_get_members_component_link( 'profile', 'change-cover-image' );
?>
But it’s not working, is there a particular global I need to declare? It’s on a non-Wordpress page but “wp-blog-header.php” is included on the page.
Hi @pulidomate,
By default, it’s not possible. But you can try to code it.
That said, registering users is reserved to site admin or editors. So far i understand your question, you’re talking about group admins (admins = teachers)and member types (teachers and students).
Registration and user management is a core thing for users with WP roles/capabilities. It is not the same thing as Teachers and Students within BuddyPress.
Group admins are, by default, users with a WP role of subscribers. Same thing for students. BP distinguish those users inside a group only, but for WP they still emain as “subscribers”.
May be you can use a plugin, but i haven’t tested it. Try:
https://wordpress.org/plugins/new-user-approve/
Hey I am making a website and want it to look professional, as we all do.
I notice that most free WordPress themes have footer credits and a link usually to the Theme’s website.
This is more of a wordpress question but since I’m using Buddypress I wanted to ask, can anyone offer a free Theme they use or have used which would allow me to do this? I have installed a bit and have only found two myself out of about 20 that had this feature (or no footer info) and the 1 had errors that wouldn’t allow me to save on customize page and the other wouldn’t let the page scroll down by keyboard input for some reason, but worked in all other directions.
So I thought this might be a good topic for discussion? Any help? Thanks in advance!
HI
i use SocialChef theme .
all active plugins :
bbPress
BuddyPress
ITRO Popup Plugin
TablePress
TablePress Extension: Responsive Tables
Telegram for WordPress
TinyMCE Advanced
Wise Chat
WooCommerce
WP Statistics
WR PageBuilder
hello,
Myself Tejas Nevgi. I work as an intern in a startup company and trying to make a social networking type of website for them. I am kinda new to wordpress and buddypress so i’m kinda facing difficulties.
The website is a social networking type of website for painters, musicians and photographers. So we want an option for the users to select type of member they are and also what type of feeds they would like to receive. also, instead of friends we want followers. i have installed buddypress, installed a theme and found the plugin for followers and all. Got the login and registration also working. but i am kinda stuck this member type functionality. how do i get the users first to signup as an artist, musician or photographer and also let them choose the type of feeds they would like to receive. i tried making groups for each of them but then realised may be this isn’t the proper way to do it. or is it? pls help!
also, i want to have a custome login and registration page for the users with some of my images in the background. how do i do that?
Hi @jaap33,
any members activity appearing on SWA can be deleted by the member. That’s how it works.
Each member can delete what belongs to his activities(updates, update comments,…).
But member A cannot delete activities of member B.
To allow this, you need to asign a WP role to member A. Eg. member A = editor. This may be to much, so you’d set up a special role who allows member A to only edit SWA and nothing else. Perhaps (untested) this plugin can help you to do this. Evtl. check also S2Member plugin.
https://codex.wordpress.org/Roles_and_Capabilities
To add your own create group button output function, unhook the current ones:
remove_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 );
remove_action( 'bp_groups_directory_group_filter', 'bp_group_backcompat_create_nav_item', 1000 );
and add your own to bp-custom.php:
add_action( 'bp_groups_directory_group_filter', 'my_dolla_bill_group_create_button', 82 );
function my_dolla_bill_group_create_button() {
if ( dolla_bill_has_dollas ) {
bp_group_create_nav_item();
}
}
Your other issues can probably be solved in the similar way. Read up on hooks and actions in WP: http://blog.teamtreehouse.com/hooks-wordpress-actions-filters-examples
I’m using Cymi User Extra Field, when you enable email confirmation the user gets the Buddypress email template
with the confirmation link. when the user clicks the link it takes them to the confirmation page of the site prompting them
to login with username and password. Problem is the user name and password doesnt work. The user gets created because they
are visible in the users list. How can I fix this problem.
I’ve disabled the Buddypress sign up for the default WordPress using: BP CUSTOM
function my_disable_bp_registration() {
remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
remove_action( 'bp_screens', 'bp_core_screen_signup' );
}
add_action( 'bp_loaded', 'my_disable_bp_registration' );
add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
function firmasite_redirect_bp_signup_page($page ){
return bp_get_root_domain() . '/wp-login.php?action=register';
}
and I found this code in a Buddpress Forum:
https://buddypress.trac.wordpress.org/ticket/3443
// Change the text on the signup page
add_filter( 'bp_registration_needs_activation', '__return_false' );
function my_disable_activation( $user, $user_email, $key, $meta = '' ) {
// Activate the user
bp_core_activate_signup( $key );
// Return false so no email sent
return false;
}
add_filter( 'wpmu_signup_user_notification', 'my_disable_activation', 10, 4 );
I tried it with the hope that the key would be disabled and the key fired by WordPress would take over but it still didnt work.
I really don’t care who fires the key I just want the user to be able to login after click the key in their email.
The Danish translation is not complete… so the automatic translation doesn’t work.
Read from here to go further:
Languages and Translations
check this 2 plugins
https://wordpress.org/plugins/buddypress-docs/
https://wordpress.org/plugins/buddydrive/
…you can create hidden groups then….you can disable the activity component via settings-buddypress
First, you have a typo error in your function: array_splice should be array_slice
Second: the sort order belongs to the parent item. The secondary (aka sub nav) is fixed by CSS.
If parent as 3 as order, the child has also 3, but to place it correctly, you have to adjust the css.
See here:
wp_nav_menu()
Deactivate loco translate and redo what i described previously.
Search also for evtl. issues mentionned on loco translate support.
Aside there is no reason to use that plugin if you don’t translated scecificcally BuddyPress to your nedd. sv_SE.po/mo are loaded automatically.
If despite this, you use your own translation version, see how to prevent your translation to be overidden. It’s explained in one of the sticky topics on the plugin support.
Yep, we missed a bug in testing. Will be fixed in 2.6.1.1 release later today.
We’re very sorry.
Bug report is https://buddypress.trac.wordpress.org/ticket/7153