Bold and colorized user names

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Astyanax
    Senior Member
    • Dec 2009
    • 423
    • 4.2.X

    [Forum] Bold and colorized user names

    I have seen that some user names in some forums are bold and/or colorized. How do I edit this in my forum? For example it can be a good idea to have admin in red color and bold on the active users section.
    AMD Forum
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Usergroup Manager > Edit Administrators > Username HTML Markup
    The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:

    [opening tag]username[closing tag]

    Some HTML tags you might want to use here include:

    <span style="font-weight: bold;">username</span> = username
    <span style="font-style: italic;">username</span> = username
    <span style="text-decoration: underline;">username</span> = username
    <span style="color: red;">username</span> = username
    <span style="font: 20px verdana;">username</span> = username

    You can also do combinations by using more than one attribute in the style property:

    <span style="font: 20px verdana; color: red;">username</span> = username

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • Astyanax
      Senior Member
      • Dec 2009
      • 423
      • 4.2.X

      #3
      Thanks Lynne! Black is not working?
      AMD Forum

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Originally posted by Astyanax
        Black is not working?
        Huh?

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • Astyanax
          Senior Member
          • Dec 2009
          • 423
          • 4.2.X

          #5
          <span style="color: black;">username</span> = username

          Using color black does not work, they are still blue.
          AMD Forum

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            Do you have a link to this? Usernames don't get colored everywhere. They are colored on the Currently Active Users list, in the postbit, and on their profile page (and maybe a couple of other areas), but not everywhere like in the last post column they are not colored.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            • Astyanax
              Senior Member
              • Dec 2009
              • 423
              • 4.2.X

              #7
              Link? http://www.amdforum.se/forum.php "Björn Boberg" and "Jacob Hugsson" are supposed to be black colored. I see Edwin Brown does have black color in here.
              AMD Forum

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                You have nothing applied for his usergroup. This is his name there:
                Code:
                <a class="username" href="http://www.amdforum.se/members/bjorn-boberg-140.html">Björn Boberg</a>
                This is another user who is colored:
                Code:
                <a class="username" href="http://www.amdforum.se/members/daniel-andersson-2.html"><span style="color: red;">Daniel Andersson</span/></a>
                So, I would suggest relooking at your usergroups because it isn't being applied to that user.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

                • Astyanax
                  Senior Member
                  • Dec 2009
                  • 423
                  • 4.2.X

                  #9
                  I have set <span style="color: black;">username</span>for usergroup "Nyhetsskribenter" that both Björn Boberg and Jacob Hugsson belongs to.
                  AMD Forum

                  Comment

                  • Lynne
                    Former vBulletin Support
                    • Oct 2004
                    • 26255

                    #10
                    Is that a primary or secondary usergroup? Which is the display group set for the user? And if it's a secondary group, do you have "Can override primary group title/markup" set to Yes for the usergroup?

                    Please don't PM or VM me for support - I only help out in the threads.
                    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                    Want help modifying your vbulletin forum? Head on over to vbulletin.org
                    If I post CSS and you don't know where it goes, throw it into the additional.css template.

                    W3Schools &lt;- awesome site for html/css help

                    Comment

                    • Astyanax
                      Senior Member
                      • Dec 2009
                      • 423
                      • 4.2.X

                      #11
                      Thanks Lynne! I got it right now.
                      AMD Forum

                      Comment

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