[Andrew] Moderator Panel

[Andrew] Moderator Panel 1.9.4

No permission to download
Worth noting that I don't plan to integrate user comments or reactions. User notes are planned to work like any note to file system would work at your place of work.
As a suggestion, maybe if we could create user notes directly from posts. E.g. we find some problematic post of some user, and from there we could add note "one more example of his behavior".

Of course, this is pretty similar to warnings, but also enables us to first discuss what we want to do, before actually giving warnings (there may be cases where that is a better solution).

Also, talking about lists, there should be a list for latest notes on all users, so we can easily see what's going on board and users notes wise.
 
As a suggestion, maybe if we could create user notes directly from posts. E.g. we find some problematic post of some user, and from there we could add note "one more example of his behavior".

Of course, this is pretty similar to warnings, but also enables us to first discuss what we want to do, before actually giving warnings (there may be cases where that is a better solution).

Also, talking about lists, there should be a list for latest notes on all users, so we can easily see what's going on board and users notes wise.
A note from a thread is a discussion not a note. My recommendation, if you want to include discussion of a note, paste the link to the discussion into the note.
 
AndrewSimm updated [Andrew] Moderator Panel with a new update entry:

Version 1.2.0

  • ADDED: Moderated user group visibility
  • ADDED: Admin option to selected which user group is moderated
  • ADDED: Permission to view moderated users
  • ADDED: User notes on profile
  • ADDED: User note list showing all recent user notes
  • ADDED: Permission to view user notes
  • ADDED: Permission to add user notes
  • ADDED: Permission to delete user notes
  • ADDED: Deleting user notes integrated into moderator log
  • ADDED: Added additional stats to discouraged users

Read the rest of this update entry...
 
Just installed the latest update, added all the permissions, went to a user and selected “Notes”.. got this error;
 

Attachments

  • F92F5447-A972-4DC1-A5B8-64F5C39FEE46.webp
    F92F5447-A972-4DC1-A5B8-64F5C39FEE46.webp
    140.9 KB · Views: 13
Code:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'swgadmin_xenforo.xf_andrew_mp_user_note' doesn't exist in src/XF/Db/AbstractStatement.php at line 228
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1379
XF\Mvc\Entity\Finder->fetch() in src/addons/Andrew/ModeratorPanel/Pub/Controller/User.php at line 273
Andrew\ModeratorPanel\Pub\Controller\User->actionUserNotes() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in index.php at line 20
 
Code:
XF\Db\Exception: MySQL statement prepare error [1146]: Table 'swgadmin_xenforo.xf_andrew_mp_user_note' doesn't exist in src/XF/Db/AbstractStatement.php at line 228
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1379
XF\Mvc\Entity\Finder->fetch() in src/addons/Andrew/ModeratorPanel/Pub/Controller/User.php at line 273
Andrew\ModeratorPanel\Pub\Controller\User->actionUserNotes() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in index.php at line 20
Working on it.
 
also a suggestion to add to member_view template and remove the moderation tool button:

Code:
                                            <xf:if is="$xf.visitor.is_moderator">
                                                <xf:button href="{{ link('moderatorpanel/user', $user) }}"
                                                    class="button--link">
                                                    View User File
                                                </xf:button>
                                            </xf:if>

how it then looks:

1606340565256.webp

I think this fits better with the idea of having all the moderator actions within the panel
 
Alright, if you uninstall the add-on and the reinstall then notes should work. I clearly am doing something wrong with creating the table on upgrades but it should work fine on new installs. If you uninstall and reinstall then you will need to redo permissions and options.
 
Ok! Will try!
Alright, if you uninstall the add-on and the reinstall then notes should work. I clearly am doing something wrong with creating the table on upgrades but it should work fine on new installs. If you uninstall and reinstall then you will need to redo permissions and options.
 
Alright, if you uninstall the add-on and the reinstall then notes should work. I clearly am doing something wrong with creating the table on upgrades but it should work fine on new installs. If you uninstall and reinstall then you will need to redo permissions and options.
fixed it thanks, also upon adding a note you should add #user_notes to the redirect so it goes back to that tab
 
Top Bottom