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.

how to change default formatting?

unipusunipus New
edited December 2006 in Vanilla 1.0 Help
I notice that here the default formatting choice is set to html rather than text? how do I make that happen?

Comments

  • i believe it is in the site settings... hold on i'll have a look
  • hmmm maybe not... i can't seem to find it.
  • oh you change it in your account -> forum preferences
  • it would be good though if the admin could change it globally?
  • well apparently that has been done here, because I don't remember ever changing that for myself...
  • Maybe I wasn't crazy when I brought this up.

  • nope, you have the opposite issue. so... still crazy. :)
  • and anyway now that I think about it, I think I quite probably DID change my user preference, a long time ago. oh well.

    however, my initial question still stands, just on the basis of "I'd like to know".
  • MarkMark Vanilla Staff
    The default format type is text just because all other format types are extensions. If you want to change it, you'd have to do it manually in the appg/settings.php file right now.
  • A little side note to this: if you want to FORCE your site into a certain single mode, you can add these lines to an extension:
    // the site wide format type $Context->Configuration['DEFAULT_FORMAT_TYPE'] = 'BBCode'; // NOTE: this next line will cause all other formats to be parsed as BBCode, even if they we're written in something else $Context->Configuration['FORMAT_TYPES'] = array('BBCode'); // this should force default all Text/HTML to BBCode // set a default preference to get rid of the selector $Context->Session->User->Preferences['ShowFormatSelector'] = 0;
This discussion has been closed.