Ok I had a look on the other extensions, I understand what you mean about the callback functions.
Is there any other way around ? Because I don’t need a “new extension”, we just need something pretty simple :
Post created > New Activity > New notification on Buddypress
Do I need to create a new Bp component for that ?
The activity item is created, just no notification triggered…
Thanks for your precious help
It’s not a duplicate, but how it works.
On the left, you have the WP field for “username”, on the right BP’s mandatory field “name”. Both are used for registering a new user. WP’s username field accept only lower case alphanumerics without space. Mostly used to enter a pseudonym. BP’s field accept uppercase and space or even carets, wich allows to enter first and last name for example.
Note that you’re not obligated to enter a first and last name. If you rename Name to City or Gender, a user must enter a city name or his gender. Eg. username: johnrobertsonquid | city: Los Angeles or username: johnrobertsonquid | gender: male
But whatever the field may contain, it cannot be removed.
About xprofile fields:
User Extended Profiles
Yes, I’m sure. Technically it can be done, but some coding will be involved, and that is not a 5 min task. As a starting point you can check this codex page.
Hi,
this page is made of list elements and divs. To wrap them into columns, you have to adjust the CSS.
This can be done by child-theme, where you have to copy
bp-templates/bp-legacy/buddypress/members/register.php
to /your-child-theme/bp-legacy/buddypress/members/register.php
And CSS goes into /your-child/style.css
How to wrap <div> and <li> is out of the scope of this forum.
Hi , i want to show my buddypress register page layout form show like
1. 2.
3. 4.
currently the form layout is like
1.
2.
3.
4.
need some help here
Hi,
I’m using KLEO Theme and I have the latest version of buddypress. The Profile Fields though provides 2 required fields out of the box and both are named as NAME it seems like a duplicate and I don’t want it and I can’t delete it. How can I remove the duplicate?
@strothi – I’ve split your post into a new topic.
Regarding your error, I’m guessing it is a problem with the BuddyBoss Reorder Tabs plugin.
Can you confirm? If not, can you list all your BuddyPress plugins?
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.
Unfortunately, it’s currently impossible to do that via an option or a plugin.
So far, image *must* be uploaded for BuddyPress to place it in a proper place and display.
But if you are tech-savvy, you could try to filter bp_attachments_get_attachment() function, that is used to get the URL to a cover image. And build a custom form, where users insert URL, and you save them into usermeta table and then retrieve and display.
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.
Hey guys,
I keep getting the following error ever since I have tried to update to 2.6.0 up to the current 2.6.1.1:
Catchable fatal error: Object of class BP_Core_BP_Nav_BackCompat could not be converted to string in /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php on line 279
Buddypress 2.5.3 works perfectly. Any idea what’s causing the issue and how to fix it?
Kind regards,
Philip
Finally i have done this:
function activation_email( $subject, $message, $user_id, $user_email, $key ) {
$teacher = bp_get_profile_field_data('field=Teacher&user_id='.$user_id);
$activate_url = esc_url( $activate_url );
$message = sprintf( __( "Thanks for registering! To complete the activation of this account please click the following link:\n\n%1\$s\n\n", 'buddypress' ), $activate_url );
$user_email = $teacher;
wp_mail( $user_email, $subject, $message );
}
add_action( 'bp_core_sent_user_validation_email', 'activation_email', 10, 5 );
Hello,
Yes, several times and I’ve also looked the function within the Buddypress’s plugin and it seems to work out as a notification ID is returned.
That’s why I’m out of clue on that one…
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/
Hi,
I’ve been wanting to change the private messaging with BuddyPress on my site. I want to achieve that when a member sends a private message, the recipient’s conversation will automatically refresh and see that message.
Is this possible to achieve with ajax. PS: Like fb messaging where the conversations always get updated without refresh.
Thanks.
BuddyPress 2.6.0
i’ve been looking for a solution on the forum, went back to 2014, but nothing.
i’m using BP 2.6.1.1 on WP 4.5.3 with a chhild theme off Destin Basic (contacted the author about the issue too). Auto-refresh is checked on BP’s options page.
as imath suggested, i’ve used Inspector->Network on Chrome to check for the call to admin-ajax.php : it’s there, albeit not running every 15 seconds as per heartbeat/bp_activity_heartbeat_pulse filter, but even then, no “Load newest” link appears on the activity page.
anything i can try (years-old plugins aside) or ianything else i should be checking?
thanks for any assistance!
what else