MyBB Community Forums

Full Version: Moderation Actions Preview
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It displays moderation actions sorted by date in posts/announcements/profiles/User CP (github-like). Plugin created for 1.8 (only this version is supported), may work on 1.6 after some changes. More info in the download link and on the github page.

Note 1: this plugin entirely depends on MyBB logs displayed in MyBB, so many of them may be missing (for example forumdisplay.php inline thread moderation actions). They won't be displayed as long as MyBB doesn't correct that. So reports about them will be ignored in places connected with the plugin, feel free to post them here though: http://community.mybb.com/forum-157.html
Note 2: avatar maximal dimensions settings won't work until this MyBB bug gets fixed: http://community.mybb.com/thread-164490.html Reports for it also will be ignored. EDIT: fixed in 1.8.5: https://github.com/mybb/mybb/pull/1940
Note 3: moderation actions are displayed for users in groups with Moderator CP -> Can view moderator logs? option ticked. You can enable it together with the Yes, users of this group can access the moderator CP option disabled if you don't want users to be able to access logs in Mod CP.

[Image: preview_58253_1427673462_ea40da51334b905...ed25ce.png]

[Image: preview_58253_1427673489_816df996bb32466...538e7c.png]

[Image: preview_58253_1427673498_f419a241f7ec72a...381667.png]

[Image: preview_58253_1427983832_ab453d05ebde40b...4def1c.png]

Live demo (link may be dead at some time):
http://nooo.hol.es/mybb16/showthread.php...d=53#pid53
Forum password - test

Requirements:
Plugin Library - https://github.com/frostschutz/MyBB-Plug...master.zip

Bug reports/enhancement requests:
https://github.com/Destroy666x/MyBB-Mode...ns-Preview

Lang packs:
Since the current way of adding lang packs is not really good, PM me and I'll add you as contributor.

Download:
http://community.mybb.com/mods.php?action=view&pid=455
Live demo have password to access
(2015-03-30, 08:06 PM)inferno211 Wrote: [ -> ]Live demo have password to access

Oh, it's test
1.1:
- added logs connected with user to view in User CP (and a setting to display them regardless of group permission) - thanks to prings for suggestion
- fixed wrong variable for announcement avatar max size
- added some padding to the postbit row template by default
Reinstallation is required.
The idea behind Plugin Library is to add templates during activation. You should allow it to handle your settings too, during activation too.
I'm aware of PluginLibrary updating templates/settings, but I'm not using that for a specific reason, speaking of settings at least. May change it for templates in the future though, no idea why they're in installation here, copy paste probably.