Disabling hybrid view

Posted by Diego 
Disabling hybrid view
December 23, 2008 12:03PM
I have a forum with lots of replies per thread (+100), and the hybrid view is totally useless for me.
i implemented the switch view mod, so users can change view on the fly when desired. Is there a way to disable completely the hybrid view so it doesn´t appear when switching from threaded to plain view?

thanks
Re: Disabling hybrid view
December 23, 2008 05:33PM
You could edit the templates for the control center to not support the hybrid view. Then you'd have to modify the switch module to not display the hybrid view. Users can then not choose the hybrid option anymore. Closing it down fully would require a module that checks if the user has hybrid view (e.g. if hybrid was chosen before the option was locked out) and that would switch the option for the user back to flat or threaded. You might omit that module of course, since nothing will break if you don't lock out hybrid that way.

Another option that you might consider, is the use of the limit thread views module (see the modules page on the development section of this site). That module can be used to switch to a flat view when the number of posts reaches a specified threshold. That way users can still read in hybrid mode up to a level.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Disabling hybrid view
December 23, 2008 08:14PM
why is hybrid useless in this case?


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login