Last Updated: June 11, 2021
·
1.812K
· diogoparrinha

NewPoints

NewPoints is the best points system for MyBB. It is complex yet very simple. Unlike other points systems, NewPoints tries to use as less resources as possible, by caching what can be cached and loading only what's required, when required.

function newpoints_load_settings()
{
    global $mybb, $db, $cache;

    $settings = $cache->read("newpoints_settings");
    if ($settings !== false && !empty($settings))
    {
        foreach($settings as $name => $value)
        {
            $mybb->settings[$name] = $value;
        }
    }

    /* something is wrong so let's rebuild the cache data */
    if (empty($settings) || $settings === false)
    {
        $settings = array();
        newpoints_rebuild_settings_cache($settings);
    }
}

It allows users to gain points by posting, creating new threads, voting in polls and/or even by being referred by other users. To add on top of that, NewPoints also allows administrators to setup rules to user groups and forums. These rules let the administrator decide, for example, whether a user requires a certain amount of posts or points in order to browse/view/post in a certain forum or if a certain group receives more points than another (by setting the income rate to a different number than 1).

Picture

When it was released, there were two other major points systems for MyBB: MyPlaza Turbo and MyPS, the former being developed by me (I ceased its development when I started working on NewPoints). Because of that, it was not easy to convince users to use NewPoints instead of one of the other two (mainly due to the lack of NewPoints plugins/modules at that time) even though a converter had been developed to aid the conversion process. However, since then, with the suggestions of the community helped NewPoints to grow: it been downloaded more than 11000 times on the official MyBB Mods section and more than 5000 times on my website.

Picture

To conclude I think NewPoints has proven that it is, without doubt, the best points system available for MyBB.