Skip to:
Content
Pages
Categories
Search
Top
Bottom

Featured members: possible to show fewer details?


  • KitWit
    Participant

    @kitwit

    My installation is showing way too much detail about featured members … and random information at that! I’d like to have only the names of the featured members showing, not entire blocks of autobiography or other information. Just the name of the member, please! Any ideas? TIA!

Viewing 10 replies - 1 through 10 (of 10 total)

  • KitWit
    Participant

    @kitwit


    Jeff Sayre
    Participant

    @jeffsayre

    KitWit-

    Where did you get this Featured Members widget version? It does not look like mine.

    My Featured Members widget only show’s avatar and name. You can find it here: https://wordpress.org/extend/plugins/buddypress-featured-members-widget/


    KitWit
    Participant

    @kitwit

    Jeff–

    Uh, this is the widget that comes with BuddyPress … I have not installed any member widgets from any other source … !


    Jeff Sayre
    Participant

    @jeffsayre

    I do not see any BuddyPress widgets entitled “Featured Members” in my v1.0 install of BP. Are you using a version newer than v1.0 from trunk?

    Either way, the widget I linked you to will solve your problem.


    Jeff Sayre
    Participant

    @jeffsayre

    KitWit-

    Okay, I’ve made a mistake. I did not even notice that you had linked to the members’ theme, not the home theme.

    My widget is for the home them. What you’re asking about is not a widget. It is a coded into the /directories/members/index.php file in the bphome theme.

    You can make your own custom theme, edit this out, and get what you want:

    <div class="item-meta"><span class="activity"><?php bp_the_site_member_last_active() ?></span></div>

    <div class="field-data">
    <div class="field-name"><?php bp_the_site_member_total_friend_count() ?></div>
    <div class="field-name xprofile-data"><?php bp_the_site_member_random_profile_data() ?></div>
    </div>

    Just make sure to place your custom theme in the proper place and then select it in WPMU’s backend via “BuddyPress > General Settings > Select theme to use for BuddyPress generated pages”


    KitWit
    Participant

    @kitwit

    Jeff–

    I don’t want to create a new theme, just modify the files so that these featured member profiles don’t show. Are your instructions to show me how to do that? I hope so!

    TIA!

    Kit


    Jeff Sayre
    Participant

    @jeffsayre

    Kit-

    The theme where this is located is in bpmember, not bphome. I’m just not firing on all cylinders today.

    Are your instructions to show me how to do that?

    Yes, you can make these edits in the bpmember theme directly. Just make sure that you have a backup before changing.

    Also, please realize, that if you alter the standard themes and do not rename them, then the next you upgrade BuddyPress, you will lose your theme changes if you copy over the default themes.


    KitWit
    Participant

    @kitwit

    Thanks, Jeff. I assume renaming the theme is simply changing the name of its folder?


    Jeff Sayre
    Participant

    @jeffsayre

    Kit-

    That is correct. Make a copy of the bpmember theme, rename your copy, make whatever changes you want to it, and you have–in effect–a custom theme! Just make sure you keep your new theme in the /wp-content/bp-themes/ directory.

    Once ready for use, log into WPMU’s backend and navigate to “BuddyPress > General Settings > Select theme to use for BuddyPress generated pages”. You should see your newly-named theme as an option in the dropdown box. Select it, save, and you’re ready to go.

    It’s worth doing and it is easy.


    KitWit
    Participant

    @kitwit

    Thank you! Problems solved, and resolved!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Featured members: possible to show fewer details?’ is closed to new replies.
Skip to toolbar