I created an action that uses the messages_new_message function (any time a user gets a tag, they automatically receive a private message.)
Would it be possible to put a border around the message or make the font different? I would like to make these messages stand out a little from the other messages in a users inbox/thread by adding some styling. Below is the code I am using:
function send_message_to_student_113( $user_id, $tags_applied ) {
$tag_id = wp_fusion()->user->get_tag_id( ‘course tag 1.1.1’ );
if ( in_array( $tag_id, $tags_applied ) ) {
$args = array(
‘sender_id’ => 1,
‘thread_id’ => false,
‘recipients’ => $user_id,
‘subject’ => ‘Hello there’,
‘content’ => ‘You got a new tag! Congratulations. Please let me know if you need any help!’,
‘date_sent’ => bp_core_current_time()
);
$result = messages_new_message( $args );
}
}
add_action( ‘wpf_tags_applied’, ‘send_message_to_student_113’, 10, 2 );
I am using WordPress 5.3 and I am actually using BuddyBoss which is a fork of Buddypress.
Thank you! Simmi
@cmsplay there are a couple of plugins in WordPress repo to import the user from CSV and few of them have support for BuddyPress.
You can try https://wordpress.org/plugins/import-users-from-csv-with-meta/
@sanra84 you can check following
BuddyPress Links in WordPress Menus
You can add them as a dropdown menu which will display for logged-in users.
The following active BuddyPress Components do not have associated WordPress Pages: User Groups. Repair
I can not repair it.
When I want to create a group I klik add new group.. then I get to the sample page which is nothing.. so the component is missing.
how to solve this?
If you have better wordpress installed that might be worth turning off whilst testing, that’s the only plugin I know with those initials. As it’s a premium theme it would be worth contacting them for support..
Hi @imath first thanks for your reply.
As you can see from my code I have added to my first message, I am using an hook provided by WORDPRESS
https://codex.wordpress.org/Customizing_the_Login_Form
So correction of buddypress code should be simple and efective…
I have opened a new ticket in TRAC
https://buddypress.trac.wordpress.org/ticket/8277#ticket
I hope this issue can be resolved before release V6
As you say: “If it’s just adding a hook available in the /wp-login.php page then, why not”
😉
Sorry I’ve just read about this issue. Having it fixed in 6.0.0 seems difficult as there’s no ticket about it in Trac and the release is scheduled to the end of this month. If it’s just adding a hook available in the /wp-login.php page then, why not but if Plugins adding these checkboxes are using different hooks it can be challenging.
Could you open a ticket on Trac ( https://buddypress.trac.wordpress.org/newticket ) and eventually find out what is the name of the WP hook these plugins are using to try to have it fixed asap ?
Thanks in advance for your help.
Sorry for not listening to the rules! Here is a better version of my previous post –
I am using WordPress 5.3 and I am actually using a theme called BuddyBoss to implement Buddyboss but that shouldn’t matter for my question.
So I created a custom function where any time a user gets a tag, they automatically receive a private message. I would like to make these messages stand out a little from the other messages in a users inbox/thread by adding special styling. Would it be possible to put a border around this message? Below is the code I am using:
Thank you! Simmi
function send_message_to_student_113( $user_id, $tags_applied ) {
$tag_id = wp_fusion()->user->get_tag_id( ‘course tag 1.1.1’ );
if ( in_array( $tag_id, $tags_applied ) ) {
$args = array(
‘sender_id’ => 1,
‘thread_id’ => false,
‘recipients’ => $user_id,
‘subject’ => ‘Hello there’,
‘content’ => ‘You got a new tag! Congratulations. Please let me know if you need any help!’,
‘date_sent’ => bp_core_current_time()
);
$result = messages_new_message( $args );
}
}
add_action( ‘wpf_tags_applied’, ‘send_message_to_student_113’, 10, 2 );
I think BuddyPress just uses the standard WP login page so https://codex.wordpress.org/Customizing_the_Login_Form has info on customising or even replacing the page.
On one of my sites I created a completely new page following this guide, https://themetrust.com/build-custom-wordpress-login-page/
It should be simple enough to create a custom page that disables the login button unless the checkbox is selected.
Hello
Wordpress 5.4 & Buddypress 5.1.2 installed on a subdomain.
I am setting up a community site with Buddypress.
It looks nice but I am not yet able to set it the way I would like it 🙁
I don’t know if it’s possible, but how can I set up a new group so that:
1) Members can respond directly to it
2) That response is therefore visible under that particular group
3) Other drawers can also respond to this
4) If a member other than that group opens or joins it, sees all those reactions and can possibly participate in the discussion?
5) That the whole discussion stays under that group and becomes visible as soon as someone opens that group?
Now when I open a group I don’t see an opportunity to post a comment anywhere as a member.
Another lock-down option is: https://wordpress.org/plugins/bp-simple-private/
However, if you just need some private pages & categories, then you don’t need BuddyPress at all unless there is some interface aspect that requires profiles.
If you aren’t using profiles, then there are probably some WP plugins that do what you want.
Or, the custom WP code to accomplish is quite simple – if you are a WP dev.
@giuseppecuttone for signup page you will have to use
bp_signup_validate
bp_before_registration_submit_buttons
You can try this, seems still working
BuddyPress Simple Terms And Conditions
@bmotion you can give a try to https://wordpress.org/plugins/lock-my-bp/
It will help to lock down specific pages and community section to members only.
Hi @techsector7,
There should be information on https://make.wordpress.org/polyglots/handbook/translating/inactive-translations/ for what to do, there is also a slack channel #polyglots (info on joining this https://make.wordpress.org/chat/) where you can chat to other people on the team.
Hopefully the above helps.
Thank you for your reply! I’m apprehensive to use plugins that have been abandoned by their developers (Sitewide Newsletters). I’m going to try out this plugin WP INBOX plugin https://wordpress.org/plugins/wp-inbox & if it works for us then upgrade to the paid version.
It doesn’t allow us to email our BuddyPress groups, but it will allow us to contact our members & various User Roles which will be helpful.
I’m not an expert, but the only way I’ve found potentially to do this is via separate plugins, e.g.:
BuddyPress Group Email Subscription
Sitewide Newsletters
Hiya, I’m looking for a way to selectively email different BuddyPress groups from within WordPress. We’d ideally like to email our members based on similar profile fields if possible. What’s the best way to set this up?
in staging site went back to WordPress 5.3, no change, save button doesn’t do anything
I have been looking around for plugins or a solution to let me embed a group (ideally through calling a short code on the wordpress page) so that I can create a custom page to put content above the group section to give me more flexibility for my client to update images, videos, etc on group pages.
The only things I have been seeing are short codes to bring in the list of groups, not an individual group.
One other thing, I am using Elementor, so we need the solution to work in there.
Anybody have any suggestions?
the button to save the profile is not saving, In fact nothing happens.
It worked fine, did make some changes in visibility of profile field and updated to WordPress 5.4. In the backend everything works according to plan, in the frontend I can change profile picture and so on, but I can’t save the profile tabs
>> isn’t there any forum or section here or website on the internet or anything anywhere with folks that specialize in THIS only
Hi @bwnvideo You can do that at the official WordPress jobs board at https://jobs.wordpress.net/post-a-job/
Hi @techsector7,
Thanks for your interest in submitting the Serbian (Latin) translation of BuddyPress! You’re most welcome to do so. Looking at https://translate.wordpress.org/projects/wp-plugins/buddypress/ the Serbian translation of BP is at 15% for the stable version and 6% for the development version.
Become a Translation Editor and select BuddyPress. Choose your preferred language e.g. German. Then select ‘Stable (latest release)’ or ‘Development (trunk)’. The translation needs to be at least 90% complete to be approved for the Stable/Dev languages.