Resource icon

Ignore Threads & Nodes 1.1.1

No permission to download
New version (1.0.4) gives this error on every page :( after upgrading:
Server Error
Undefined index: ignore_node
  1. XenForo_Application::handlePhpError() in Nobita/IgnoreThread/Model/Thread.php at line 81
  2. Nobita_IgnoreThread_Model_Thread->getUnreadThreadIds() in XenForo/ControllerPublic/FindNew.php at line 136
  3. XenForo_ControllerPublic_FindNew->findNewPosts() in XenForo/ControllerPublic/FindNew.php at line 24
  4. XenForo_ControllerPublic_FindNew->actionPosts() in XenForo/FrontController.php at line 337
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  6. XenForo_FrontController->run() in /usr/home/www/forums/index.php at line 13
 
That fixes it.

Looking at the code, the installer executes all the _executeVersion methods between the old and new versions.
The new version has a version_id of 2, but the method to add that column is _executeVersion11 so won't get run?
 
That fixes it.

Looking at the code, the installer executes all the _executeVersion methods between the old and new versions.
The new version has a version_id of 2, but the method to add that column is _executeVersion11 so won't get run?
Just re-change install code :D
 
New version has various issues which prevents you from viewing the forums

Server Error Log
Error Info
ErrorException: Use of undefined constant __DIR__ - assumed '__DIR__' - library/XenCentral/Framework/Hooks.php:23
Generated By: Admin, 4 minutes ago
Stack Trace
#0 /var/www/vhosts/website.com/httpdocs/website.com/library/XenCentral/Framework/Hooks.php(23): XenForo_Application::handlePhpError(Object(XenForo_ControllerAdmin_Tools), Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index')
#1 [internal function]: XenCentral_Framework_Hooks::postDispatch(Array, Array)
#2 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/CodeEvent.php(58): call_user_func_array('controller_post...', Array, 'XenForo_Control...')
#3 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/Controller.php(361): XenForo_CodeEvent::fire(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index')
#4 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(344): XenForo_Controller->postDispatch(Object(XenForo_RouteMatch))
#5 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
#6 /var/www/vhosts/website.com/httpdocs/website.com/admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(40) "http://www.website.com/admin.php?tools/"
["_GET"] => array(1) {
["tools/"] => string(0) ""
}
["_POST"] => array(0) {
}

Server Error Log
Error Info
ErrorException: Undefined index: ignore_node - library/Nobita/IgnoreThread/Model/Node.php:21
Generated By: Admin, 5 minutes ago
Stack Trace
#0 /var/www/vhosts/website.com/httpdocs/website.com/library/Nobita/IgnoreThread/Model/Node.php(21): XenForo_Application::handlePhpError(false, 0)
#1 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/ControllerPublic/Forum.php(40): Nobita_IgnoreThread_Model_Node->getNodeDataForListDisplay()
#2 /var/www/vhosts/website.com/httpdocs/website.com/library/Waindigo/CustomFields/Extend/XenForo/ControllerPublic/Forum.php(16): XenForo_ControllerPublic_Forum->actionIndex()
#3 /var/www/vhosts/website.com/httpdocs/website.com/library/PaidSticky/ControllerPublic/Forum.php(7): Waindigo_CustomFields_Extend_XenForo_ControllerPublic_Forum->actionIndex()
#4 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(337): PaidSticky_ControllerPublic_Forum->actionIndex(Object(XenForo_RouteMatch))
#5 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
#6 /var/www/vhosts/website.com/httpdocs/website.com/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(24) "http://www.website.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
New version has various issues which prevents you from viewing the forums

Server Error Log
Error Info
ErrorException: Use of undefined constant __DIR__ - assumed '__DIR__' - library/XenCentral/Framework/Hooks.php:23
Generated By: Admin, 4 minutes ago
Stack Trace
#0 /var/www/vhosts/website.com/httpdocs/website.com/library/XenCentral/Framework/Hooks.php(23): XenForo_Application::handlePhpError(Object(XenForo_ControllerAdmin_Tools), Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index')
#1 [internal function]: XenCentral_Framework_Hooks::postDispatch(Array, Array)
#2 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/CodeEvent.php(58): call_user_func_array('controller_post...', Array, 'XenForo_Control...')
#3 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/Controller.php(361): XenForo_CodeEvent::fire(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index')
#4 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(344): XenForo_Controller->postDispatch(Object(XenForo_RouteMatch))
#5 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
#6 /var/www/vhosts/website.com/httpdocs/website.com/admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(40) "http://www.website.com/admin.php?tools/"
["_GET"] => array(1) {
["tools/"] => string(0) ""
}
["_POST"] => array(0) {
}
That is other AddOn :D
Fixed now. I'll update soon
 
Thank you. Can You make it so that if in a category all sections ignored - categories are not displayed?
 
Still getting the error with the new version. 1.0.3 works though.
I think you didn't have custom field in xf_user. Please login your phpmyadmin and add this column.
alter table xf_user add column ignore_node blob default null
 
Yes tried that but still had the same issues with 1.0.5.
I think you should check your database. If not existing column `ignore_node` in table `xf_user` so you should manual edit.
Code:
ALTER TABLE `xf_user` ADD COLUMN `ignore_node` BLOB DEFAULT NULL
 
Top Bottom