Moderator Essentials

Moderator Essentials [Paid] 1.14.5

No permission to buy ($45.00)
  • Thread starter Thread starter Syndol
  • Start date Start date
hello

I just aktualiesiert from 1.3.1 to 1.4.0.
Now I get error messages:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OUTER JOIN xf_session_activity AS session ON post.user_id = session.user_id ' at line 27 - library/Zend/Db/Statement/Mysqli.php:77
xenForo version is 1.4.4

sorry for my bad english
 
Hi Daniel,

Am I right that threads are created in the discussion node only when the 'Discuss' link is clicked in the moderator log?
Can they be created automatically for all moderator actions?

Thanks
 
hello

I just aktualiesiert from 1.3.1 to 1.4.0.
Now I get error messages:
xenForo version is 1.4.4

sorry for my bad english

What version did you update from? that should have been added a few versions ago.

Run this query:
Code:
ALTER TABLE `xf_moderator_log` ADD `modess_discussion_id` INT(11) NOT NULL DEFAULT '0' AFTER `ip_address`, ADD INDEX (`modess_discussion_id`) ;

Can you try executing this query in phpMyAdmin?

Hi Daniel,

Am I right that threads are created in the discussion node only when the 'Discuss' link is clicked in the moderator log?
Can they be created automatically for all moderator actions?

Thanks

That is correct, you have to click to discuss them. Originally I had it creating a thread for every log item but people said they disliked it and would rather select which ones get a thread. I'll consider a toggle to switch between the two settings for the next release.
 
@Daniel Hood

I found a bug in the latest Moderator Essentials.

An administrator account with all the permissions enabled (including Edit any post and ModEss - Can Revert Message Edits) -> a User goes into Awaiting Approval -> It doesn't show up in the moderator bar

But if you set "ModEss - Can Revert Message Edits" to "Not Set (no)", the Users thing becomes visible in the moderator bar.

You can test this by putting a random user of yours into Awaiting Approval user state, and you'll see that it doesn't pop up in the front end's moderator bar (when Can Revert Message Edits is enabled), but once you remove the Can Revert Message Edits permission, it is again visible.

Can you reproduce?
 
The users awaiting approval count is cached to avoid it being calculated on every page load. There was a bug, not tied to the revert permission, that was causing it not to update at a time when it should. This bug had other side affects and I'm glad you caught it. I'll be posting a fix very soon.
 
I get this error when I upgrade Xf from 1.1 to 1.4: ErrorException: Undefined index: forum - library/ModEss/ControllerPublic/Forum.php:21

ModEss is inactivated prior the upgrade. Disregard the error messages? Will they disappear once I upgrade ModEss?
 
Hi @Daniel Hood
I have found bug.
With new version of this addon (Moderator Essentials 1.4.1), when I tried to copy post from one thread to another, this error is generated.

If this addon is disabled then I can copy posts without error.

Please help.

Thanks

Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'last_edit_username' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Sunka, 3 minutes ago
Stack Trace

#0 /home/pijanitv/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `xf...')
#1 /home/pijanitv/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `xf...')
#2 /home/pijanitv/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `xf...')
#3 /home/pijanitv/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#4 /home/pijanitv/public_html/library/XenForo/Model/Post.php(1684): Zend_Db_Adapter_Abstract->insert('xf_post', Array)
#5 /home/pijanitv/public_html/library/XenForo/Model/Post.php(1481): XenForo_Model_Post->_copyPost(Array, Array, Array)
#6 /home/pijanitv/public_html/library/XenForo/Model/Post.php(1385): XenForo_Model_Post->_moveOrCopyPosts('copy', Array, Array, Array, Array)
#7 /home/pijanitv/public_html/library/XenForo/Model/InlineMod/Post.php(475): XenForo_Model_Post->copyPosts(Array, Array, Array, Array)
#8 /home/pijanitv/public_html/library/XenForo/Model/InlineMod/Post.php(419): XenForo_Model_InlineMod_Post->_moveOrCopyPosts('copy', Array, Array, Array, Array, NULL)
#9 /home/pijanitv/public_html/library/XenForo/ControllerPublic/InlineMod/Post.php(231): XenForo_Model_InlineMod_Post->copyPosts(Array, Array, NULL)
#10 /home/pijanitv/public_html/library/XenForo/ControllerPublic/InlineMod/Post.php(155): XenForo_ControllerPublic_InlineMod_Post->_moveOrCopyPostsAction('canCopyPosts', 'copyPosts', 'XenForo_ViewPub...', 'inline_mod_post...')
#11 /home/pijanitv/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_InlineMod_Post->actionCopy()
#12 /home/pijanitv/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /home/pijanitv/public_html/index.php(13): XenForo_FrontController->run()
#14 {main}

Request State

array(3) {
  ["url"] => string(46) "http://www.pijanitvor.com/inline-mod/post/copy"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(7) {
    ["thread_type"] => string(8) "existing"
    ["existing_url"] => string(50) "http://www.pijanitvor.com/threads/rthrehreh.13899/"
    ["save"] => string(10) "Copy Posts"
    ["posts"] => array(1) {
      [0] => string(6) "354367"
    }
    ["_xfConfirm"] => string(1) "1"
    ["redirect"] => string(57) "http://www.pijanitvor.com/threads/test.25834/#post-354367"
    ["_xfToken"] => string(8) "********"
  }
}
 
Is the latest version of this add-on relying on the add-on TMS? I'm thinking of removing this add-on when I upgrade my forum platform.
 
The versions I have installed now uses TMS for some template modifications.
No, this add on does not rely on any third party add ons. Just core XenForo functionality.
And that goes for your other add-ons as well?

When I upgrade to the latest version, will the template modifications be removed automatically?
 
I'm not sure they will be removed automatically but if you update your forum, remove tms (or remove tms and then update your forum), and then update this add on you'll see all template modifications are now in the core XenForo template modification system.

My other add ons also utalize the XenForo core template modification system. None of my add ons rely on 3rd party add ons (with the exception of my additional widgets add on obviously) but some do integrate features of certain add ons (if you have them, cool, if you don't, no big deal).
 
When user editet post, after that on the bottom is "Last edited by:"
There is no username after that. Phrase is not edited at all. So for some reason variable {name} is not parsed.
Also, when some of Staff edit post, it is only show "Last edited by Moderator", any chance to show a moderator username, not just Moderator?
 
Daniel Hood updated Moderator Essentials with a new update entry:

1.5.0

New Features
  • Displays if there were any "reports" for content in the moderation queue; if so there's a link to view them.
upload_2015-3-24_11-29-45-png.102076

Bug Fix

Read the rest of this update entry...
 
Back
Top Bottom