![]() |
Reputation-Based Post Filtering
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:
PHP Code:
Still in showthread.php, find this: PHP Code:
PHP Code:
Step Three Open functions_showthread.php in your /includes directory. Find this: PHP Code:
PHP Code:
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. |
Excellent work as always Chris, I know I can expect the same quality as that in your vB2 hacks so on upgrading I will definitely install this! :D
|
Nice and original hack idea :D Thanks for sharing with the community.
|
Installed without problem. Good job, this will definitely encourage people to use the reputation system.
|
Nice job. :)
|
Hi TWTCommish
Great hack! Is it possible to modify this hack to filter out posts (NOT users) with less than X number of reputation points? |
Quote:
|
That's cool.. Gonna install it right now!
You gonna receive a feedback from someone soon. ".) |
Thumbs up!!!
Keep up the good work bro.. ;) |
Quote:
|
All times are GMT. The time now is 11:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|