Infinity101
09-17-2012, 07:48 PM
Hello,
I have a custom field which user's generally write several paragraphs. I display this field manually {vb:raw bbuserinfo.field}.
When the field displays, it does not include the formatting the user specified. For example, a input with 3 paragraphs will display the entire field as one paragraph.
I have tried a plugin I found posted by Lynne, however had no such luck.
if ($profilefield['profilefieldid'] == 1)
{
$find = "\n";
$replace = "<br />";
$profilefield['value']= str_replace($find, $replace, $profilefield['value']);
}
I used member_complete and multiple other plugin locations in the hopes that I'd get lucky before posting.
Thanks for any help.
-- Edit --
This is for member.php in the aboutme tab.
I have a custom field which user's generally write several paragraphs. I display this field manually {vb:raw bbuserinfo.field}.
When the field displays, it does not include the formatting the user specified. For example, a input with 3 paragraphs will display the entire field as one paragraph.
I have tried a plugin I found posted by Lynne, however had no such luck.
if ($profilefield['profilefieldid'] == 1)
{
$find = "\n";
$replace = "<br />";
$profilefield['value']= str_replace($find, $replace, $profilefield['value']);
}
I used member_complete and multiple other plugin locations in the hopes that I'd get lucky before posting.
Thanks for any help.
-- Edit --
This is for member.php in the aboutme tab.