Printable Version of Topic
Click here to view this topic in its original format
Jcink.com Forums > General Support > Custom Profile - Text Area HTML [SOLVED]


Posted by: sidsidsid Oct 10 2016, 11:41 AM
So I am using a custom profile from SHINE rp resources and one of the fields is a text area. I wanted to allow HTML use in the text area. I've read some other support replies saying that there is no way HTML can be used in text area, but I saw it being used on the last site I was on, just basic html tags, like <i> and <b> and <img> and i'm wondering if it's been changed to work now...and if so, how?

Posted by: owl Oct 10 2016, 04:52 PM
Log into your Admin CP > in the left-hand sidebar, click "System Settings" > From the options that toggle below that, click "User Profiles" > Under "Custom Profile Fields" there is an option called "Allow HTML in Custom Profile Fields?" - tick "Yes" - scroll down and click "Submit Changes"

Please be advised that - as far as I'm aware - this will allow pretty much all HTML in all custom profile fields.

Posted by: sidsidsid Oct 11 2016, 09:05 AM
Thanks for the help, Owl! Although, I ticked "Yes," but my html in the custom field didn't work.

This is what I put in the field, but this is exactly how it showed up.

CODE
<center><img src='http://myimg.jpeg' width="100px">
<br>
<div style="font-family: crushed; font-size: 16px;">Caption Here</div></center>

Posted by: John Oct 11 2016, 11:29 AM
Your user group needs permission to use the doHTML tag / use HTML on the board. Even though you won't be using it in the fields, it's still a prerequisite for security and control reasons.

Enable doHTML for your group. After that, you will need to save your profile fields again for the HTML to parse.

Posted by: sidsidsid Oct 11 2016, 04:56 PM
Thanks for replying!

Yes, I did notice the note under the HTML Enabling in User Profiles that I need to give doHTML permissions, they are already given.

I'm not sure I understand the last sentence, there. Save my profile fields again? As in, recreate them?

Posted by: owl Oct 12 2016, 07:47 PM
I believe he means just act as though you just edited the field and save it again, from the user CP.

Like go here on your board: /index.php?act=UserCP&CODE=01

Scroll down and click 'Amend my profile'.

Posted by: John Oct 13 2016, 12:46 AM
Correct ^ the HTML allowance change is not retroactive.

Posted by: sidsidsid Oct 13 2016, 08:54 AM
IT'S ALL GOOD NOW! Thank you!

Posted by: John Oct 13 2016, 10:11 AM
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

'
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)