Thread: new classes
View Single Post
  #2  
Old 19th September 2009, 03:29
Dimaches's Avatar
Dimaches Dimaches is offline
Senior Member
 
Join Date: Sep 2009
Germany
Posts: 21
Default
Open your global.php file and search for this line:

PHP Code:
//---------------------------------
//---- Search Highlight v0.1 by xam
//---------------------------------
define ('UC_USER'0);
define ('UC_POWER_USER'16);
define ('UC_VIP'32);
define ('UC_UPLOADER'48);
define ('UC_MODERATOR'64);
define ('UC_ADMINISTRATOR'80);
define ('UC_SYSOP'96);

function 
get_user_class()
{
  global 
$CURUSER;
  return 
$CURUSER["class"];
}

function 
get_user_class_name($class)
{
  switch (
$class)
  {
    case 
UC_USER: return "User";

    case 
UC_POWER_USER: return "Power User";

    case 
UC_VIP: return "VIP";

    case 
UC_UPLOADER: return "Uploader";

    case 
UC_MODERATOR: return "Moderator";

    case 
UC_ADMINISTRATOR: return "Administrator";

    case 
UC_SYSOP: return "SysOp"
add what class you want

then open staff.php and add your clases in there to

and finaly open your index.php and add there to your clases whit colours of your choice for more question post reply
Reply With Quote