7 years, 10 months ago
How to make subject field in private messages isn’t required?
I did not test this but go into the theme folder members/single/messages/compose.php
`<input type=”text” name=”subject” id=”subject” value=”<?php bp_messages_subject_value(); ?>” />`
change it to this:
`<input type=”hidden” name=”subject” id=”subject” value=”private message” />`
Thanks for the advice but this method completely remove this field from the message form.
I would like to make this field not required to fill.
Is it possible to do?
This field is required. If you don’t want a user to have to enter something then you have to hide it and fill it in for them.
7 years, 8 months ago
It might also be worth removing both the subject column from members/single/messages/messages-loop.php and the h1 heading from members/single/messages/single.php
Users won’t then see “private message” for every message they get sent.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service