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

SmartStuff

edited January 2006 in Vanilla 1.0 Help
http://www.developer7.org/smartstuff/ Smart quotes and other niceties. A few bugs atm, but that'll be sorted out.

Comments

  • Options
    MarkMark Vanilla Staff
    Neato!
  • Options
    That does transition very nicely.
  • Options
    edited January 2006
    Thanks :). I'll work on the newline bug "today" (just kidding :P).

    Edit: Since this'd need to be ideally integrated with Text, HTML, Markdown etc. instead of being a separate one, all I'd need to do is do like

    class BBCodeFormatter extends BBCodeFormatter {
    function Parse($String) {
    this->Parse($String);
    // ... do stuff
    }
    }
    Yeah?
  • Options
    ALERT! IT NOW INTEGRATES WITH BBCODE AND MARKDOWN, TEXT AND HTML WILL BE EASY TO DO!!!!!! see the site ;)
  • Options
    do you have a test login?
  • Options
    not atm, it's at an ERROR atm, i'm trying to fix it
  • Options
    just register anyway, i'll activate you
  • Options
    Okay, implode() is giving me bad arguments, but I'm doing nothing wrong, here's that peice of code:

    ...
    $String = str_replace("\n", '
    ' . "\n", $String);
    $StrArr = explode(' ', $String);
    $StrArr = array_shift($StrArr);
    $String = implode(' ', $StrArr);
    return $String;
    }
    ...
  • Options
    Eh, the code messed up on the first line but still, you can see it
  • Options
          $String = str_replace("\n", '<br />' . "\n", $String);
    $StrArr = explode(' ', $String);
    $StrArr = array_shift($StrArr);
    $String = implode(' ', $StrArr);
    return $String;
    }
This discussion has been closed.