============================================================================================================================
Title: Staff Stars v1.0

Author: John Briggs

Description:
This modification provides different stars for staff in threads and profiles.

Copyright:  2010 John Briggs. All rights reserved.

Compatability: XMB 1.9.8 SP3

Updated for 1.9.8 by: WormHole @ XMB Garage

Install Note: Before adding this modification to your forum, you should back up all files related to this modification.

License Note: This modification is released under the GPL License. A copy is provided with this software package.

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.

============================================================================================================================
=======
Step 1:
=======
=================
Edit File: member.php
=================
==========
Find Code:
==========

                $stars = str_repeat('<img src="'.$imgdir.'/star.gif" alt="*" border="0" />', $rank['stars']);

================
Replace Code With:
================

                // Staff Stars Mod Begin
                switch ($memberinfo['status']) {
                    case 'Moderator':
                        $star = 'star_mod.gif';
                        break;
                    case 'Super Moderator':
                        $star = 'star_supmod.gif';
                        break;
                    case 'Administrator':
                        $star = 'star_admin.gif';
                        break;
                    case 'Super Administrator':
                        $star = 'star_supadmin.gif';
                        break;
                    default:
                        $star = 'star.gif';
                        break;
                }
                $stars = str_repeat('<img src="'.$THEME['imgdir'].'/'.$star.'" alt="*" border="0" />', $rank['stars']);
                // Staff Stars Mod End

============================================================================================================================
=======
Step 2:
=======

=========================
Edit File: viewthread.php
=========================

==========
Find Code:
==========

            $stars = str_repeat('<img src="'.$imgdir.'/star.gif" alt="*" border="0" />', $rank['stars']) . '<br />';

==================
Replace Code With:
==================

            // Staff Stars Mod Begin
            switch ($post['status']) {
                case 'Moderator':
                    $star = 'star_mod.gif';
                    break;
                case 'Super Moderator':
                    $star = 'star_supmod.gif';
                    break;
                case 'Administrator':
                    $star = 'star_admin.gif';
                    break;
                case 'Super Administrator':
                    $star = 'star_supadmin.gif';
                    break;
                default:
                    $star = 'star.gif';
                    break;
            }
            $stars = str_repeat('<img src="'.$THEME['imgdir'].'/'.$star.'" alt="*" border="0" />', $rank['stars']);
            // Staff Stars Mod End

============================================================================================================================
=======
Step 3:
=======

Upload provided images to all your forum theme directories.

"star_supadmin.gif", "star_admin.gif", "star_supmod.gif", "star_mod.gif"

============================================================================================================================
Enjoy!