Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 2,401 through 2,425 (of 22,713 total)
  • Author
    Search Results
  • #282068
    Venutius
    Moderator

    Hi there,

    If you are using BP Nouveau the sitewide notice widget is not supported:

    https://buddypress.trac.wordpress.org/ticket/7893

    #282066
    bumblebeegames
    Participant

    Hello, Buddies.
    I’ve got a weird issue here: I’m running a WP4.9.8 site running with BuddyPress 3.2.0. I’ve also setup a custom registration panel using “Membership Pro Ultimate WP”. This is correctly transferring the First and Last name from the registration screen into the WordPress default First Name and Last Name field.
    As I am primarilly using custom extended profile fields, I have written this script to fill in the extended fields as well:

    function update_extended_fields( $user_id ) {

    $user_info = get_userdata($user_id);
    $first_name = $user_info->first_name;
    $last_name = $user_info->last_name;
    $current_first = bp_get_profile_field_data( array( ‘field’ => ‘First Name’, ‘user_id’ => $user_id ) );
    $current_last = bp_get_profile_field_data( array( ‘field’ => ‘Last Name’, ‘user_id’ => $user_id ) );
    if ($current_first==””) {
    xprofile_set_field_data( “First Name”, $user_id, $first_name, $is_required = true );
    }
    if ($current_last==””) {
    xprofile_set_field_data( “Last Name”, $user_id, $last_name, $is_required = true );
    }
    wp_update_user( array( ‘ID’ => $user_id, ‘last_name’ => $last_name ) );
    //xprofile_set_field_data( “field_42”, $user_id, $company, $is_required = false );
    }
    add_action( ‘user_register’, ‘update_extended_fields’, 10, 1 );

    This is all working perfectly fine … until I edit the profile using buddypress on the frontend. After editing and saving it, the user’s WordPress Last Name gets lost. The extended field is still being displayed correctly.
    Any idea why this is happening?
    Thanks a lot!

    #282065
    jaybury7
    Participant

    Hi there the site wide notice widget is not appearing in my widget lists. The other widgets appear.

    The problem persists when I switch to the Twenty Fifteen theme.

    Wordpress version 4.9.8
    Buddypress version 3.2.0
    my site https://www.ac.glitterandpaperclips.com

    thanks for your help

    #282062
    #282050

    In reply to: Hackers Getting In….

    Venutius
    Moderator

    Ah great! Glad that one is solved. It’s only half of the solution though. These bots will still plague your site with registration requests. To get rid of those try https://wordpress.org/plugins/simple-google-recaptcha/ thi sworked like a treat on my sites, totally eliminating spam bot registrations (for now…).

    #282009
    alriknijdam
    Participant

    Hi there

    I came across a fatal PHP error in my debug.log. Hope you can fix this or help me fix it.
    PHP Fatal error: Cannot redeclare bp_members_screen_display_profile() (previously declared in /.../buddypress/bp-members/screens/profile.php:22) in /.../buddypress/bp-members/screens/profile.php on line 32

    WordPress version: 4.9.8
    BuddyPress version: 3.2.0
    Site: https://vespa-ciao.nl

    Best regards,
    Alrik

    #282008
    Venutius
    Moderator

    This plugin looks like it could be very handy for your quest:

    BP xProfile Location

    #281940
    shanebp
    Moderator

    I cannot duplicate this using PHP Version 7.0.26

    As you probably know, it’s just a warning and can safely be ignored.
    And won’t be visible when you turn debug off.

    afaik, part of the next release is cleaning up some calls re PHP 7+

    If you’d like to open a ticket, you can do so here.
    Be sure to include the steps necessary to reproduce, including which template pack you have selected in Settings > BP > Options.

    #281913
    grimbot
    Participant

    Buddypress Version: 3.2.0
    WordPress Version: 4.9.8
    Theme: Child Theme of 2014
    PHP Version: 7.2.11

    Error description:

    User profile has no friends.. that’s not a problem.. lol..

    Problem is where it shows the friends I get this error:

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 154

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 155

    Sorry, no members were found.

    #281912
    dennymar
    Participant

    Hello,

    Is it possible to edit the permalink/url when a member visits their profile page?

    It currently displays as
    gnz.me/connect/membername (connect is the name of the member page)

    I’d like to update this to go directly to the profile page
    gnz.me/membername

    Wordpress Version 4.9.8
    BP Version 3.2.0
    Website: gnz.me

    #281894
    david22c
    Participant

    Hi,
    Would someone be kind enough to help me with changing a buddypress error message? (wordpress 4.9.8, buddypress 3.1.0)

    I am restricting private messaging to user’s friends/connections. Currently, the error message returned when sending a private message to someone not in your network is “Message not sent. Please try again.” which doesn’t make sense. I would like it to say something like, “Sorry, you can only send a private message to connections in your network.” How might I change this error message?

    I have been using the following code in child functions to restrict private messaging:

    // if not site admin, restrict PMs to friends
    function pp_check_message_recipients( $message_info ) {
    
    //  site admins are not restricted
    if ( is_super_admin() )
    return $message_info;
    
    $recipients = $message_info->recipients;
    
    $friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() ); 
    
    $nf = 0; 
    
    foreach ( $recipients as $key => $recipient ) {
    
    if ( ! in_array( $recipient->user_id, $friend_ids ) ) 
    $nf++;
    
    }
    
    // if any recipients are not friends, remove everyone from the recipient's list
    if (  $nf > 0 ) 
    unset( $message_info->recipients );
    
    return $message_info;
    }
    add_action( 'messages_message_before_save', 'pp_check_message_recipients' );
    Gysbertus11
    Participant

    Hi, Latest version of WordPress and BuddyPress, Customizr Theme. In the case of changing the BuddyPress CSS I use buddypress.css located in mychildtheme/BuddyPress/CSS and can thus still all BuddyPress items but how do I style the main wrapper CSS only when BuddyPress is active?

    I have used .page.id before but I would prefer a action or …. that link it to BuddyPress and not to the page.

    Many thanks

    Marius

    andyol
    Participant

    I am using the plugin Login with Ajax. I want, when the user has confirmed his/her registration, to be taken to the Ajax login screen when clicking the call-to-action button on the “you have been confirmed” page, instead of being taken to the default WordPress login.

    I am using the latest version of both BuddyPress and WordPress.

    I’m sure the solution is easier than I think, but I frankly do not have time to troubleshoot right now; your help is appreciated!

    In advance, thank you!

    Gysbertus11
    Participant

    Hi Team, Great plugin, and awesome goodies to add through other plugins. I am a novice and spend 4 days no reading about all the wonderful things one can do. So based on this article:
    http://buddyuser.com/buddypress-customisation-tips which consolidate many peoples excellent work I started the process to make some changes to my Buddypress installation. The changes of CSS work great and I can style any item using Chrome Inspect followed by adding the changes into mychildtheme/CSS/buddypress 2.css. Great thanks to all the various articles and snippets!!!

    Where the problem comes in is when I want to change any of the xxx-loop.php. I know through Inspect that the files in mychildtheme/buddypress/members/members-loop.php are not used.
    I am using the Legacy Templates latest versions of WordPress and BuddyPress.

    Please give guidance on: How to get WordPress and/or BuddyPress to use these files

    Marius

    #281880
    Prashant Singh
    Participant
    #281879
    Prashant Singh
    Participant

    Hi,

    These are general problems and not associated with BuddyPress at all. Sometimes we only need to google it and we will find the solution.

    Anyways, please check this https://webania.net/customize-email-sending-header-in-wordpress/ and use the snippet they gave, just replace from ‘name’ and ’email’ to yours.

    Thanks

    John
    Participant

    Is it possible to change the ‘Edit Profile’ link that appears in the ‘Edit Member’ menu in the WordPress admin bar? screenshot

    I want to change this to link to the user profile page in admin.

    I would also like to remove ‘Edit Profile Photo’ and ‘User Capabilities’ menu items if that’s possible.

    BP:3.2.0, WP:4.9.8

    Thanks,
    John

    #281854
    rgutierrez1014
    Participant

    Anyone have an update on this? I’ve resorted to changing the active components manually since I can’t get them to keep their state when I login to WordPress after

    #281846
    shanebp
    Moderator
    #281843
    Design Team
    Participant

    I have all plugins except for BuddyPress disabled and also have switched out to a basic WordPress theme again but still am not getting any sort of confirmation messages/notices when I save a new password change. I’ve checked in my BuddyPress files as well (am running the Nouveau template but have tried switching between that and Legacy to see if it would fix anything) and both have the proper code you specified in it, but nothing’s showing up.

    #281842
    Prashant Singh
    Participant
    #281841
    Prashant Singh
    Participant

    Hi,

    Please try this plugin https://wordpress.org/plugins/shortcodes-for-buddypress/ and use members listing shortcode to get the content of the members directory page.

    Thanks

    #281839
    Design Team
    Participant

    I have tried changing a test account’s password. I changed to a basic WordPress theme and it didn’t have that message at all. Any idea where that’s located?

    Design Team
    Participant

    I’m trying to find a way to have a confirmation/success message appear after a user changes their password in their settings. Right now it just refreshes the page once they click “save” and we’ve had users complain that they don’t know if their password change worked or not.

    I’ve tried switching WordPress themes but none of them are making any sort of confirmation message appear, so I don’t think it’s built in. Any ideas on how to add one?

    #281822
    Anonymous User 16484011
    Inactive

    Hi !

    Prashant,

    Thanks again.

    Sorry for delay in reply because I want experiments on your above article.

    I read the whole third part of your above link. But it’s for making a plugin. I tried direct the changes to a demo wordpress installation php files but it’s not works for me. I mashed up because I haven’t core developer.

    Can any other things or plugin solve my problem ?

    I found on net about the same problem’s solution. I got the plugin pie for the same.

    In this plugin I am able to add forgot password page template. Just go to pie register-> Notification -> Select tab User notification-> select template from dropdown “Password reset request”.

    But after user fill password reset form when they click …
    1) User got a link with token. I don’t want this ? I send just only token without link like otp.
    2) After clicking user must redirect to page where they can paste the key which they received.
    3) After pasting the key I have two options…
    A) Either user redirect to create a new password and confirm password page.
    B) OR user got a new password via mail which auto generated by site to their registered mail id.

    Thanks and Regards

Viewing 25 results - 2,401 through 2,425 (of 22,713 total)
Skip to toolbar