Search Results for 'buddypress'
-
AuthorSearch Results
-
February 26, 2019 at 9:59 am #303117
MorgunovVit
ParticipantHi!
There’s an error on BuddyPress profile page:
content.js:3 E_NOTICE Undefined index: Полное имя – /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:159
#44 /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:139 – BP_Core_User->populate()As I can gues – it related to xprofile fields. It seems that I removed the field ‘Полное имя’ that was created before on the Users Profile Fields page.
And now php string:
$this->fullname = esc_attr( $this->profile_data[$full_name_field_name][‘field_data’] );
in plugins/buddypress/bp-core/classes/class-bp-core-user.php
causes an error.Could you help me?
WordPress version 5.1
BuddyPress Version: 4.2.0
Site URL: https://test.mc21academy.ru/February 26, 2019 at 9:24 am #303114In reply to: Help with ucommerce
shanebp
ModeratorThis is the support site for BuddyPress which does not offer forums.
Please ask questions about forums on the support site for bbPress.February 25, 2019 at 4:41 pm #303091In reply to: bp_the_member() in admin-ajax
Darren Cooney
ParticipantThanks for the reply.
They are not in the loop because I’m using a plugin, Ajax Load More to render users and it creates it’s own loop using theWP_User_Querynot buddypress methods.Appreciate the direction to the
BP_XProfile_ProfileDatamethod. I’ll check this out.February 25, 2019 at 4:36 pm #303090In reply to: bp_the_member() in admin-ajax
shanebp
ModeratorWhy is it no longer
in the loop?How are you gathering your list of users?
Have you tried, in your ajax function, using BP_User_Query ? You can then use a loop andbp_the_member()will work.Otherwise, you can use this is get each separate piece of a user’s profile data:
xprofile_get_field_data( $field, $user_id = 0, $multi_format = 'array' )To get all the profile data at once, if you have the email address you could use
bp_xprofile_personal_data_exporter( $email_address )Or if you only have the
user_id, you could use:BP_XProfile_ProfileData::get_all_for_user( $user_id )February 25, 2019 at 6:47 am #303077Smith Giulia
ParticipantYes the issue gets resolved when you revert back to Buddypress 2.9.4. Many of them are facing the same issue & it needs to be fixed ASAP. I believe that the issue lies with the Buddypress 3.0.0 + updates. Please developer have a look & try to resolve it ASAP.
February 25, 2019 at 5:13 am #303076dennis.cabasal
ParticipantHi,
I try the new version 4.2.0 but still got the same issue as I reported 8 months ago: “Users Profile Settings option page is not working.”. so I am reverting it back again to my previous version of Buddypress 2.9.3.
Thanks
February 24, 2019 at 4:32 pm #303069In reply to: Prevent banned words from deleting the user’s post?
shanebp
ModeratorHave you tried using the filter hooks to write functions that bypass the blacklist and moderation checks? You can find the hooks in this file:
buddypress\bp-core\bp-core-moderation.phpFor example, this could go in your theme > functions.php or in bp-custom.php :
function bp_bypass_checks( $flag, $user_id, $title, $content ) { return true; } add_filter( 'bp_bypass_check_for_blacklist', 'bp_bypass_checks', 1, 4 ); add_filter( 'bp_bypass_check_for_moderation', 'bp_bypass_checks', 1, 4 );February 24, 2019 at 2:06 pm #303067In reply to: Force Full width of Profile page
Fierce God
ParticipantHello????
I ask this, due to when a mobile user or public is looking at website, the buddypress profile doesnt adapt to mobile view and you get a half look at someones profile page?
Plz, i know someone out all these ppl knows how to adjust the profile pages…..
and the answer to this
February 24, 2019 at 1:00 pm #303066In reply to: Prevent banned words from deleting the user’s post?
FTLRalph
ParticipantIt does look like it’s a bp-legacy thing.
I’m no JavaScript guy but in the js file included in default bp-legacy themes there appears to be this code which is the only place I can force it to cancel the form submission, but I’d need to detect something is wrong here in the JavaScript first.
This is the relevant section of the buddypress-activity.js file:
// Submitting comments and replies if ( 'ac_form_submit' === target.prop( 'name' ) ) { var comment_content, comment_data; form = target.closest( 'form' ); item_id = activity_id; // Stop event propagation event.preventDefault(); if ( target.closest( 'li' ).data( 'bp-activity-comment-id' ) ) { item_id = target.closest( 'li' ).data( 'bp-activity-comment-id' ); } comment_content = $( form ).find( 'textarea' ).first(); target.addClass( 'loading' ).prop( 'disabled', true ); comment_content.addClass( 'loading' ).prop( 'disabled', true ); comment_data = { action : 'new_activity_comment', _wpnonce_new_activity_comment : $( '#_wpnonce_new_activity_comment' ).val(), comment_id : item_id, form_id : activity_id, content : comment_content.val() }; // Add the Akismet nonce if it exists if ( $( '#_bp_as_nonce_' + activity_id ).val() ) { comment_data['_bp_as_nonce_' + activity_id] = $( '#_bp_as_nonce_' + activity_id ).val(); } parent.ajax( comment_data, 'activity' ).done( function( response ) { target.removeClass( 'loading' ); comment_content.removeClass( 'loading' ); $( '.acomment-reply' ).attr( 'aria-expanded', 'false' ); // etc...February 22, 2019 at 11:58 am #303049In reply to: Update Display Name Using XProfile Data
MorgunovVit
ParticipantHi!
I’ve solved it! If somebody interesting of it, there’s the solutions here: https://buddypress.org/support/topic/how-to-set-display_name-xprofile-custom_field-at-the-user-registration/February 22, 2019 at 9:15 am #303044In reply to: BP Private message issue
Venutius
ModeratorYour best bet is to first deactivate all other plugins apart from BuddyPress and see if you user still have the issue. Then you can rule out a conflict.
February 21, 2019 at 10:11 pm #303037In reply to: Comments notifications in Events Manager
shanebp
ModeratorYou need to ask Events Manager support questions about appropriate hooks.
Once you have that info, you can add your own notifications.
February 21, 2019 at 9:32 pm #303034February 20, 2019 at 6:55 pm #303010In reply to: How restrict the create group for one user
Venutius
ModeratorI’ve a plugin for that: https://wordpress.org/plugins/buddypress-restrict-group-creation/
February 20, 2019 at 6:34 pm #303008In reply to: Create a new Extended Profile (xProfile) field type
Tenacoious Blind Girl
Participant>>By the way, really are there no official documentation about it? Someone have to search all the BuddyPress code (ora a third party plugin code) trying to understand how to do it? ????
Hi ShMK,
I’m in the same boat. I found a link on the BudDev site with a bunch of shortcodes. Hope this helps.https://buddydev.com/docs/buddypress-shortcodes/buddypress-blogs-list-shortcode/
February 20, 2019 at 5:56 pm #303006Venutius
ModeratorThe first question is if you have overloaded any template files? These would be located in
themes/your-child-theme/buddypressIf you have files in directories in there then switching the BP Theme could cause errors.
If not then it’s worth switching to Legacy just to see if it works. However that’s not really solving the issue and if you are getting JS errors the same errors could stop the Legacy theme from working too.
Nouveau is the latest BP Theme ans it came with extra customisation options in Customizer but if you have not used these then there’s very little difference between the two theme views.
Might be worth letting me know what those error are so I can advise further. The other option would be to deactivate all of your other plugins and see if that fixes the problem but it’s a bit longwinded if you have some errors – better to address those first.
February 20, 2019 at 5:27 pm #303004moncolis
ParticipantYes I have 2 errors. But Iam not a proffesional, Im scaring to crash all the site.
First should I use the Buddypress legacy if it’s resolve my problem?
What’s the differece between Legacy and Nouveau ? It very important if I change the template ?
February 20, 2019 at 5:08 pm #303001moncolis
Participantok, yes it’s Buddypress nouveau
February 20, 2019 at 5:07 pm #303000Venutius
ModeratorIf you look in Settings>>BuddyPress>>Options you can see which template is configured, it’s either Legacy or Nouveau.
February 20, 2019 at 5:03 pm #302998moncolis
ParticipantBuddypress Version 4.1.0
February 20, 2019 at 12:51 pm #302987In reply to: Create a new Extended Profile (xProfile) field type
ShMk
ParticipantThanks for the link 🙂
By the way, really are there no official documentation about it? Someone have to search all the BuddyPress code (ora a third party plugin code) trying to understand how to do it? 😐
February 20, 2019 at 10:24 am #302980In reply to: Formating the sliders
Venutius
ModeratorI think you are talking about something not added by BuddyPress. You need to refer this to the specific plugin developer in question.
February 20, 2019 at 6:52 am #302972JanDieckmann
ParticipantHello and sorry for bringing up again this old topic, but now it can be closed and considered resolved. After some month of ignoring that issue I came back to take care for the concerned website and still had the same problem.
I saw that the related ticket is closed and marked as fixed. And I can acknowledge that the group pages are showing up on other installations, but on this particular site it consisted.
So I tried again with changing the theme, deactivating all plugins, reinstalling buddypress and so on without success to finally figure out that it has had something to do with my bp-custom.php. After deleting it, it works, the group pages are shown again. I created a new bp-custom.php copied the content from the old one and it still works. Don’t know what happened or where might be an unnoticed character.
Thanks for taking care, developing and maintaining Buddypress!
February 18, 2019 at 3:25 pm #302937In reply to: Custom notification text don’t show on front page
shanebp
ModeratorUntested, but try:
function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { // New custom notifications if ( 'custom_action' === $action ) { $custom_title = "You have new custom notification"; $custom_link = get_permalink( $item_id ); $custom_text = "You have a new custom notification"; // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( '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 { $return = apply_filters( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $item_id, $secondary_item_id ); } return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 20, 5 );February 18, 2019 at 4:19 am #302932In reply to: Regarding Profile Fields in Backend User Panel
Varun Dubey
Participant@sitesfromash All the fields you keep in base group, those will be visible at registration page
For details you can check https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/ -
AuthorSearch Results