Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorpatrix
    • CommentTimeSep 18th 2005
     # 1
    check out this url: http://www.patrix.org/members

    no, it doesn't exist... the actual url is http://www.patrix.org / members (without the spaces), but text formatter seems to parse the url to make it a <a href> PLUS it parses the / me part to expand it to my nickname...


    woops! ;)

    Patrix.
    •  
      CommentAuthorMark
    • CommentTimeSep 18th 2005
     # 2
    That bug will be fixed when the \me bug is fixed.
    • CommentAuthorvena
    • CommentTimeSep 18th 2005 edited
     # 3
    if it's really annoying you here's a quick fix in the interum:

    edit /library/Utility.StringManipulator.class, line 55, replace:

    $sReturn = str_replace("/me", $this->GetAccountLink($Object), $sReturn);

    with:

    $sReturn = preg_replace("/\/me([\s\'(&lt;br \/&gt;)])/", $this->GetAccountLink($Object)."$1", $sReturn);

    this will only trip the parser if /me is followed by a space, a single quote ( ' ) (since people like to do /me's) or if it's on a line by itself. (want to match the least conditions possible, so no [^\w])

    though i wouldn't blame mark if he'd be unwilling to provide you support if you (or anybody!) screw with the libraries :)
Add your comments
    Username Password
  • Format comments as