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

Threads, Posts and Conversations Per Page 2.0.1

Allow users customize how much display threads, posts and conversations per page

  1. Nobita.Kun

    Nobita.Kun Well-Known Member

    Nobita.Kun submitted a new resource:

    Threads, Posts And Conversations Per Page In Preferences - Allow users customize how much display threads, posts and conversations per page

    Read more about this resource...
     
  2. JulianD

    JulianD Well-Known Member

    Wow, very useful addon. Thank you!
     
  3. Nobita.Kun

    Nobita.Kun Well-Known Member

    Thank you :p
     
  4. TeflonDon

    TeflonDon Well-Known Member

    One thing my member's have pointed out is that pagination is a little off.

    For example, if I set my posts per page to 25 and there's a thread with 24 replies, in the node list it shows that there's 2 pages. Clicking page 2 will take you to the first and only page.


    Other than that, everything else seems to be working properly.

    edit:

    Getting some server errors also

    Server Error Log
    Error Info
    ErrorException: Undefined index: threads - library/Nobita/DiscussionsPerPage/ControllerPublic/Forum.php:16
    Generated By: ------, 3 minutes ago
    Stack Trace
    #0 /home/-----/public_html/library/Nobita/DiscussionsPerPage/ControllerPublic/Forum.php(16): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/-----/p...', 16, Array)
    #1 /home/-----/public_html/library/XenForo/Controller.php(309): Nobita_DiscussionsPerPage_ControllerPublic_Forum->_preDispatch('Index')
    #2 /home/-----/public_html/library/XenForo/FrontController.php(336): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
    #3 /home/-----/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/-----/public_html/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
    ["url"] => string(23) "http://www.-------.com/"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(0) {
    }
    }
     
    Last edited: Jul 25, 2013
  5. Nobita.Kun

    Nobita.Kun Well-Known Member

    This is fixed :)
    But I can't check this
     
  6. Nobita.Kun

    Nobita.Kun Well-Known Member

    resonansER likes this.
  7. TeflonDon

    TeflonDon Well-Known Member

    I'll install later today and check it out. Thanks for the quick update.
     
  8. TeflonDon

    TeflonDon Well-Known Member

    Also, getting errors when you click "More Options." Still haven't installed the update yet so this might already be addressed.

    ErrorException: Division by zero - library/XenForo/Helper/Discussion.php:24

    #0 /home/---/public_html/library/XenForo/Helper/Discussion.php(24): XenForo_Application::handlePhpError(2, 'Division by zer...', '/home/colicom/p...', 24, Array)
    #1 /home/---/public_html/library/XenForo/Model/Thread.php(2108): XenForo_Helper_Discussion::getLastPageNumbers(651, NULL)
    #2 /home/---/public_html/library/XenForo/Model/Thread.php(1480): XenForo_Model_Thread->getLastPageNumbers(651)
    #3 /home/---/public_html/library/MultiQuote/Model/Thread.php(7): XenForo_Model_Thread->prepareThread(Array, Array, NULL, NULL)
    #4 /home/---/public_html/library/XenForo/ControllerHelper/ForumThreadPost.php(84): MultiQuote_Model_Thread->prepareThread(Array, Array)
    #5 /home/---/public_html/library/XenForo/ControllerPublic/Thread.php(412): XenForo_ControllerHelper_ForumThreadPost->assertThreadValidAndViewable(131847)
    #6 /home/---/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Thread->actionReply()
    #7 /home/---/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /home/---/public_html/index.php(13): XenForo_FrontController->run()
    #9 {main}
     
  9. Nobita.Kun

    Nobita.Kun Well-Known Member

    Please update newest version. I'm fixed when user don't set any preferences for display :)
     
  10. DRE

    DRE Well-Known Member

    Keep getting a javascript error so I've uninstalled this for now.
     
  11. Nobita.Kun

    Nobita.Kun Well-Known Member

    what errors you got?
     
  12. TeflonDon

    TeflonDon Well-Known Member


    Newest version still displays the same error when you have something besides the default setting
     
  13. Nobita.Kun

    Nobita.Kun Well-Known Member

    What is for 'More Options'?
     
  14. TeflonDon

    TeflonDon Well-Known Member

    When you reply to a thread.

    Post Reply Upload a File More Options
     
  15. Nobita.Kun

    Nobita.Kun Well-Known Member

  16. Nobita.Kun

    Nobita.Kun Well-Known Member

    Now. Its fixed ;) Please using latest version. Sorry for my mistake to understand your explain :)
     
    TeflonDon likes this.
  17. TeflonDon

    TeflonDon Well-Known Member

    no problem, thanks for the quick fix
     
    Nobita.Kun likes this.
  18. TeflonDon

    TeflonDon Well-Known Member

    2 remaining issues.

    If you have any setting besides the default for posts/page then clicking on your alerts does not bring you to the correct post.

    and still getting a ton of server errors:
    ErrorException: Undefined index: posts - library/Nobita/DiscussionsPerPage/Model/Thread.php:13
    ErrorException: Division by zero - library/XenForo/Helper/Discussion.php:24
    ErrorException: Undefined index: posts - library/Nobita/DiscussionsPerPage/ControllerPublic/Thread.php:16
     
  19. Nobita.Kun

    Nobita.Kun Well-Known Member

  20. Nobita.Kun

    Nobita.Kun Well-Known Member

    Fixed in latest version. Please update your Addon :)
     

Share This Page