XF 2.2 Custom User Field URL

Maspooner

New member
Hi.

I am working with Xenforo and having some trouble with Custom User Fields.

I am trying to get the Field to show "Link" or "Profile" while being clickable to the URL. I only want the Users to have to input their URL into the field.

Custom User Field Admin set up
9540fb58d1739af849fdb4dd8eedf800.png

Currently with this input, I get:
9aa2319ddbdee9fe250866f64655eae4.png

4696ee6258eb4c0c3ebec12df24abc10.png


and I would like it to appear like this, with the same input.
0fb7f8239b3ba88c1d540f168aeb6049.png


Any help would be appreciated
 
View attachment 257472

If you want the browser to open a new tab use <a href="{$value}" target="blank">Link</a> .
Hi

I added a custom field which it takes a URL from users and as a result it shows the address of that URL, but how is it possible instead of the URL it shows the page title?

If I add this piece of code
<a href="{$value}" target="blank">Link</a>

It will show "Link" or whatever words that I put between A tag.
 
Top Bottom