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.

Signatures

13

Comments

  • Chris, I'm experiencing the same problems. I have a BBCode extension installed. Could this be part of it? Update: The regular Expressions are messed up still in the default.php. I'm not an expert on this, but the ones thatre used currently have ?> in them, which closes the php prematurely. I changed them to .+? and the links now appear and work-- but any URL names for them (i.e. see my homepage) look like they aren't appearing. I'll invesitigate further.
  • I've fixed the regex in the latest release (ie. 1.2); it should be working now. I wouldn't recommend changing instances of (?>[^[]+) or (?>[^]]+) to .+?, as it will make the regular expression much more inefficient.
  • I'm running 1.2 as I said, whats happening with it is that the signatures are coming out as the bbcode, and not as links. This may be off-topic for this thread, but since you reg express has a ?> in it, how does php gather that is not the end of a tag?
  • hmm, everything running's fine for me; not sure why it wouldn't be working on your forum... the preg_replace call does look like the following, correct?$Text = preg_replace( array( "/\[url=((?>[^\]]+))\]((?>[^[]+))\[\/url\]/ie", "/\[img\]((?>[^[]+))\[\/img\]/ie" ), array( '\'<a href="\'.Signatures_ParseUrl(\'\\1\').\'">\\2</a>\'', '\'<img src="\'.Signatures_ParseUrl(\'\\1\').\'" alt="">\'' ), $Text );and php doesn't interpret the ?> as an ending delimeter because it is in a string literal; it is used here in the regular expressions to prevent backtracking.
  • ok...
    what does this signature do?
    cuz i don't think it does what signatures on other sites do

    or am i wrong

    maybe it is just not working for me
  • Yup. It matches. I'm also having trouble with the hidden text extension. Could it be related some how?
  • I'd upgrade to 1.1.4 anyway and continue troubleshooting if you still have problems.
  • i did
    and that is why i reposted

    T_T
  • I meant scherem sorry
  • I'm going to roll back to an earlier version sometime this weekend. With the modifications I'm using (the .+?) images work, but the url don't appear with their names (i.e. [ url=www.mysite.com]home page[/ url] comes up as www.mysite.com and not home page).
  • ooh, wait, I'm using an earlier vanilla version, that could be it. I'll upgrade once I get home today.
  • hmm, still can't replicate your problem...
  • Could you guys please include a changelog in the discription or something so we can follow what's changed. Thanks :)
  • The roll back in the extension solved my problems. (Now running 1.0.1)
  • works for me now i forgot to edit the comment thing my bad
  • I had this running on an older version of Vanilla, just, but I have just moved servers and installed a new, up-tp-date 1.1.4 version.
    Signatures didn't work, (the only add-on that stopped working), so i upgraded that as well, now I get this error at the top of each page where someone had a sig:
    Notice: unserialize() [function.unserialize]: Error at offset 65 of 419 bytes in /home/MYSERVER/public_html/MYSITE/extensions/Signatures/default.php on line 71

    It seems that if someone had a sig with anything but a letter or number the error is produced.
    Also their sigs are wiped out and need to be re entered.
    If someone had a sig, that now produces an error, their sig is empty and the error only goes away once a new sig is entered.

    Any thoughts?
  • switching servers probably screwed up the encoding, and caused <samp>unserialize</samp> to balk. it's not really a problem with signatures, per se, it's more to do with php's serialization.
  • I don't see how switching servers could have caused any problems as they are with the same company/ same configuration but I\ll ask the host company anyway.
  • Hey guys...I know this is probably an easy fix, but my signatures always appear on the same line as my post. Does anyone know how to put a new line character in there to put them on different lines? Thanks! -Ryan
  • I have problem with that plugin hwn I use an URL in it, I get something like that: http://"http//blog.grecnar.sk/%22
Sign In or Register to comment.