Announcement

Collapse
No announcement yet.

Multi-Line Profile Fields In Postbit Not Stacking

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Multi-Line Profile Fields In Postbit Not Stacking

    Hey everyone,

    I'm editing my board's postbit with a simple added profile field. I followed Lynne's old directions as seen here and it is working. The problem I'm having is that when I insert the following:

    x
    y
    z

    it shows up as x y z.

    Now I'd like to get these items to stack, or retain their line breaks. Now the questions has certainly been asked over the years but I couldn't necessarily find a straight answer. Can someone please tell me what my code should look like or point me in the right direction?

    Here is my current code:

    Code:
    if ($post['field5']){
        $template_hook['postbit_userinfo_right_after_posts'] .= '<dt>Alts</dt> <dd>' .$post[field5]. '</dd>';
    }
    Thank you very much!

    Ben Nusbaum
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X