Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Add forum option in “Post in” in activity

@danbp

Participant

Most users goes to what seems them the easiest.

3 solutions:
– remove the What’s new form
– add a message above or below the form
– use a giant FORUM button ! 😉

You can use this snippet to show them a message (add it to your child-theme functions.php or to bp-custom.php

function bpfr_post_in_msg() {
	echo 'your message to users goes here';
}
add_action( 'bp_before_activity_post_form', 'bpfr_post_in_msg' ); // above what's new form
add_action( 'bp_after_activity_post_form', 'bpfr_post_in_msg' ); // below what's new form

To remove the form, use an empty post-form.php containing only the opening & closin php tags
and add it to /child-theme/activity/post-form.php

The original file is in bp-templates/bp-legacy/buddypress/activity/post-form.php

Skip to toolbar