Firefox PHP

Module: Limit threaded views

Posted by Maurice Makaay 
All files from this thread

File Name File Size   Posted by Date  
limit_threaded_views-1.0.1.tar.gz 3.3 KB open | download Maurice Makaay 04/05/2011 Read message
limit_threaded_views-1.0.1.zip 6.4 KB open | download Maurice Makaay 04/05/2011 Read message
Module: Limit threaded views
November 12, 2007 04:00PM
This module allows admins to setup limits for threaded list and read views. If a limit is reached, then the module will switch the view mode back to flat view. This can be useful in case there are threads in a forum that are too large for the system to process quickly.

If you have large threads on your forum (hundreds or thousands of messages) and are experiencing timeouts / extraneous CPU usage on viewing those in threaded views (threaded list, threaded or hybrid read), then this module will help you save your system resources.

Changelog:
----------

2011-04-04 v1.0.1

    - Fixed an undefined index warning about "list_threaded", which turned
      out to be a tell sign for a bug that caused the limiting to fail on a
      threaded list page.

    - Modified the module to make use of newer hooks in Phorum, which makes
      the module slightly more efficient. This also allows me to prevent
      a conflict with a future module that I am working on currently
      (Quick Settings).

2007-11-12 v1.0.0

- Initial release


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 2 time(s). Last edit at 04/05/2011 09:54PM by Maurice Makaay.
Attachments:
open | download - limit_threaded_views-1.0.1.tar.gz (3.3 KB)
open | download - limit_threaded_views-1.0.1.zip (6.4 KB)
Re: Module: Limit threaded views
April 05, 2011 09:07PM
I uploaded version 1.0.1 of the module. There was a bug that caused the limiting code to fail on a threaded list page. I also modified the module to make use of newer hooks in Phorum, which makes the module slightly more efficient. This also allows me to prevent a conflict with a future module that I am working on currently (Quick Settings).


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 04/05/2011 09:53PM by Maurice Makaay.
Sorry, only registered users may post in this forum.

Click here to login