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.
Help with 2 ext + logo please
hi
I need some help with 3 things:
1) What's the best way/code to add a logo like this site does: http://www.younggogetter.com/forums
2) I installed the Notify 0.2 extension and receiving this error (I searched the forums, and a solution was posted, but it didn't work)....
"Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/.katsumi/truce/www.dropbuy.com.au/forums/extensions/Notify/default.php on line 224"
3) I also installed the Quick Tags extension. But the buttons are being displayed as standard buttons (see http://www.dropbuy.com.au/forums) rather than what is displayed on these forums: http://www.younggogetter.com/forums
3.1) Also, how do I set the comments to automatically post as html format (so the quicktags extension will actually work)?
Any help would be greatly appreciated.
thanks
nathan
0
This discussion has been closed.
Comments
go into extensions/HtmlFormatter/default.php and look around line 79. somewhere around there it says:
return $sReturn;
just before that line, add this bit of code:
$needle = "/((?<!['|\"])(?:http|ftp|https|telnet):\/\/" . "[\w\.\;\%\_\/\=\?\-\,\~\!\@\#\$\&\+\'\:\(\)]*)" . "(\[)?(?(2)([^\]]+))(?(2)\])/xis"; $sReturn = preg_replace_callback($needle, create_function('$matches', 'if (!empty($matches[3])) { return "<a href=\'$matches[1]\'>$matches[3]</a>"; } else { return "<a href=\'$matches[1]\'>$matches[1]</a>"; }'), $sReturn);
(i haven't fully tested it, but i'm pretty sure it'll work)