Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add Custom Fields for Posts Activity

  • Hi folks,

    I’m stocked in my project… I must have to had a custom fields on the geral Activity box-post. Is it possible?

    I mean something like, you are going to post 2/3 images attached to the status box-post, then. choose a group to send the pictures to a group and, after that, I must add some inputboxes / checkboxes with custom fields. Like, Color: “red, blue, orange…” and Size: “S, M, L, XL” and with those custom fields then I must be able to search for that on the search bar.

    I’ve searched and re-searched and no answer!

    Any help?

    Thanks in advance,
    Draft Flow

Viewing 2 replies - 1 through 2 (of 2 total)
  • Any help?


    Artform
    Participant

    @a3sthetix

    Take a look at how BuddyPress Activity Plus appends shortcodes to the end of activity posts. Then, have a look at BuddyPress Activity Stream Hashtags.

    The concept would be to append shortcodes or a hashtag on form submission. The hashtag would be interpreted by the activity stream hashtags OR the shortcode would be interpreted during the activity stream loop.

    The difference is pre-processing the data to become links or post-processing data when the page loads.

    I’m still working on something similar. I need to have it done by tomorrow, so I’ve been a little sloppy about it.

    1. Edit activity/post-form.php (modify the form to add your new fields)
    2. Add JS to use your selections to insert hashtag or shortcode to the end of the activity textarea.
    3. Add filtering links to show hashtag filter OR write custom filtering system

    Hope that helps. I’m still crunching!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add Custom Fields for Posts Activity’ is closed to new replies.
Skip to toolbar