MyBB Community Forums

Full Version: signature
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When a member puts f.e. mybb.com in his signature its be changed tot http://www.mybb.com due mybb. Is there a way to change that setting?
Let me see if I understand. When a user inputs mybb.com into his signature it turns into http://mybb.com? I tried that just now and it doesn't seem to happen as you described it.
Do you mean how do users put links into there signiture? If so use the following bbcode

[url=http://yoursite.com]your text[/url]
Small update, this happens if someone puts www.mybb.com in his signature. then mybb changed it into http://www.mybb.com

It also happens here, if i type wwwdotmybbdotcom its changes. where dot is a .

Just try and see
you mean it adds http:// ?
yes thats correct
I don't believe there is a way to change that unless there's a plugin for it which I doubt
1. Open the ./inc/class_parser.php file in a text editor.

2. In line 1052 find:

$message = preg_replace("#([\>\s\(\)])(www|ftp)\.(([^\/\"\s\<\[\.]+\.)*[\w]+(:[0-9]+)?(/[^\"\s<\[]*)?)#i", "$1[url]$2.$3[/url]", $message);

3. Remove it or comment out the line.
problem resolved, tnx
Nice one Fabio!