Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Adding additional fields to PM form?

Basically, I'd like PMs to have subjects, so it's easier to track 'm.

Now I've found that it's rather easy to render a subject ("this is a test subject" will show up just beside the name of the user you're messaging):

public function messagesController_beforeMessagesAll_handler($sender)
            {
        $convos=$sender->EventArguments['Conversations'];
//Add a subject to the first PM in the list
        $sender->EventArguments['Conversations'][0]['Subject']="this is a test subject";
            }

But of course, you want to give the user the ability to set the subject when creating the PM.
I tried messagesController_afterFormInputs_handler, but that one doesn't seem to fire.

Is there any plugin already available that adds subjects to PMs, or does anyone know how to add a text field to the new message form?

Comments

Sign In or Register to comment.