Reputation-Based Post Filtering
This modification is in the archives.
I like the reputation system, but came to the conclusion early on that it wouldn't be particularly pragmatic unless modified. It's good for cutting down on "right on!" posts, but it's rather like warning someone on AIM; it doesn't have much of a tangible effect. Until now, that is.
This hack, when employed, will filter out posts by any user with less than X number of reputation points. It is customizable for each user, so if someone wishes to screen out all posts by an individual with negative rep points, they can, and if someone wants to let all posts through, they can as well. The filter does not skip over the posts, but rather, hides them in a way very similar to the Ignore List. This hack requires the addition of one custom field, three code edits in two files, two new phrases, and one new template. Step One Create a new User Profile Field. Choose "Single-Selection Menu" and enter the following criteria:
Step Two Open showthread.php, and find this around line 87: PHP Code:
// ######################### REQUIRE BACK-END ############################
PHP Code:
if (strlen($bbuserinfo[field6])) {
Still in showthread.php, find this: PHP Code:
while ($post = $DB_site->fetch_array($posts))
PHP Code:
$post[reputationfilter] = $reputationfilter;
Step Three Open functions_showthread.php in your /includes directory. Find this: PHP Code:
$show['messageicon'] = iif($post['iconpath'], true, false);
PHP Code:
if ($post[reputation] < $post[reputationfilter])
Step Four Add the following phrases:
Step Five Add the template found in the attached text file. All done! Screenshot of what a filtered post looks like below. Download This modification is archived and cannot be downloaded. Screenshots
|