Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I enable clickable links in custom user fields?

0
Posted

How do I enable clickable links in custom user fields?

0

Edit displayimage.php and change $info[$CONFIG[‘user_field’.$i.’_name’]] = make_clickable($CURRENT_PIC_DATA[‘user’.$i]); into $info[$CONFIG[‘user_field’.$i.’_name’]] = bb_decode($CURRENT_PIC_DATA[‘user’.$i]); This will allow you to use BBCodes in the custom fields: you can then have something like [url]http://www.somesite.com/foo/bar.php?whatever=42[/url] or [url=http://www.somesite.com/foo/bar.php?whatever=42]link to some site![/url] in your custom user fields (the display of which, of course, has to be enabled in the config page, begin with).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123