XF 2.1 How to create a custom field for threads with link and the description?

deslocotoco

Well-known member
Well, is pretty simple what i need.

I just want to create a custom field when creating threads.

The fist field is the link box.
The second field is the description (site name).

Something like this:

Custom Field 1 (Link): xenforo.com
Custom Field 2 (Description): XenForo

So, when the thread is posted, is gonna show:

XenForo

The maximum what i did now is this:

<a href="{$value}" class="link" target="_blank">{$value}</a>

This can be done?

Thank you very much.https://xenforo.com/
 
Not sure if I understand you correctly.

ACP->Forums->Custom thread fields->Add field

This way you can create custom thread fields however you like. For both fields you can use a single line text box. And for the 1st one you can pick url as value match requirement.

1562343512615.png

Don't forget to configure the rest, like which nodes, which usergroups, etc. will have access to them.
 
Top Bottom