This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

admin detection not 100% working
#1

I have followed the instructions here : http://www.commentics.org/wiki/doku.php?..._detection

According to that page, I should be able to comment without having to approve it before it shows up.

The form shows the green admin button, but it still gives me the message : Thank you - Your comment is awaiting approval.

I do however have the setting "Approve Comments" enabled in (Settings > Approval).

Does this matter?

I'm using Commentics v2.3
Reply
#2

Hi MuffinMan,

Nice catch! I'm surprised this hasn't been reported before.

Can you open /comments/includes/app/processor.php and replace this (line 460):

PHP Code:
<?php 
} else if ($cmtx_approve || $cmtx_settings->approve_comments) { //if approval needed

With this:

PHP Code:
<?php 
} else if (($cmtx_approve || $cmtx_settings->approve_comments) && !$cmtx_is_admin) { //if approval needed

Have you completed the interview?
Reply
#3

Thank you, that fix did the trick!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
06-Nov-2013, 07:44 PM
Last Post by Steven
13-Mar-2013, 02:04 PM
Last Post by Steven
06-Nov-2012, 03:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)