![]() |
Hide Expired and Reversed Infractions from the Infracted User
This modification does just what it says. After an infraction has expired or has been reversed, it will no longer be shown to the user in their profile. It will still be shown if a moderator or administrator views the list. This helps users not feel like they have a permanent rap sheet hanging over their heads.
Installation: Import the XML file. [s]There are no settings or options[/s]. To disable the modification, disable or uninstall the product. Expired and reversed infractions are not deleted, they are only hidden from the end user. Update: Version 1.2 addresses two problems. In addition to the profile, it now hides infractions in the User CP, and you can choose to hide only reversed infractions, only expired infractions, or both. There is now an option in the User Infraction Options group for this. Enjoy! Suggested here. Changes v1.1 - Fixed database error when a user has no infractions and there are other products adding tabs to the user profile. (Thanks hornstar1337) v1.2 - Now works in the User CP and lets you choose which infractions to hide (expired, reversed, or both) |
Nice idea. Installed.
|
nice and lovely idea , installed!
|
Great idea.sockwater!
|
perfect. very nice work!
|
Thought it was working well til I went to my profile:
Code:
Database error in vBulletin 3.7.2: |
For the moment I'm tempted to say this mod simply isn't compatible with the Blogs addon. But there might be a way to work around this. Could you check and see if the Blog product uses any hooks that start with member_infraction* You can check by looking at the list of plugins.
|
Nice idea, but I am going to hold off until you track down the Blog incapatiblity... still good work! :D
|
I think I've isolated the problem and fixed it in v1.1. The conditions that caused the database error are if the user has no infractions and there is another product adding a tab to the profile page.
Now I just need someone who has the Blog installed to test and make sure it's working correctly. :) Thanks hornstar1337 for finding & reporting this bug! |
Installed, and working like a charm! Thanks! :)
|
All times are GMT. The time now is 10:15 PM. |
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:
|