[OzzModz] Force Users To Read Threads

[OzzModz] Force Users To Read Threads 2.0.9 Patch Level 1

No permission to download
@Ozzy47 Force Users to Read a Thread addon issue. Please can you give fix update?

1. Force Users to Read a Thread list should be show 1st. Example: Newly added will be showing last but this should be show 1st.
2. When using Expire in then Force Users to Read a Thread again after expired.
 
Those are both feature requests, not issues. I’ll add thff Ed m to the wish list. Features being on the list does not guarantee they will be added.
 
Those are both feature requests, not issues. I’ll add thff Ed m to the wish list. Features being on the list does not guarantee they will be added.

Does not thing this feature requests because this issue with current function. Newly Added Force Users to Read a Thread should be show 1st page in 1st list?

ScreenShot00049.png

What does option Expire in? When using Expire in then this will be stop force read and disabled or this will again forced for read? After a Thread has expired, it should not displayed again as "Must read".

ScreenShot00050.png
 
Does not thing this feature requests because this issue with current function. Newly Added Force Users to Read a Thread should be show 1st page in 1st list?

Thst is personal preference and is a feature request, not a issue with current functionality.

What does option Expire in? When using Expire in then this will be stop force read and disabled or this will again forced for read? After a Thread has expired, it should not displayed again as "Must read".
IIRC expired force read threads will not show to anyone.
 
I have the addon ebaled but have not used or configured it for a few weeks.

But I just got this error:

Code:
    ErrorException: [E_NOTICE] Trying to get property 'node_id' of non-object src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php:72

    Generated by: Unknown account Nov 10, 2020 at 10:31 PM

Stack trace

#0 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(72): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 72, Array)
#1 src/XF/Mvc/Dispatcher.php(350): xenMade\STFRT\XF\Pub\Controller\Thread->actionReply(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Reply', Object(XF\Mvc\RouteMatch), Object(SV\LiveContent\XF\Pub\Controller\Thread), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\LiveContent\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#6 src/XF.php(465): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(45) "/threads/sticky-pads.30366/reply?quote=447013"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["quote"] => string(6) "447013"
  }
  ["_POST"] => array(0) {
  }
}

The thread referred in the link to was merged into another thread about a week ago and the link comes up with a page 404 (I think it had a redirect that expired - I mention that in case it is related to this error)
 
Ah yes, that 404 link forces the error

And with live content disabled it is this:

Code:
    ErrorException: [E_NOTICE] Trying to get property 'node_id' of non-object src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php:72

    Generated by: Pete Thomas Nov 11, 2020 at 12:08 PM

Stack trace

#0 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(72): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 72, Array)
#1 src/XF/Mvc/Dispatcher.php(350): xenMade\STFRT\XF\Pub\Controller\Thread->actionReply(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Reply', Object(XF\Mvc\RouteMatch), Object(XDinc\FTSlider\Pub\Controller\Thread), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XDinc\FTSlider\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#6 src/XF.php(465): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(45) "/threads/sticky-pads.30366/reply?quote=447013"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["quote"] => string(6) "447013"
  }
  ["_POST"] => array(0) {
  }
}

And with FTSlider disabled:

Code:
    ErrorException: [E_NOTICE] Trying to get property 'node_id' of non-object src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php:72

    Generated by: Pete Thomas Nov 11, 2020 at 12:11 PM

Stack trace

#0 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(72): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 72, Array)
#1 src/XF/Mvc/Dispatcher.php(350): xenMade\STFRT\XF\Pub\Controller\Thread->actionReply(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Reply', Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFMG\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#6 src/XF.php(465): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(45) "/threads/sticky-pads.30366/reply?quote=447013"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["quote"] => string(6) "447013"
  }
  ["_POST"] => array(0) {
  }
}
 
Without this addon, that 404 causes no errors

I presume that dead link must be from a member's notification or alert which only became dead because of the expiring redirect.

Checking with some other random 404 it doesn't happen so presumably this would be a rae occurrence under normal circumstances
 
Got another error the other day:


Code:
    ErrorException: [E_NOTICE] Trying to get property 'node_id' of non-object src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php:72

    Generated by: Unknown account Nov 22, 2020 at 7:45 AM

Stack trace

#0 src/addons/xenMade/STFRT/XF/Pub/Controller/Thread.php(72): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 72, Array)
#1 src/XF/Mvc/Dispatcher.php(350): xenMade\STFRT\XF\Pub\Controller\Thread->actionReply(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Reply', Object(XF\Mvc\RouteMatch), Object(SV\LiveContent\XF\Pub\Controller\Thread), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\LiveContent\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#6 src/XF.php(465): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(55) "/threads/lig-for-quantum-tenor.29475/reply?quote=437126"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["quote"] => string(6) "437126"
  }
  ["_POST"] => array(0) {
  }
}

Delete
 
Good evening Ozzy48, first of all thank you for this awesome plugin. We are currently migrating from vBulletin to XenForo and wanted to use this addon to force our users to read the rules for a specific set of fora (namely our buying & selling categorie).

This is the current configuration:

unknown.png


But we got some serious issues:
  • On all non-selected "Applicable forums" where an optional "URL portion" is configured, the plugin still asks to read the thread before you can enter that specific non-selected forum (which is pretty weird for all users involved).
  • With the selected permissions, it is still possible to view threads/replies & reply when you click on it from the forum overview. If you go from the thread to the forum in the breadcrumb, you have to "read the thread" (so it looks like only "view forum" is active, dispite all underlying boxes are checked).
We have the most recent version of XenForo 2.2.2 and [OzzModz] Force Users To Read Threads 2.0.4.

Thanks in advance for looking into this :)
 
Ozzy47 updated [OzzModz] Force Users To Read Threads with a new update entry:

[OzzModz] Force Users To Read Threads for XenForo 2.1+ Update 2.0.5

The following changes have been made:

  • Fixed user groups conditions query when selected multiple
  • Fixed query with multiple node option (seems related with issue above, but not sure)
  • Fixed application to nodes with custom url portion which was not selected in forced thread options
  • Workaround to prevent "Trying to get property 'node_id' of non-object " on replying with selected quote (not reproduced, but should work)
  • Code cleanup

Thanks to...

Read the rest of this update entry...
 
Hi there,
Version 2.0.5 no longer works. new Users (group: registered) are no longer forced to read a thread. Tested with a newly registered user...

I then reinstalled version 2.0.4, registered a new user, then the add-on works again. Users are again forced to read a thread.
 
Back
Top Bottom