MyBB Community Forums

Full Version: Valid link in Custom profile field.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys I was wondering how I can make this a valid link that people can click on.
[Image: 8ec54deee131bc7e2462727f707532ba.png]
Where it says Amazon Profile Link. This is a Custom Profile Field.
I tried to enter it with HTML and I got this:
[Image: cc0838998a2ea9f4fa5bbe490e8c1696.png]

My website is: http://www.AmazonReviewCentral.com

Thanks in advance!
in your link, remove &pid=7#pid7 and check
You can't include HTML in profile field descriptions. They're escaped: https://github.com/mybb/mybb/blob/featur...r.php#L898
$profilefield['description'] = htmlspecialchars_uni($profilefield['description']);
You can remove the escaping function from there and other places (usercp.php, ACP), but it's not recommended as it's a security risk.
(2016-01-11, 12:49 PM)Destroy666 Wrote: [ -> ]You can't include HTML in profile field descriptions. They're escaped: https://github.com/mybb/mybb/blob/featur...r.php#L898
$profilefield['description'] = htmlspecialchars_uni($profilefield['description']);
You can remove the escaping function from there and other places (usercp.php, ACP), but it's not recommended as it's a security risk.

Where can I find this "usercp.php"? I've been looking for it in the ACP but I guess I don't really know where to look.