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.

Signature Mod

2»

Comments

  • Could this be to do with 0.9.2.2 vs 0.9.2.6? Eitherway you aught to be upgrading if your forum is public, there were not insignificant security holes found in <0.9.2.6
  • Hey, I know this is old but I am trying to figure out how to add accepted tags to the extension. (yes, forumers crying about images)?
  • Yes I am wondering how as well. Is there a way to parse the [img] tag?
  • In regard to this, you should see a line that looks the following:$Text = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/ie", '\'<a href="\'.Signatures_ParseUrl(\'\\1\').\'">\\2</a>\'', $Text);Replacing that with this will enable both urls and images (and you might also want to edit the description as well to let people know):
    	$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
    	);
This discussion has been closed.