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.

[Solved] set required (discussion body) field to false*

thetryrthetryr New
edited May 2012 in Vanilla 2.0 - 2.8

by default when we create a discussion, title name and body are required.
how to make the body become not required?

Answers

  • So ppl just create titles? For real?

    There was an error rendering this rich post.

  • x00x00 MVP
    edited May 2012

    in the GDN_discussions table change the schema removing NotNull from Body.

    grep is your friend.

  • where is the GDN_discussions table?
    Only found GDN_discussion on the db

  • Done.
    i commented the class.discussionmodel.php on line 787 and tell the database to accept null discussins body.
    many thanks

Sign In or Register to comment.