Implemented Custom fields marked as URL should be links

AndyB

Well-known member
It would be a nice feature to make custom user fields marked as URL to be links in the member_view page under information.

pic001.jpg
 

Mike

XenForo developer
Staff member
You can do this via the "value display HTML" option with more flexibility.
 

bluepaw

Member
Glad to have found this, it was bugging me for a while. I did run into one slight issue when trying to set it up.

I'm not sure why Value Display HTML: <a href="{$valueURL}">{$value}</a> does not work but making it <a href="{$value}">{$value}</a> does.
When I had it setup like in the picture it was trying to append the $valueURL to the forum web address.
 

Mike

XenForo developer
Staff member
$valueURL is URL encoded. It's really for partial URLs (query strings, etc).
 
Top