MyBB Community Forums

Full Version: Post Subject (Removal from php)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

Basically what I am trying to accomplish is removing the field that asks for the Subject when replying to a post. a.k.a 'Post Subject'.

Now, I've removed the field fine in the templates, but I often encounter this error message when submitting posts that don't have the subject area included:

* The subject is missing. Please enter a subject.

What I'm looking for is the necessary bit of code in the php files that is requiring this data to be submitted, so I can change this to not be required.

If anyone knows where I can locate this, it would be much appreciated!

Thanks
-----------------------------------
EDIT: Thanks Scoutie - good suggestion Smile
What I would do is place a hidden field in the post template with a value of 0. That should fix it.