1.2.x [Modification] Rankings Filter by Class

Lautaro

Administrator
Developer
Dec 19, 2012
582
245
43
[Modification] Rankings Filter by Class

What does this modification do?

This modification will allow you to filter your rankings by class.

Screenshot:
82605859_3375470309194400_2058225345596751872_o.png

Note:
If you have customized your rankings modules make sure to make a backup before uploading this modification.

Installation instructions:
- provided inside the zip.
 

Attachments

  • Like
Reactions: RedWay and Clerigz

Clerigz

Member
Jul 9, 2017
57
1
8
30
its because of this "class="rankings-class-filter-selection rankings-class-filter-grayscale"
 

khdoop

New Member
May 19, 2020
3
0
1
30
there is an error when no online players

old
PHP:
$onlineCharacters = array();
if(mconfig('show_online_status')) {
    $onlineCharacters = loadCache('online_characters.cache');
}
fix (as in some other rankings)
PHP:
if(!is_array($onlineCharacters)) $onlineCharacters = array();