Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Profile fields visible even to anonymous

  • Avatar of truden
    truden
    Participant

    @truden

    Hi everybody,

    I’m in love with and I use BouddyPres from quite a long time on two web sites, and only two days ago I noticed that my profile fields are visible even to anonymous on both of the web sites.
    Isn’t BoddyPress hiding by default those fields from non logged-in users?

    I’m using last versions of WordPress (3.3.1) and BuddyPress (1.5.5).
    onegative.org is on windows server,
    bulgarians.co.za is on Apache.

    I managed to modify @modemlooper “BuddyPress Profile Privacy” plugin, to hide the fields on onegative.org from everyone, but that is not good.
    Can someone advise on the problem or help me to modify the above plugin, so it hides the fields only from anonymous until BuddyPress 1.6 is out with the new profile fields feature.

    Thank You!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of neiloughton
    neiloughton
    Participant

    @neiloughton

    Hello,

    Within that plugin you can set it (without having to modify the plugin) to just to friends, private or public, this is done from within the plugin page within wordpress, this then allows the user to chose on the front end.

    I might also suggest,

    http://bp-tutorials.de/2010/09/private-buddypress

    This plugin makes your whole install private to non logged in users, thus creating another layer of privacy.

    I hope this helps somewhat.

    Avatar of truden
    truden
    Participant

    @truden

    Thank you for the advise, @neiloughton.

    I know that the plugin can restrict from all and allow only friends, but best for our web site is to show information to all registered users and hide it from anonymous and bots
    People are searching in our web site for o-negative blood donors and after they register, they should be able to see the information without becoming friends.
    It is a matter of urgency and the minutes count.

    I know the plugin which you suggest, but that doesn’t work with our type of community.

    Avatar of neiloughton
    neiloughton
    Participant

    @neiloughton

    Wouldn’t locking the whole community to unregistered users solve this? You leave profiles open and then just stop anonymous users from looking?

    Avatar of truden
    truden
    Participant

    @truden

    Sure, it solves the problem, but for web site like our, people need to browse it as anonymous and then decide whether to register or not.
    Closed web sites are for closed communities, and we are widely open community :)

    Avatar of shanebpdev
    shanebp
    Participant

    @shanebp

    You want to not show profile fields on the profile pages for non-members ?
    Try this – it should not show profile fields for users who are not logged-in

    In /your-theme/members/single/profile/profile-loop.php
    At the very top, replace this:
    `
    `

    with this:
    `
    `

    At the very bottom, replace this:
    `
    `

    with this

    `

    `

    Avatar of truden
    truden
    Participant

    @truden

    Thank you very much, @shanebp
    Works perfectly.
    You are a savior :)

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

You must be logged in to reply to this topic.