Announcement

Collapse
No announcement yet.

colorize the names of mods & admin instead of bold

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

  • colorize the names of mods & admin instead of bold

    I saw a vb forum that had the name of the admin in red and the names of moderators in blue on the active users list instead of bold. How can I do this?

    Thanks.

  • #2
    PHP Code:
                if ($loggedin['usergroupid'] == and $highlightadmin) {
              
    $username "<b><i>$loggedin[username]</i></b>";
          } else if ((
    $mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
              
    $username "<b>$loggedin[username]</b>";
          } 
    By changing that bit of coding in index.php on lines 165-169 to have font tags with the colors you want should do it.
    - Andrew Pfeifer

    Comment


    • #3
      This is hacking and belongs over at vbulletin.org.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment


      • #4
        Just a suggestion, maybe making those two things templates in the future/vB3 would be a good idea. It seems to be something that is popular to want to do.
        - Andrew Pfeifer

        Comment

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