Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • @catwomanbadkitty

    Participant

    Thanks @shanebp
    Works perfectly!
    Linking the author page through to the profile page is in my opinion the best way to join WordPress to Buddypress because it allows viewers looking at blogs on the author page to choose to click through to the bp profile or to continue to look at more blog posts by category.
    Thanks a lot for the code. Great solution!

    @catwomanbadkitty

    Participant

    The Mystery Man image is selected in Settings > Discussion.
    What is happening is that Buddypress is assigning a new user id # to new members but the folder for that user id # still exists so they are inheriting an old image avatar. When they go to upload their avatar for the first time the old deleted profile image appears instead of the Mystery Man image.
    I suppose a quick fix is to FTP into the wp-content/uploads/avatars folder and delete out any of the deleted user folders so that this doesn’t happen.

    I would think that Buddypress would delete these old avatar image folders when users or admin decide to delete a profile. When plugins are deleted the folders are deleted from the server so I am not sure why the avatar files should be any different.

    @catwomanbadkitty

    Participant

    If you are not using the buddypress default theme this error is not an issue. To get it to go away you can drop a blank adminbar.css file into the location on the error log and the error will go away.
    Of course if you upgrade Buddypress you will have to do this again but it is a temporary fix to get the error off your radar.

    @catwomanbadkitty

    Participant

    Still trying to solve this issue. I made sure this was not an ownership or permission error by doing some work from the command line in Putty. So that is not the problem.
    I am unsure why I am supposed to clear my cache. If you meant my browser cache then this doesn’t make sense because the avatar files are not being deleted from the server. I have only 5 users at the moment and over 15 avatar folders with images from old test users.
    If you meant using a caching plugin then the ones that I have looked at are for blog and comment caching and don’t mention avatars. I think the caching plugins are only for database entries. Avatars are uploaded to the server and remain there.
    So again, if anyone knows if the old deleted user avatars are supposed to be deleted automatically when a user deletes their account, please weigh in. I would appreciate it!

    @catwomanbadkitty

    Participant

    I would like to ask my original question again because it still hasn’t been adressed: When a member deletes his or her profile, are the avatars supposed to remain in the folder:
    wp-content/uploads/avatars
    Or are they supposed to get deleted out?
    Is it possible that they are not being deleted due to permission errors on the avatars folder?

    @catwomanbadkitty

    Participant

    Thanks for the reply. I am on a VPS with Digital Ocean so I don’t have a control panel. I will put in a support ticket to see if they can help me find the log file using FTP or from the command line.
    Regarding clearing the cache, do I have to install a caching plugin for that or is it possible to clear cache from dashboard?
    I tried the registration process from the default Buddypress theme and it happened again. The new user is picking up one of the existing avatar upload folders and inheriting the image by default. The old image appears in the profile before I even get a chance to select a new profile image.
    The site is in maintenance mode but I will leave it open for now. Here is one of the new profiles that is inheriting a test image: http://www.uberon.net/goblinqueen/
    Thanks for your feedback!

    @catwomanbadkitty

    Participant

    Should deleted member profile avatars remain in the wp-content/uploads/avatars folder? It seems like the old avatar folders are not being deleted so when a new member signs up the old image remains and is automatically shown in their profile.

    Could this be some type of permission issue with my old avatar files not being deleted? I am not familiar with where to check the error log so some advice is welcomed.

    @catwomanbadkitty

    Participant

    Not sure why my code got cut off. Will try it again:

    <h2 class="author-title">Posts By <a href="<?php the_author_posts_link(); ?>"><?php the_author_meta('display_name', $author_id); ?></a> </h2>

    @catwomanbadkitty

    Participant

    I’m having the same problem on Buddypress 1.8.1 and latest WP 3.6. I am using Suffusion as my theme. The Leave Group button is appearing twice on the Groups list page on each group description.
    To fix this I went into my child theme folder and edited groups/groups-loop.php

    I deleted the following:

    Line 40 <?php bp_group_join_button() ?>

    Line 46 <?php do_action( ‘bp_directory_groups_actions’ ) ?>

    If you do this then users will not be able to join groups from the Groups list page but will have to click on the link for a group and then click the Join Group button from the Group description page. If you want to keep a Join/Leave group button on the Group list page then you will have to experiment with leaving line 46 most likely.

    @catwomanbadkitty

    Participant

    Great! It worked like a charm.
    I will go and undo my work around and use your code instead.
    Thank you so much for helping me!

    @catwomanbadkitty

    Participant

    Does that go into the functions.php in my child theme folder or the bp-custom.php in my plugins folder or does it matter?
    Thanks for your help!

    @catwomanbadkitty

    Participant

    The above plugin does not exist and the code must be outdated.

    I am on Buddypress 1.8.1 and WordPress 3.6. I want to remove Activity from the member profile. I was able to style it out by placing the following into my childtheme CSS file:

    #user-activity {
    display: none;
    }

    I then made my Profile tab display first using the following in bp-custom.php:

    // define the profile tab that opens by default
    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    So activity does not appear, however if you type in the URL: mysite/members/username/activity the Activity stream is still there.

    Any best practices for getting rid of Activity in the Profile.
    I also want to make changes to the main Activity stream and Group Activity stream so a point to good resources would be great.

Viewing 12 replies - 1 through 12 (of 12 total)
Skip to toolbar