Jump to content
MakeWebGames

HackerzInc

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by HackerzInc

  1. Try this in the globals.php file, find this : $ir=$db->fetch_row($is); and under it add this: if ($ir['user_level'] == 2) { $ir['username']="<font color='blue'>{$ir['username']}</font>"; } that should change the username info in the array with the string that makes the text blue without you having to alter every file. Depending on what php version you have, the string should execute replacing the username info part before changing the string. if not, use this: if ($ir['user_level'] == 2) { $utemp="<font color='blue'>{$ir['username']}</font>"; $ir['username']=$utemp; } The code above sets a temp variable to the string, which inturn replaces the username first and adds the color code to the string. then sets the name array to that bit of code, which should work.
×
×
  • Create New...