Search Results for 'wordpress'
-
Search Results
-
Topic: Translating directory-names
Trying for days now to find out why I can’t get certain words ytanslated into Dutch. I have used Locotranslate but I can’t translate the Directory-names and the meta “posted by”. U use stable.po- en -mo. files. Created a file content/languages/Buddypress/ but no changes.
Anyone tips? thanks in advance!Screenshot: Screnshot
wordpress 5.8
BuddyPress 9.0.0
Link to the site: https://xpartij.nl/Hello,
in our registration form we have two areas with the following fields (all required):
Account details (WordPress):
– field “user name”
– field “email”
– field “choose a password”
– field “repeat chosen password”Profile details (BuddyPress):
– field “name”
– field “first name”
– field “last name”Actually we don’t need the fields “user name” (WordPress) and “name” (BuddyPress).
We want to use only first name and last name (no user name, name, nickname, whatever). Is that possible?
With that we want to make the registration easier to our users and we also want to sort the members directory according to the last name. Is that also possible?
Best regards
How to get the BP profile pic to be used as the wordpress avatar
Hi
I just updated or WordPress site and plugins and we have an error in uploading avatar, within the “change avatar” page. It gives me an HTTP ERROR. I tried temporarily removing all plugins, different themes still the error remains. This is a critical error since its a very heavily used feature within our community. Not sure what to do, Trying to look at temporary alternative while getting this to work.Also when I look at the web console, when I get an HTTP ERROR, it shows there was an internal error with wp-admin/admin.php. Trying to get it fixed ASAP any help is appreciated.
Hello Guys,
I am creating a post subscription. When any user subscribe to any post I want to send them notifications about comments and post activities. I am adding custom notifications to buddypress. Notifications are adding but in frontend the title of notification is not showing. I checked many forums but did not find any solution.
Below is my code:
public function __construct() { add_filter( 'bp_notifications_get_registered_components', array($this,'custom_filter_notifications_get_registered_components'),20 ); add_filter( 'bp_notifications_get_notifications_for_user', array($this,'custom_format_buddypress_notifications'), 10, 7 ); add_action( 'wp_insert_comment', array($this,'bp_custom_add_notification'), 99, 2 ); } For custom component public function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'custom' ); // Return component's with 'custom' appended return $component_names; } For notification formatting public function custom_format_buddypress_notifications( $content, $item_id, $secondary_item_id, $total_items, $format = 'string', $action, $component ) { if ( 'custom_action' === $action ){ $comment = get_comment( $item_id ); $custom_title = $comment->comment_author . ' commented on the post ' . get_the_title( $comment->comment_post_ID ); $custom_link = get_comment_link( $comment ); $custom_text = $comment->comment_author . ' commented on your post ' . get_the_title( $comment->comment_post_ID ); // WordPress Toolbar if ( 'string' === $format ) { $data_to_return = apply_filters_ref_array( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $data_to_return = apply_filters_ref_array( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $item_id, $secondary_item_id ); } return $data_to_return; } else{ return $action; } } For adding notification public function bp_custom_add_notification( $comment_id, $comment_object ) { $subscribed_user = get_post_meta( $comment_object->comment_post_ID , 'subscribed_user',true ); if(!empty($subscribed_user) && is_array($subscribed_user)){ for ($i=0; $i < count($subscribed_user); $i++) { if ( bp_is_active( 'notifications' ) ) { bp_notifications_add_notification( array( 'user_id' => $subscribed_user[$i], 'item_id' => $comment_id, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } } }Please suggest best possible way to fix this issue.
Thank You
Hello,
I have WordPress 5.7 and buddypress 8.0. When I upgrade to buddypress 9.0. A widget location (“BuddyPress member home page”) that I was using for render some html code in buddypress profile has disappears.I tried upgrading WordPress in case the problem was related to the new widget manager. But the problem persists.
Any recommendations on how to get that widget location to appear again?
Good morning.
For several days I have a problem that consists in the possibility of extracting from the site I am creating the data entered by users in the registration / registration form, in which I have added several fields with the BuddyPress Xprofile Custom Field Types plugin.
I have tried several plugins and all of them only allow you to extract the base fields. I am wondering if the add fields plugin allows you to add other fields as base fields why do the plugins I have tried do not recognize these fields as base fields?
The creator of one of the plugins used told me that the additional fields do not end up in the database or are not considered as metadata because buddypress uses its own tables.
So how can I do to extract user data into a single csv or excel file?
It is strange that this function does not happen as a basic function of buddypress …The extraction plugins used are:
LH Buddypress Export Xprofile Data
LH Export Users to CSV
Import users and customers from CSV
WordPress Users & WooCommerce Customers Import Export (BASIC)I hope there will be some users who can help me.
Thank youTopic: Logging out to home page
Hi,
Upon clicking the Buddypress ‘log out’ I am taken to the WordPress login page but I want to go to the site’s home page. How can I do this?
Thanks
Hi Guys
I am having trouble with newly added buddypress member types not having access to members BUT they are able to view forums. (image3)
I manually assign people to this member type via the wordpress dashboard.
My members assigned to the 1st member type I set up can see the members of the newly created member type (image 4 & 5)
I am using paid membership pro for my membership and set up the parameters in paid membership pro via the wordpress dashboard (image 1 & 2)
It acts like the database is not being updated with the new member type
I am stumped can anyone help please. 🙂I’ve buddypress installed.
I need display count of total activities / posts.As I am new to PHP, can anyone help me to achieve this?
Buddypress Version: 9.0.0
Wordpress Version: 5.8
Website Link: https://7cloud.dev/activity/Hello,
Have integrated BuddyPress with WordPress and I want my subscribers to be able to access the Settings sections and be able to change their passwords and email addresses.
When they try changing their passwords..They get logout the error message “You must log in to access the page you requested”
I also tried and deactivated all the plugins and changed the theme but am still getting the same issue.See my link below
Topic: Emails not being sent
So I’m working on a little project, trying to grasp the workings of WordPress. I’ve created a website, currently still on localhost, and installed buddypress. My problem is that I can’t seem to send buddypress emails like the activation one, even though regular WordPress emails like the reset password email are sent correctly. I currently have WP Mail SMTP setup with a personal Gmail account of mine so I can easily see which emails are sent or not and even though WordPress says the activation emails are sent as the counter in the user tab displays, in my email no mails were ever sent. What can I do to troubleshoot the situation?
Edit: buddypress version is 9.0.0
I have created a study website where user can access online courses. I am using the buddyboss theme with WordPress 5.7.2 version. I want to add a feature called “Study-Buddy” which shows a random user from only the student user type. If the user hits the ‘Find Study-Buddy’ button it shows a random student. If the student doesn’t like the random choice then he/she can find another one. Can anyone please suggest how can I implement this feature.