MyBB Central

Full Version: PM'ing By Default
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everybody I got a great idea yesterday!
What if we could set some default PM subjects I liked the code Labrroca provided for the report function I tried integrating it into the PM Subject Box but had some trouble.

If you go here: ACP/Templates/Your Theme/Private Message Templates/private_send template

Look for
<td class="trow1"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="3" /></td>
That is the subject box now what I am trying to do is make it a selectable box like this:

<select name="Subject">
<option value="">No Subject.</option>
<option value="Question">Question</option>
<option value="Other">Other</option>

But when I do this and test it out it says you did not enter a subject how could I do this?
What no one can figure this out?
Nope that didn't help much I tried using a similar code it just says that I wrote no Subject.
Aah. No idea then tbqh. Might require some core file edits...
LOL That means I still need help.