Skip to:
Content
Pages
Categories
Search
Top
Bottom

"Editability" => Adding a meta box on the New Field page


  • ChiefAlchemist
    Participant

    @chiefalchemist

    Still kinda week one for me and BuddyPress so I’m not sure if this is what I’m looking for or not.

    Add Meta Box to Admin Extended User Profile

    The reason I ask is because I did try this and can’t see a new meta box anywhere.

    Specifically I want to add a meta box for a radio list that kinda compliments Visibility. The difference is we need Editability. That is, who can edit the field – which is different than who can see it.

    I actually have a proof of concept worked out using custom Visibility values but now that I have it working it’s kinda hacky. I don’t like how we’re having to confuse Visability with Editing. They are two different settings.

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

  • navinachettri
    Participant

    @navinachettri

    The metabox you have created by this method appears in the users page and is visible only to the admin and also not in the front end


    ChiefAlchemist
    Participant

    @chiefalchemist

    Metabox? I didn’t create no stinkin’ metabox 🙂

    In fact, I looked at the BP core and didn’t see any hooks or filters for adding a metabox to the profile field page. This is why I had to use what’s already there (as-is) and make Editability and Visibility the same field (and store it in Visibility). I then parse that value as necessary.

    But there is no metabox. Can’t be. It’s the same UI / UX both front and back but tricked out with some custom methods.

    Does that help? Are you pulling errors?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Editability" => Adding a meta box on the New Field page’ is closed to new replies.
Skip to toolbar