Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 2,401 through 2,425 (of 22,658 total)
  • Author
    Search Results
  • lookingahead
    Participant

    oh, by the way: my site has user profile creation disabled. also have disabled the ‘extended profiles’ as well as the option to allow users to upload avatars to their profiles.

    i tried re-enabling those things (‘extended profiles’ and ‘allow users to upload avatars’)…..my site stalled, then crashed not long after.

    sooooooo enabling those two things is not an option, lol!

    one interesting thing to note: whenever i use ‘buddypress first letter avatar’ then the buddypress avatar changes to be whatever the plugin says to put there (the first letter of the user’s name)….that’s awesome!! AND i am using that ‘buddypress first letter avatar’ without extended profiles being turned on and also using it without allowing users to upload avatars to their profiles.

    so i know that you CAN indeed change a user’s profile via programming without having to enable those two (annoying, lol) features in BuddyPress.

    i’ve considered modifying that plugin, but to be honest that’s a little above my paygrade. 🙂

    thoughts, @prashantvatsh? is there a simple solution i’m overlooking — a filter or something? no plugin i’ve found (so far) in the WordPress plugin repository can alter the BuddyPress avatar except the ‘buddypress first letter avatar’ plugin.

    lookingahead
    Participant

    hi @prashantvatsh! so i went to that link you posted (above) which then leads to a WPMUDEV thread…which uses an outdated chunk of code that apparently was created to work with a “social login” plugin….and many users from back in 2015 (which is after the code was shared) say it no longer works with their site, and a couple commenters even said it crashed their site. 🙁

    so….is there a filter/code that i can use to get BuddyPress to use the WordPress avatar that I set instead of the BuddyPress avatar…?

    i don’t think that article will help get BuddyPress to use the same avatar that WordPress is using on a site.

    please note: i have gravatars shut off on my site for WordPress and also for BuddyPress. i did it via code for BuddyPress, and am doing it via a plugin for WordPress. i will not be using gravatars…not EVER. 😀

    so now, all i need to know is how to get BuddyPress to use whatever avatar that WordPress is using on a site.

    please also note: i am “forcing” WordPress to use a local avatar….which is exactly what i want. then, if i could only get BuddyPress to use the same avatar that WordPress is using….that would also mean that bbPress will use the same avatar, because bbPress uses whatever avatar BuddyPress uses.

    so…..if i could find a way to get the avatar that WordPress is using to be used by BuddyPress, that would make me SOOO HAPPY!! 😀 it would be the last piece of the puzzle in my website avatar issue.

    main question: can you help me “remove the condition where it is checking if the user has uploaded avatar or not”….?

    follow-up question: in the future, would that mean that BuddyPress’s avatar is always in synch with WordPress’s avatar? in other words, would any changes to the WordPress avatar then automatically show up within BuddyPress (which would then mean bbPress changes too, because bbPress uses the BuddyPress avatar)…?

    thanks in advance for any and all assistance! 🙂

    #282137
    lookingahead
    Participant

    Ohhh, GOT IT!!

    looks like this code is exactly what is needed….i pasted it into a custom plugin and wa-la…credit goes to the fabulous @prashantvatsh! he replied in the support forum on his plugin (the ‘BP Custom Functionalities’ plugin)…like super quick, with the correct solution to me needing to restrict access to a user’s OWN profile. brilliant!

    here’s that support thread:

    https://wordpress.org/support/topic/restrict-access-to-users-own-profile/

    and here’s the code from prashant that i wound up putting into a custom plugin file and uploading to my site:

    add_action( 'wp', 'bp_own_profile_member_redirect' );
    function bp_own_profile_member_redirect(){
    	if(bp_is_user()){
    	    global $bp;
    	    $current_user_id = (int) trim($bp->loggedin_user->id);
    	    $member_id  = (int) trim($bp->displayed_user->id);
    	    if (!current_user_can('manage_options') && $current_user_id == $member_id)
    	    {
                    //Only admins can view their own profile
    	        wp_redirect(site_url()); //you can set any URL here
    	        exit;
    	    }
    	}
    }

    thanks again for all your help, @venutius — your help was fundamental to me figuring out the next steps (how the BuddyPress avatars exist and how to get those avatars to show what i wanted without messing with bbPress code)…i am truly grateful for all your assistance!

    #282133
    lookingahead
    Participant

    @venutius oh thanks for the suggestions, appreciate the plugin links…but they don’t accomplish what i need to do

    i need specific avatars for classes of users, ones that correspond to the styling and hierarchy of my site

    so identicons being ‘fun’…? sadly i don’t need fun, lol….i need a streamlined business look and fun with random identicons won’t work

    and creating local gravatar avatars for users that ‘don’t have one’ is also random — not corresponding with my site; if i wanted to have default gravatar avatars populate i’d just choose the options that come with WordPress by default — that already is an option

    and gravatar is incredibly cumbersome with its pinging to the servers where the gravatars are stored….it may seem minor to many, but it does burden a site

    plus, gravatars have weak coding that allow the email address of the user to be ‘scraped’ by bots

    so to protect my users from future spam and to keep my site as speedy as possible AND to have my site avatars correspond to the styling of my site i need gravatars to never ever ever be used, and nothing random either

    #282132
    Venutius
    Moderator

    I’ve found a couple of plugins for you to look at:

    BP Local Avatars

    And there is henry’s plugin:

    BuddyPress Identicons

    #282118
    Venutius
    Moderator

    What about – https://wordpress.org/plugins/disable-user-gravatar/ to disable the gravatar?

    #282102

    In reply to: Avatar blurred

    Venutius
    Moderator

    Might be an idea to raise this as a feature request on Trac – https://buddypress.trac.wordpress.org/ Maybe they can set the cropping window to max size as a solution?

    #282093
    alriknijdam
    Participant

    This was already including my childtheme & custom functions.php.
    Literally everything slightly related to wordpress was checked.

    Best regards,

    #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

    #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…).

    #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.

    #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' );
    #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

    #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?

    #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

    Prashant Singh
    Participant
    #281160
    neilscott
    Participant

    OK, it looks like I was wrong. If “manage_network_users” is enabled, the administrator can edit the WordPress user profile but NOT the BuddyPress extended profile. So, the question is: how can this be enabled in BuddyPress?

    #281159
    neilscott
    Participant

    According to this link, it seems like this is part of WordPress core. Surely there must be some way to enable user management by admin without making them a super admin.

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