WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress xProfiles ACL
Profiles per user role (3 posts)

  1. kirkslater
    Member
    Posted 2 years ago #

    Hi

    I'm using the plugin and its all working fine as far as I can see but I had a question about its working function.

    I have two main user roles in buddypress, Advertiser and Subscriber. I want each role to have different profile fields, for example contact details for the Advertiser role but not for the Subscribers role.

    So when I add the contact details group to the Advertisers role but not to the Subscribers role with this plugin, on the front-end of the site Subscribers can't see the contact details on the Advertisers profiles... is this right?

    If so, is there a quick fix to use this plugin to just assign profile field groups to user roles but still visible to all users?

    Let me know if I'm not clear enough as this is quite complicated to explain.

    Many thanks for any help you can give

    Kirk

    http://wordpress.org/extend/plugins/buddypress-xprofiles-acl/

  2. landwire
    Member
    Posted 2 years ago #

    Hi Kirk,

    running into the same issue. Did you get it resolved in the end? I have not looked at the code yet, but will wait until I hear back from you. No need to double up the work.

    Nevermind! Just discovered the public option, so that should work I guess.
    Sascha

  3. nikolajcz
    Member
    Posted 2 years ago #

    hi,

    don't know if this is what you need, but:

    I have designers and I have visitors of website. I wanted them to be able to edit only their profile field, but for everyone – even not logged in to see info of everyone. So.. I made a dirty hack … at the end of buddy press-xprofiles-acl.php file there is add_action(‘xprofile_template_loop_start’, array($bp_xp_acl_plugin, ‘filter_xprofile_groups_with_acl’)); and i have just added // to the beginning of this line, thus effectively disabling filtering of display of profile specific fields, so everyone can see them….

    maybe not what you want but the function it refers ( ‘filter_xprofile_groups_with_acl’ ) is worth looking into.

    nick

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic