Search Results for 'wordpress'
-
Search Results
-
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?
I’ve found an issue with BuddyPress working with pages created using Elementor. In BuddyPress’ Settings an admin can set the Register page to a page they’ve created. Assigning it isn’t an issue. However, if you assign a page built using Elementor, you can no longer access Elementor’s editing interface for that page. This means even minor text edits aren’t possible.
As long as you leave the Register page set to -None- Elementor’s editing interface works and you can still use the page built as the register page for the site without setting this option in BuddyPress’ Settings. This however, gives the admin this error message constantly:
The following active BuddyPress Components do not have associated WordPress Pages: Register. Repair
If there’s a fix for this let me know. If not, can this be added to BuddyPress’ update list. FYI, I’ve tried this on two sites and gotten the same issue. I’m on the latest updates for WordPress, themes, and plug-ins.
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
I am really want to build a portal review site with multi author/contibutor.
the feature is like this theme https://themeforest.net/item/boombox-viral-buzz-wordpress-theme/16596434.I just need the following features :
1. Anyone can register to the site and have a dedicated panel ( i mean is they are not using WordPress default dashboard.)
2. each member have a profile page with some statistic like a post, comment,viewers, badge etc
3. the last important, each member can submit a post, after they submit the post. the post will be pending for review by admin.I want posts to be shown commonly on the site rather than on author’s profile .
Can It be done with Buddypress?
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/I downloaded and installed a simple Email Template plugin that I like. Here’s the link– (https://wordpress.org/plugins/email-templates/)
The only difference between that one and BuddyPress is that it let’s us add our Custom Logo: which is good for branding.
1.) Can BuddyPress add this functionality to make it possible for us to add our Logo by default?
2.) Can BuddyPress make it possible for the Header to accept HTML Content?
This will be good for us to achieve more flexibility and control.
If BuddyPress will take it a step further, it should make it possible for us to pull dynamic Content into the Header and Footer, and then be able to style these with plain CSS.
Regards.
I’ve buddypress installed.
I need display TOP User by activity / post in the widget area.
Eg. If I’ve posted 100 activites, i.e. more than anyone else, my name is displayed in the widget area.As I am new to PHP, can anyone help me achieving this?
Buddypress Version: 9.0.0
Wordpress Version: 5.8
Website Link: https://7cloud.dev/activity/Topic: Page Settings
I do not have any of the drop-down boxes on the Settings/page for “Register, Group, or Activity and don’t know how to retrieve them. Any help and/or suggestions will be helpful since this is my first time using WordPress.
Thank you in advance,
Steve ClarkHi there,
Create private group is not working. Its going to all-groups page when clicking on to next step button, its going to all-groups from setting instead to adding avatar.
Screnshot: https://prnt.sc/1hl6d83Cutomization for this functionality is also done. But issue is that I have not done this customization. Now I am not able to fix this issue. Can you please help me that why this happen. To create public groups it covers all steps.
Wordpress version: 5.8
buddypress version: 9.0Hello,
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
Hi all,
Experienced in web design but new to WordPress. Working on a theme which relies on buddypress.
I would like to create a C.V. type area on the user’s profile. One section of this area is a list of qualifications. Currently, users can list their qualifications in a textarea.
Instead, I would like to allow users to fill in three fields in that section. So they have ‘qualification name’, ‘result’ and ‘link’. I would also like to allow users the option of uploading an image of their qualification.
I can’t work out where to begin. I downloaded the BuddyPress Custom XProfile Fields plugin, but I can see that this only allows single-field entries.
I have also found this guide: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
But, again, it only shows how to display a single field.
So here there are two problems. The secondary one is that users must be able to create new instances of this qualifications fieldset dynamically, though I expect that the solution to this will become apparent when I’ve solved the main problem.
I need to know how to combine fields, so that when a user enters qualification name, grade and link, it is all stored together, or somehow related in the database, so that a single reference can be used to display each field relating to that particular qualification.