Version: 1.04, by Reven
Developer Last Online: Apr 2009
Category: Add-On Releases -
Version: 3.6.5
Rating:
Released: 08-20-2006
Last Update: 09-14-2006
Installs: 82
Uses Plugins
No support by the author.
Infraction PM User Override
This product will allow you to set a user from which all private messages sent to your members after infractions are given are from. If you wish for your moderators to remain anonymous, or don't wish your members to know the moderator that gave them an infraction, this will help.
Administrators, super moderators and moderators can all still see which moderators awarded each infraction in the normal way, but regular members cannot.
Features
Lets all moderators hand out infractions from a standard username to protect privacy.
Doesn't log moderator actions under the standard username, but as the moderator carrying out the actions.
Details
1 Product
6 Plugins
Update Tracker
No database edits, queries or connections.
Installation
Enter your Admin Control Panel and go to the Manage Products page under the Plugins & Products tab, then click Add/Import Product. Download the XML file attached to this post and then locate it on your computer on this page, then click Import. The product will now be installed automatically. Finally, enter the Plugin Manager page and edit the plugin named Set Important Variables under the Product : Infraction User Override section, and set the user ID and username of the account you wish to use to send the private messages, click Save and that's it!
Changelog
1.01 - Bug fix: users could see the moderator that gave them their infraction by clicking the red/yellow card next to the post on which the infraction was made. Staff still see the real moderator whome gave the infraction to the user on this page, but users no longer see this.
1.02 - Bug fix: users could see the moderator that gave them their infraction by going into their User CP and viewing the list. Users can now no longer see the read moderator, but instead the override user.
1.03 - Optimisation: hook placement for infractor user settings moved from global_start to infraction_start. There is no hook for infraction_start in the User CP, so the hooks are evaluated manually by the plugin usercp_infractioninfobit.
1.04 - Bug fix: plugin with Infractor user settings was not evaluating properly: users could see their infractor if they viewed their own profile.
Finally, enter the Plugin Manager page and edit the plugin named Set Important Variables under the Product : Infraction User Override section, and set the user ID and username of the account you wish to use to send the private messages, click Save and that's it!
Quote:
Originally Posted by Reven
Finally, have you set a username and user id for the 'Infractor' account in the plugin 'Set Important Variables'?
Forget my post above..
I guess I downloaded the xml one day and installed it a different day and did not know you had to make this change in the plug in.
It works fine on 3.6.2 but I did have the same issues and the two guys above.
Once I realized I had not changed the plugin 'Set Important Variables' and did so, with a valid id and username it works as described.
Luggruff and DaNIEL MeNTED, you may just want to check the syntax in the plugin above because it sure is easy to miss.
Reven, good work, but might I make a suggestion and add a txt file for download so those of (like me) who might not notice the directions needed have a copy when it's downloaded. maybe a zip file with the xml and txt file inside.
Somehow, don't ask how, it now works, not that I did anything different this time.. just downloaded and uploaded the file again, and again.. filled out the userID and moderator username.
Weird.
Anyways, thanks Greek Wizard for making me try again (:
Fatal error: Existing data passed is not an array
Called set_existing in /home/brain909/public_html/includes/class_dm_pm.php on line 528
Called post_save_each in /home/brain909/public_html/includes/class_dm.php on line 823
Called save in /home/brain909/public_html/infraction.php on line 766
in /includes/class_dm.php on line 235
Have you set the Infractor userid in the Set Important Variables plugin? This must be changed to the userid of the account you want to send all infractions from.
Have you set the Infractor userid in the Set Important Variables plugin? This must be changed to the userid of the account you want to send all infractions from.
Yes I did. But I had it in the wrong place's the directions are a tad bit misleading for us noobs... You need to make the changes in AFTER the USERID# And USERNAME
I REPLACED those two text's instead of making the changes AFTER them in the ' ' box's... Might be a good idea to explain it a bit better for us slow people. Thank you very nice addition
Gread idea for a mod... It could work for me, but only if moderators were able to choose on an infraction-by-infraction basis whether they were 'anonymous' or not. Is that possible?
I have a problem with the languages... I have install in my vB english and german, but all infrations with this mod displayed in english for the user, can anyone help me?