Skip to:
Content
Pages
Categories
Search
Top
Bottom

Subject field in private messages

Viewing 4 replies - 1 through 4 (of 4 total)

  • modemlooper
    Moderator

    @modemlooper

    I did not test this but go into the theme folder members/single/messages/compose.php

    find this:

    `<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” />`


    Roman
    Participant

    @lrv

    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?


    modemlooper
    Moderator

    @modemlooper

    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.


    Henry
    Member

    @henrywright-1

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Subject field in private messages’ is closed to new replies.
Skip to toolbar