1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Add Rich Username Styling to Visitor Panel

Discussion in 'Styling and Customization Questions' started by Amaury, Jul 22, 2015.

  1. Amaury

    Amaury Well-Known Member

    I did this on KH-Flare 2014, and I can't remember what I did. I looked through many of the customized components as well to no avail.
     
  2. Dylan V

    Dylan V Well-Known Member

    Hi,

    Search for "sidebar_visitor_panel" and replace this line:
    Code:
    <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>
    with:
    Code:
    <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay', rich}'}</h2>
    Screenshot_1.png
     
    maszd, Amaury and Steve F like this.
  3. Amaury

    Amaury Well-Known Member

    Thanks!

    I forgot the comma before rich and originally tried rich="true." Additionally, this solution isn't in KH-Flare 2014, so I did something different that I can't remember.
     
  4. Dylan V

    Dylan V Well-Known Member

    You're welcome.

    Yes, there're multiple solutions to do this, but this one is the simplest. ;)
     
    Amaury likes this.

Share This Page