Jump to content

Approval Queue Count


Tom Irons

Recommended Posts

Posted

I find this really strange that when I remove something from the approval queue, it updates the count. But when I refresh the page, it is incorrect.

jNOiAOQ.png

Anyone else having these issues?

Posted

yes i am aswell i was told to

Run sql query 

UPDATE `forums_forums` SET queued_topics=0 WHERE id=X;

X - forum ID

498ddacb286e0644ceb47fa2831979c7.png

thats were i see it all the time

Posted

Hello,

On 08.03.2016 at 3:56 AM, Hulu said:

But when I refresh the page, it is incorrect.

You need wait 15 minutes.

applications/core/modules/front/modcp/modcp.php

		try
		{
			$approvalQueueCount = \IPS\Data\Cache::i()->getWithExpire( 'modCpApprovalQueueCount_' . \IPS\Member::loggedIn()->member_id, TRUE );
		}
		catch ( \OutOfRangeException $e )
		{
			$approvalQueueCount = \IPS\Content\Search\Query::init()->setHiddenFilter( \IPS\Content\Search\Query::HIDDEN_UNAPPROVED )->count();
			\IPS\Data\Cache::i()->storeWithExpire( 'modCpApprovalQueueCount_' . \IPS\Member::loggedIn()->member_id, $approvalQueueCount, \IPS\DateTime::create()->add( new \DateInterval( 'PT15M' ) ), TRUE );
		}

You can report as bug.

Posted

Yea, ticket 935927 was handled by me..

The issue was: 

Quote

When you create a new topic and you hide it via the moderation options checkbox on the right side of the create form,the approval count will be increased, but it won' t be shown on the approval modcp page and also not on the hidden content page. The issue is that the first post of the topic isn't set to queued=2

 

This was fixed for 4.1.9 ^_^

  • 4 weeks later...
Posted

If you are still experiencing issues, I'd recommend submitting a ticket. We identified a bug and resolved it that would explain what you are experiencing, so please be sure you upgrade to the latest version first.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...