Ignore Content

Ignore Content [Paid] 4.0.5

PayPal: $30.00
With the latest version and XF2.2 I'm getting the following error when viewing the page: /whats-new/posts/

ErrorException: [E_WARNING] Declaration of Truonglv\IgnoreContent\XF\FindNew\Thread::filterResults(XF\Mvc\Entity\ArrayCollection $results) should be compatible with XF\FindNew\Thread::filterResults(XF\Mvc\Entity\AbstractCollection $results) in src\addons\Truonglv\IgnoreContent\XF\FindNew\Thread.php at line 19

XF::handlePhpError() in src\vendor\composer\ClassLoader.php at line 444
include() in src\vendor\composer\ClassLoader.php at line 444
Composer\Autoload\includeFile() in src\vendor\composer\ClassLoader.php at line 322
Composer\Autoload\ClassLoader->loadClass()
spl_autoload_call()
class_exists() in src\XF\Extension.php at line 172
XF\Extension->extendClass() in src\XF\App.php at line 2811
XF\App->extendClass() in src\XF.php at line 901
XF::extendClass() in src\XF\Repository\FindNew.php at line 81
XF\Repository\FindNew->getFindNewHandler() in src\XF\ControllerPlugin\FindNew.php at line 87
XF\ControllerPlugin\FindNew->getFindNewHandler() in src\XF\Pub\Controller\AbstractWhatsNewFindType.php at line 20
XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex() 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 464
XF::runApp() in index.php at line 20


I have [Mr. Jinx] What's new tweak 2.1.5 installed but when this is disabled the error still occurs
 
Just to add....
/whats-new/media/ .....is okay
/whats-new/media-comments/ .....is okay

However the error appears when selecting

/whats-new/posts/ ... error
 
One of our members appears to have found a slight bug in this and in the previous versions....

When a member is ignored and is the last person to post in a thread that shows in the forum list, the avatar shows as a grey avatar with a question mark in and the phrase shows as 'Ignored thread' when it should show as 'Ignored member' which is how the XF shows it.

Actual:

1601925979515.png

A quick fix is to change the phrase tic_ignore_content_ignored_thread as below:

1601926137838.png


In an ideal situation it would show the title of the thread and the date and avatar of the previous unignored member as the ignored member is ignored.

The base XF code (add-on disabled) shows:

1601926832362.png
Is it possible to call the thread title and date of last post into the template that uses the phrase?
 
Last edited:
One of our members appears to have found a slight bug in this and in the previous versions....

When a member is ignored and is the last person to post in a thread that shows in the forum list, the avatar shows as a grey avatar with a question mark in and the phrase shows as 'Ignored thread' when it should show as 'Ignored member' which is how the XF shows it.

Actual:

View attachment 4148

A quick fix is to change the phrase tic_ignore_content_ignored_thread as below:

View attachment 4149


In an ideal situation it would show the title of the thread and the date and avatar of the previous unignored member as the ignored member is ignored.

The base XF code (add-on disabled) shows:

View attachment 4150
Is it possible to call the thread title and date of last post into the template that uses the phrase?
webboukIt's seem hard to change. But let me see if i can help with this.
 
Back
Top