1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[XFA] Thread Print 2.1.2

Print all posts of a thread with one click !

  1. XFA

    XFA Well-Known Member

    XFA submitted a new resource:

    [XFA] Thread Print - Print all posts of a thread with one click !

    Read more about this resource...
     
    THLove likes this.
  2. THLove

    THLove Member

    I like your addon.. You can helpful me this addon..

    It's show error..
     
  3. MtoR

    MtoR Well-Known Member

    Did you instlal the product correctly ? ie. file upload + product import ?

    Cuz it seems like you didn't as per the error message.
     
    THLove likes this.
  4. THLove

    THLove Member

    I install success but it's show error when print thread
     
  5. MtoR

    MtoR Well-Known Member

    Then it should work as expected, except if you have some add-on that messes with it, related to threads ?
     
  6. sross

    sross Active Member

    Works great, but a small issue. It seems to append /print to the end of threads. I run a photography site, so when someone on google searches my site and the word "print" is involved in the search, the search results pull thread links with /print on the end. Is there a way to alter this word to something non-searchable like "pr1n7", not sure the best solution.
     
  7. MtoR

    MtoR Well-Known Member

    Hi Sean,

    I know you run a photography site, I'm Clément :)

    Ah you meant modify the url of the page of the print ?

    Clément
     
  8. sross

    sross Active Member

    Yup, will email you some examples
     
  9. jauburn

    jauburn Well-Known Member

    Could this handle the printing of megathreads with, say, 109 pages of posts, like this?

    Thanks.
     
  10. MtoR

    MtoR Well-Known Member

    If your server is able to handle the amount of needed memory, yes.

    Clément
     
    jauburn likes this.
  11. dethfire

    dethfire Well-Known Member

    I would reduce the number of borders and frames to reduce clutter. Also breadcrumbs not needed.
     
  12. MtoR

    MtoR Well-Known Member

    You can do that by editing the template of the thread print.
     
  13. dethfire

    dethfire Well-Known Member

    I get this error when I upload the XML
    Callback XFA_ThreadPrint_Proxy::extendPublicThreadController is invalid (Invalid Class).
     
  14. MtoR

    MtoR Well-Known Member

    Have you uploaded the files ?
     
  15. XFA

    XFA Well-Known Member

  16. XFA

    XFA Well-Known Member

  17. RSI

    RSI Active Member

    I dont know what you have done, but this add-on is now really messed up...

    I get the below error just by clicking on Mark Forums Read.

    ErrorException: Argument 1 passed to XFA_ThreadPrint_Model_Forum::canPrintThread() must be of the type array, boolean given, called in /home/me/public_html/library/XFA/ThreadPrint/Proxy.php on line 32 and defined - library/XFA/ThreadPrint/Model/Forum.php:13

    Stack Trace
    #0 /home/me/public_html/library/XFA/ThreadPrint/Model/Forum.php(13): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/me/p...', 13, Array)
    #1 /home/me/public_html/library/XFA/ThreadPrint/Proxy.php(32): XFA_ThreadPrint_Model_Forum->canPrintThread(false)
    #2 [internal function]: XFA_ThreadPrint_Proxy::controller_post_dispatch(Object(EWRatendo2_ControllerPublic_Forum), Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'MarkRead')
    #3 /home/me/public_html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
    #4 /home/me/public_html/library/XenForo/Controller.php(363): XenForo_CodeEvent::fire('controller_post...', Array, 'XenForo_Control...')
    #5 /home/me/public_html/library/XenForo/FrontController.php(358): XenForo_Controller->postDispatch(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'MarkRead')
    #6 /home/me/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/me/public_html/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Request State
    array(3) {
    ["url"] => string(192) "http://mydomain.com/forums/-/mark-r...842141e8aeddc27968006163&_xfResponseType=json"
    ["_GET"] => array(5) {
    ["date"] => string(10) "1472654592"
    ["_xfRequestUri"] => string(8) "/forums/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(53) "2,1472654592,5dcaedb38c735be8842141e8aeddc27968006163"
    ["_xfResponseType"] => string(4) "json"
    }
    ["_POST"] => array(0) {
    }
    }
     
  18. dvsDave

    dvsDave Well-Known Member

    Getting the same error:

    *I replaced the token ID with xxx's for security

    oddly enough, I have this addon's permissions only active for my administrative user group, yet when regular users click the "Mark All Forums Read" link, they just get a message saying that "a server error has occurred. Please try again later".

    When I click the link, I get a detailed error message.
     
    Last edited: Sep 7, 2016
  19. Lisa

    Lisa Well-Known Member

    I was just coming in to report the same error as the above two people.
     
  20. Eoghanpilgrim

    Eoghanpilgrim Member

    I find myself also this error

    Error Info
    Code:
    ErrorException: Argument 1 passed to XFA_ThreadPrint_Model_Forum::canPrintThread() must be of the type array, boolean given, called in /home/orpelleg/public_html/forum/library/XFA/ThreadPrint/Proxy.php on line 32 and defined -library/XFA/ThreadPrint/Model/Forum.php:13
    Code:
     #0 /home/orpelleg/public_html/forum/library/XFA/ThreadPrint/Model/Forum.php(13): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/orpelleg/...', 13, Array)
    #1 /home/orpelleg/public_html/forum/library/XFA/ThreadPrint/Proxy.php(32): XFA_ThreadPrint_Model_Forum->canPrintThread(false)
    #2 [internal function]: XFA_ThreadPrint_Proxy::controller_post_dispatch(Object(Andy_SimilarThreads_ControllerPublic_Forum), Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'MarkRead')
    #3 /home/orpelleg/public_html/forum/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
    #4 /home/orpelleg/public_html/forum/library/XenForo/Controller.php(363): XenForo_CodeEvent::fire('controller_post...', Array, 'XenForo_Control...')
    #5 /home/orpelleg/public_html/forum/library/XenForo/FrontController.php(358): XenForo_Controller->postDispatch(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'MarkRead')
    #6 /home/orpelleg/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/orpelleg/public_html/forum/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Code:
     array(3) {
      ["url"] => string(206) "http://www.pellegrinipersempre.it/forum/forums/-/mark-read?date=1473758755&&_xfRequestUri=%2Fforum%2F&_xfNoRedirect=1&_xfToken=65%2C1473758755%2C2c878359c7d8b2973aaba7c5d237a5870897653a&_xfResponseType=json"
      ["_GET"] => array(5) {
        ["date"] => string(10) "1473758755"
        ["_xfRequestUri"] => string(7) "/forum/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(54) "65,1473758755,2c878359c7d8b2973aaba7c5d237a5870897653a"
        ["_xfResponseType"] => string(4) "json"
      }
      ["_POST"] => array(0) {
      }
    }
     

Share This Page