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

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

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

    Maybe I wasn't crazy when I brought this up.

  • Options
    nope, you have the opposite issue. so... still crazy. :)
  • Options
    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".
  • Options
    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.
  • Options
    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.