Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Force comments as HTML

edited February 2008 in Vanilla 1.0 Help
Hi! I have a big Vanilla forum and I've noticed lately that A LOT of people post HTML and forget to change the format of the comment (From Text to HTML - The little forum before "Start Your Discussion") I was wondering, how do I remove the "Format comments as O Text O Html" and force all messages to be treated as HTML? Thanks in advanced!

Comments

  • Options
    edited May 2007
    Dinoboff code
    //Make HTMLformatter the only formatter available to post a new comment or to edit an old one $Context->Configuration['DEFAULT_FORMAT_TYPE'] = 'Html'; $Context->Session->User->DefaultFormatType = 'Html'; $Context->Session->User->Preferences['ShowFormatSelector'] = 0;
    put this in a simple default.php file
  • Options
    Thanks, it worked perfectly
  • Options
    beautiful. had been trying to figure out how to do this for a while, accidently stumbled upon this.
This discussion has been closed.