![]() |
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:
|
great hack will install ...
|
Quote:
Members are inconsistent... sometimes they talk tripe... othertimes it's quality stuff... we'd want specific posts to be excluded a.l.a Slashdot. This would also give us a chance to use it for things like moderating down posts which we don't want google to spider... because we could set 'guest' to have a low tolerance... which means that we could avoid attracting perverts, etc to the forum. Post based reputation filtering my community would love. They have a big problem with member based filtering |
I can see this going down a storm on several boards I visit :)!
|
That's weird..
For no reason, or.. maybe Yes..? I found that the post filtering system seem totally disappeared from my forum.. |
/me installs.
|
This works great, except our user with the lowest reputation (-1912) has a green bar.
|
Quote:
|
Oops, sorry. Please ignore my above post.
|
Great and pretty usefull hack, but i get a parse error in line 87 (step 2). I changed the field number to5 as it is my number in the new added profile.
Whats my mistake? vb3.0.1 |
Great hack...THANKS!
|
All times are GMT. The time now is 04:33 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:
|