Support » Plugin: BuddyPress Registration Options » Can I easily add a text field to registration form?

  • Resolved Naomi

    (@livingcminca)



    Is it possible to add an extra text field to the registration process? I’d also like the information to be visible either in the email that is sent to me notifying me that there is a new registration waiting for approval, or on the back-end where I go to approve the user. The field would be to request their reason for wanting to join the private site which would help admin determine whether to approve the user or not.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    Hmm.

    One of the biggest things to note is that we don’t do any integration with the registration form. We simply hook into the points after a user has been registered and then also once activated, and act from there.

    Not sure how easily this will be done, but if you can find a way to add extra fields to the registration process, you could get the necessary input provided. I believe that would get associated with the newly created user. Then you could use this filter that we have: bprwg_new_member_request_admin_email_message.

    With that, seen at https://plugins.trac.wordpress.org/browser/bp-registration-options/tags/4.2.12/includes/core.php#L431, you could intercept the email message content that will be getting sent. Using either the user login or user email being passed to the filter, you could grab the user’s provided reason and append to the message content and return that.

    Hope this is making sense, but let me know if not, and I can clarify the best I can. Admittedly, it’s an all code situation in this case.

    Tell me im newbie i activate the plugin and save general setting now next tell me what can i do step by step tell me plz

    Plugin Author Michael Beckwith

    (@tw2113)

    @adnanshahid402 See my reply at https://wordpress.org/support/topic/registration-submission-message/#post-8697753

    Please stop posting in other threads that aren’t related to your questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I easily add a text field to registration form?’ is closed to new replies.