Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 5,526 through 5,550 (of 68,916 total)
  • Author
    Search Results
  • #282214
    lookingahead
    Participant

    OMG…THE LINK DID NOT POST LOOOOOL…..

    Because I’m like a ‘spammer’ or something right? Hahaa…

    DEAR GOD.

    MAN I HOPE THIS ONE WORKS LOOOOOL:

    https://buddydev.com/using-different-default-avatar-buddypress-users-based-profile-fields-member-type/

    #282213
    lookingahead
    Participant

    Screw it. I tried to post the code in various ways, but I don’t have time to spend trying to post A SIMPLE COMMENT FFS.

    Go to this link and use the code specified in the file.

    I hope it’s still available years later when someone stumbles across this comment thread.

    BuddyPress forums need some sort of fix for this crap. What an incredible waste of time and energy, just to post a helpful comment that contained code. I’m not a freaking spammer. I mean, if your forum software is needing to be THAT sensitive to fight spam, make us do captchas or some crap to verify we’re ‘human.’

    Ya know, I get why spam filters exist, but when they make a site UNUSABLE FOR ACTUAL USERS then your technology is worthless.

    Anyhow…lol, end of rant. Here is the link:

    I hope this solution helps others as much as it’s helped me. <3

    #282211
    lookingahead
    Participant

    OH FFS, BuddyPress keeps telling me I ‘move too fast’…then I go to post the response and it says I’ve ‘already said that’…DEAR GOD, lol…..

    That means I have to wait, idk, HOW LONG to post again?

    And why is it that even when I’m not ‘moving too fast’ that BuddyPress HATES me posting a solution that contains code — even when I format it correctly?

    Dear God.

    #282205
    lookingahead
    Participant

    OH guess what…? 😀 Figured it out.

    I have a solution that so, sooo…..SSOOOOOOO many other people have been looking for, and I’m elated to say I’ve found it.

    Been cruising Stack Exchange, various WordPress plugin support threads, installing plugin after plugin, reading blogposts made by developers, comments made by disillusioned masses….I mean, it’s endless.

    But THANK GOD I found a solution!

    So it turns out that the code that BuddyDev mentioned was not to blame for the 500 error I mentioned in my intro. It was actually due to one of the two plugins that is recommended in BuddyDev’s tutorial (and they are now fixing that bug). 🙂

    I figured this out as I tried to reproduce the error while activating plugins in a different sequence.

    The first time I did this, I’d had BuddyPress disabled when I’d installed both plugins. I’d also already put the code mentioned in their tutorial into my bp-custom file. I then activated BuddyPress, and the site failed.

    This time, I had BuddyPress already activated, then installed and activated one of the two plugins BuddyDev recommended to use in the tutorial…and all was well. THEN…I installed the second plugin. And upon clicking ‘Activate’ the site failed again. NOTE: on the second attempt to reproduce the 500 error, I hadn’t put the code from the tutorial into my bp-custom file….

    And according to BuddyDev, even before I tried to reproduce the error, the bp-custom code I was using was sound.

    So when the site failed upon my attempt to reproduce the error, I knew: that plugin was to blame.

    Then, I found out more about that plugin…it is designed to be used for users to have extra fields to fill out upon signup, fields that would show in their Member Profile. And I have Member Profiles disabled. Wa-la!

    I then asked BuddyDev if I needed the plugin that failed…and THANKFULLY they said, ‘no — not needed for what you want to do.’

    WHEW!! 😀

    So, a summary:
    – Use custom code in bp-custom (pasted below)
    – Use one plugin in particular from BuddyDev
    – Do not use another plugin recommended by BuddyDev

    The plugin to DEFINITELY use, that was listed in their tutorial: ‘BuddyPress Member Type Generator’…that affects the ability for Webmasters to set custom member types AND an avatar specific to every custom type created! 😀

    The other plugin that was recommended in that tutorial, that is NOT needed to change user avatars for custom member types…not ever, as it has nothing to do with avatars — it was merely recommended in their tutorial so people could manage user profiles: ‘BP XProfile Member Type Field’

    SO. If you want to have a different default avatar for different member types, then you will need to use the ‘BuddyPress Member Type Generator’ plugin. Not the other one.

    Steps to take:
    1.] Download the ‘BuddyPress Member Type Generator’ plugin from BudyDev

    2.] Read their tutorial (I’ll paste a link below in follow-up comments to this comment)…do everything EXCEPT install the ‘BP XProfile Member Type Field’ plugin — it’s not needed for assigning an avatar via custom member type; it just is recommended in their tutorial to use so you can manage user fields 🙂

    3.] Use the code I’ll also paste below (in the follow-up comments) — modify it to your site’s name but insert your site name where I typed ‘sitenameprivate’…etc.

    4.] For creating more avatars with custom member types in the future, you’ll always have to update that same code in the bp-custom file…via FTP/SFTP; tbh that process is easy as pie once you realize how to do it

    5.] For making your life easier with switching out avatar images for member types without having to re-do the bp-custom file: just save over the image in your media library that is used for that particular member type…so the path is the same and your code won’t need to be changed

    Simple, yet difficult to find.

    Thank GOD FOR BUDDYDEV!!! <3

    #282197
    Kristian Yngve
    Participant

    I started googling stuff from your message, and I got this:

    Template Overload from a Plugin

    It looks super brain surgery style complex, and I was hoping it would of been more like “Use this code, and put it here…” Kinda thing?

    #282192
    Kristian Yngve
    Participant

    WordPress: 4.9.8

    BuddyPress: Version 3.2.0

    #282191
    Kristian Yngve
    Participant

    Some goodens here:

    10 Free BuddyPress Themes

    #282184
    darren1985
    Participant

    Hi.

    I am creating a site and using buddypress to bring a facebook like feel to my site where users can do all the facebook like things (which is working fine), but i also would like to be able to set users as authors to add their own content and assign to a category, again working fine but…

    when you go to add an article all you can do is add a feature image, when you get to the actual article box where you add your text, you i cant seem to figure out how to also allow the user to add images to their article as you would be able to using your wp admin account.

    my site is still in testing but if anyone can help my site is:
    http://www.healthdigital.uk

    #282176
    Venutius
    Moderator

    BuddyPress Friends Widget works for me in Graphene. Have you tried deactivating your other plugins?

    Arrogance is Bliss
    Participant

    Gotta love the dedication of BuddyPress community.

    #282171
    shanebp
    Moderator

    … it sure looks like it’s being loaded but it just keeps reloading the same page

    Well, it’s loading the slug for a single group.
    But something is pulling in another template – perhaps the groups-loop template.

    It seems like your profile pages are heavily customized – can you try it with the standard BP templates ?

    I cannot duplicate this issue.
    Tested with the latest versions of WP & BP with Nouveau, in several themes.

    If you feel you have an issue that can be duplicated by others, you can create a ticket here.
    Be sure to include a link to this thread.
    Be sure to include all the steps necessary to recreate this issue.

    #282170
    rayasunn
    Participant

    Yes, it sure looks like it’s being loaded but it just keeps reloading the same page (the page that links TO the group). Well, after all that – I tried switching to Legacy Buddypress instead of Nouveau and now everything works as I would expect. I can (as an admin and / or a test user) post updates. Any thoughts on that? How long will I be able to run Legacy? Any ideas why these two totally unrelated sites and themes are having the same issue?

    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! 🙂

    #282138
    lookingahead
    Participant

    by the way….here’s a summary of what i did:

    – used the code that venutius posted earlier from the BuddyPress codex page (the ‘Customizing BuddyPress Avatars’ codex page) to set a new default BuddyPress avatar

    – turned on the ‘extended profiles’ and also enabled users to be able to upload avatars

    – used prashant singh’s plugin, ‘BP Custom Functionalities’ to restrict listing of all profiles in the user directory — the directory is ‘still there’ but nobody is in it, lol

    – used a 301 redirect (via the ‘Safe Redirect Manager’ plugin) to redirect anyone who goes to the member directory page to the front page of the site…so the page itself is now not even viewable (not even by Keymasters)

    – used prashant singh’s snippet i pasted here to restrict all users from viewing their own profile…except Keymasters, who can view ALL profiles on the site, even their own (so the ‘users cannot see their own profiles’ doesn’t apply to Keymasters but this does apply to everyone else)

    so happy. 😀

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

    #282134
    lookingahead
    Participant

    @venutius i think you may have missed my last comment before your plugin suggestions…just want to make sure, are you suggesting i use the front end (user profile page generated in buddypress) to change each user’s avatar….or are you suggesting i use the back end (from the dashboard) to change a user’s avatar after i “disable user profile uploads and see if you can change the avatar yourself from the users profile page”…??

    #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

    #282131
    lookingahead
    Participant

    @venutius btw…..i’m referring to the part where you said, “see if you can change the avatar yourself from the users profile page”

    do you mean i should try to change the avatar from the backend, the ‘user profile’ in the dashboard or the user profile page generated in BuddyPress?

    #282130
    lookingahead
    Participant

    @venutius thanks!

    you mean the user’s profile page in the dashboard, or the user profile page that is in BuddyPress?

    #282128
    lookingahead
    Participant

    @venutius if i could juuuust get BuddyPress to use the same avatar that bbPress uses, that would solve basically everything

    that way i could use a plugin that changed the bbPress avatar, and then any change in bbPress’s avatar would show as the avatar for BuddyPress too

    know how to do that?

    #282127
    lookingahead
    Participant

    @venutius agree…..

    thing is, in bbPress there are plugins that easily, and in a lightweight fashion, allow for custom avatars for users

    users can go to their profile in the dashboard and change it

    now, because i also restrict access to the dashboard for users that are not admins, this works. it works because i am then the one, then, that can change the avatars for individual users this way, without having to allow users to change their own avatars, and without enabling the creation of user profiles in BuddyPress

    simple dimple

    but for some godawful reason, even though this means that bbPress avatars can be changed this way via various plugins, BuddyPress doesn’t accept the same change

    i would think that bbPress is not that different, coding-wise, from BuddyPress

    buuuuut hell, i don’t know 😀

    if BuddyPress allowed the customization to happen like bbPress does, of individual avatars from the user dashboard, that would be great

    isn’t there a way to allow BuddyPress to use a bbPress avatar? so i could use the plugin that changes the avatar in bbPress, and then any changes to a bbPress avatar…BuddyPress would show the same avatar???

    #282125
    lookingahead
    Participant

    @venutius ok, will test that code….but even if that code works to change the default avatar in BuddyPress, how would i change the avatar for each user on a case-by-case basis?

    please note: i will not be able to go to the user’s profile to change their avatar, because profiles are disabled. they do not exist.

    i want to be able to change a user’s avatar, but not allow my users to be able to change their own avatar.

    #282120
    Venutius
    Moderator

    You’d just set the default avatar for buddypress:

    The default avatar is the one that appear when a user has not yet uploaded his own avatar. If you’re not a fan of the mystery man, here are the constants that you can use to define your own:

    define ( 'BP_AVATAR_DEFAULT', $img_url );
    define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url );

    Change the the constant to include the URL for the location of your new default avatars and add this to your bp-custom.php file.

    define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' );
    define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' );

    To use a default avatar without Gravatar you should also add:

    add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );

    #282119
    lookingahead
    Participant

    @venutius glad to have helped — and awesome on updating the page, thanks!

    btw, i’ve shut off user profiles; i do not want my users to be able to update their profiles at all….this is not a social site i’m building, even though buddypress is built with the idea that it resembles something along the lines of facebook…

    my site is going to have groups for the sole purpose of discussion, but not for socializing; i’ve deliberately shut off user profiles so users can’t even see them

    so enabling ‘extended profiles’…wouldn’t that require that i go to the user profile to update an avatar for a user? i’ve disabled that…so even if i were to turn on ‘extended profiles’ how would i be able to upload a user avatar for each user?

    as to that plugin, it works GREAT to shut off gravatar access; it shows the blank BP default image person thing….but even when i pair that plugin with other plugins that allow avatar customization, only bbPress avatars are affected with other plugins; BuddyPress doesn’t work with other plugins that try to get local avatars to show — even if i’ve already shut off the Gravatar display with that fab plugin you linked to (‘disable user gravatar’)

Viewing 25 results - 5,526 through 5,550 (of 68,916 total)
Skip to toolbar