Skip to:
Content
Pages
Categories
Search
Top
Bottom

Segregated X-Profile Fields for Multisite – ADD NEW FIELD GROUP NOT WORKING


  • VibrantWeb
    Participant

    @vibrantweb

    Using WordPress V. 4.2.3 and BuddyPress 2.3.2.1
    I am running a multisite on theathleticgrade.com (master) with sub sites being theathleticgrade.com/coaches (and reflecting coaches fields ONLY) and theathleticgrade.com/students(and reflecting students fields ONLY) from the extended fields. Before adding the code to segregate the tables for the X-Profile Fields, both coaches and students fields were showing up on all sub sites. I need coaches to ONLY show up on theathleticgrade.com/coaches, etc.
    I then created a file called bp-custom.php and loaded it with code, then uploaded that directly to the plugins folder. The code was copied and pasted from this link: https://codex.buddypress.org/themes/guides/segregated-x-profile-fields-for-multisite – NO MODIFICATIONS were made.

    2 things happened:

    1. In the back end and on both sub sites – the profile fields groups and their content disappeared. – Which is fine. BUT–when I made the attempt to add a new field group, I kept getting an error message:
    There was an error saving the group. Please try again..
    2. I created a temporary sub site to see how it would react and same thing, along with these error messages referring to the code I just added and uploaded: Segregated X-Profile Fields Error Messages

    My question is..what do I need to do to create the groups in the coaches and students dashboards, so that they can be displayed appropriately on either website?

    Was there something that needed to be manipulated within the code? If so, what is the exact location and where do I pull the information from? Specific instructions are essential, so that there is not any misunderstandings. Is there an example that can be provided on a live test website?

  • The topic ‘Segregated X-Profile Fields for Multisite – ADD NEW FIELD GROUP NOT WORKING’ is closed to new replies.
Skip to toolbar