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

Always-on/Multiple String Formatter possible?

StashStash
edited January 2007 in Vanilla 1.0 Help
I was wondering if it was possible to have multiple string formatters working at the same time and if it was possible to have one turned always on without the option of turning it off. This way it would work in the background without people noticing it or having to worry about what it might be.

Comments

  • Options
    Hi!

    Isn't that, what transmogrifier does? Being one more stringfomatter?

    Bye
    Tiggr
  • Options
    Don't know, haven't tried that extension yet. I shall do so now...
  • Options
    It formats string into other strings... ;-)
  • Options
    Yes yes, I figured out what the Transmogrifier did from its name :P BUT! It did have what I wanted:$Context->StringManipulator->AddGlobalManipulator("Transmogrifier", $Transmogrifier);
    So thanks Tiggr, you sarcastic git =P
  • Options
    Uhm, not sarcastic, just silly: I didn't get it from the name, my english isn't good enough...
  • Options
    But by the way, a nice usecase for this would be smartypants.
  • Options
    And there it is: SmartyPants for Vanilla http://lussumo.com/addons/?PostBackAction=AddOn&Success=1&AddOnID=236 This formats comments using SmartyPants Typographer (http://www.michelf.com/projects/php-smartypants/) for correct qoutes and more. It has a hacked version of Typographer for working well with german, and breaks for all other languages. For english, just overwrite smartypants.php with the one from above link and set the SMART_ATTR for your needs.
This discussion has been closed.