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.

To disable the check?

Body is required.

to disable it
in what file?

Comments

  • R_JR_J Admin

    Look at that answer: https://vanillaforums.org/discussion/comment/226581/#Comment_226581

    But you have to wrap it in a plugin. Create following file: /plugins/MakeBodyOptional/class.makebodyoptional.plugin.php with following content

    <?php
    
    $PluginInfo['MakeBodyOptional'] = array(
        'Name' => 'Make Body Optional',
        'Description' => 'Makes the body optional',
        'Version' => '0.1',
        'Author' => 'hgtonight',
    );
    class MakeBodyOptionalPlugin extends Gdn_Plugin {
    

    the code from the post above

    }
    
  • thank you!

  • hgtonighthgtonight MVP
    edited March 2016

    @R_J said:

        'Author' => 'hgtonight',
    );
    class MakeBodyOptionalPlugin extends Gdn_Plugin {
    

    I am going to come across this one day and really think my mind is going. XD

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.