Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: One Off Identities or Posting As Multiple Users

@robin-w

Moderator

you would start by looking at the topic and reply forms in the templates

\bbpress\templates\default\bbpress\form-topic.php

which you can amend and copy to your child theme putting them in a bbpress folder

these link to the new topic or reply handlers in

\bbpress\includes\topics\functions.php line 96
and an equivalent in

\bbpress\includes\replies\functions.php

these are called by filters eg

add_action( ‘bbp_post_request’, ‘bbp_new_topic_handler’, 10 );

so you could rewrite the new topic handler and call it from a new version of the above action, this could catch the $_POST from your dropdown, and add say an extra meta field, and allocating all topics/replies to a single user_id to prevent needing individual users.

You can then amend the other templates or use filters to show the drop-down from the meta in the content field.

Skip to toolbar