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.
Options

[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

  • Options
    422422 Developer MVP

    So ppl just create titles? For real?

    There was an error rendering this rich post.

  • Options
    x00x00 MVP
    edited May 2012

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

    grep is your friend.

  • Options

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

  • Options

    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.