Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

How to enable BBCode or HTML in user custom fields MYBB?

Ads
whatsapp Offline referral

Posts: 83
Joined: Mar 2014
Reputation: 1

#1
Member
Checking user custom fields on user profile for some reason links are not clickable I mean they remain as plain text do not turn into links looks like BBCode or HTML is disabled my question is how to enable it?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#2
Support Team
By default HTML and BBCode is disabled in custom fields but there is a way around it!

You need to use these lines they will return the content of X custom filed.

For User Profile
Code:
{$userfields['fidX']}

For Post Bit
Code:
{$post['fidX']}

You have to replace fidX with the custom field ID.

You can do something like this:

Code:
<tr>
<td class="trow1"><strong>Bio:</strong></td>
<td class="trow2">{$userfields['fidX']}</td>
</tr>





User(s) browsing this thread: 1 Guest(s)