==README for Custom Ranks==
Release date: September 8, 2005.
Last update: May 20, 2026.
miniBB version: 3.7 and higher
Author: Paul Puzyrev (minibb.com).

With this solution you can re-define custom ranks based on posts number. For example, having 1-100 posts, a user will be named "Newbie", 300-600 - "Advanced", 600-1000 - "Profy" etc. Ranks could be displayed in each post beneath the Username or Avatar - in whatever place you'll put them.

If a special rank defined for someone in the $userRanks array of bb_specials.php, it won't be overwritten by this solution; also no rank will be displayed for the Admin.

==INSTALL==

***** Add 'num_posts' field to $userInfoInPosts array in setup_options.php:

$userInfoInPosts=array($dbUserSheme['num_posts'][1]);

***** Paste the code provided under bb_plugins.code.txt, in bb_plugins.php. Edit function parseUserInfo_num_posts() to specify other kind of rankings, or modify HTML output.

***** In /templates/main_posts_cell.html (for example, right after {$viewReg} or whenever in the user info column) paste:

{$userInfo_num_posts[$poster_id]}

Keep in mind: by default there will be <br> tag added in front of the Rank. It could be removed or modified in bb_plugins.php code.

***** Edit /css/default.css and at the very bottom of it add the code from css.code.txt (modify up to your own taste) - the `customRank` class defines the look&feel of the custom rank, and it also could differ regarding light/dark mode.

==FINALLY==
Enjoy using miniBB! Our forums will help you more:
https://www.minibb.com/forums/11_4365_0.html