MyBB Community Forums

Full Version: How to disable threaded mode?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,if anyone knows how to disable threaded mode it would be grate if you could share.I tried "http://community.mybb.com/thread-93760.html",but it still often opens thread in threaded mode.(Like when you click on last post link or when you search for thread).
Thanks.
Go to: ACP > Templates > Your theme's templates > User Control Panel templates > usercp_options > find the following and Remove;
<option value="threaded" {$threadview['threaded']}>{$lang->threaded}</option>

Now Open > Showthread Templates > showthread > find the following and Remove;
<a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | 

Now you've to run a query to Revert all users to Linear mode, run the following;
UPDATE `mybb_users` SET `threadmode`='linear';
Undecided as I already said
Quote:I tried "http://community.mybb.com/thread-93760.html",but it still often opens thread in threaded mode.(Like when you click on last post link or when you search for thread).
Then you didn't ran the query or ran it in wrong database.
No,it works,but if I click on last post or on thread while searching it still opens thread in threaded mode.
Update: linear mode is only when I use search and click on thread.
Ok.I managed to fix this problem by myself.I turned off the "Usenet Style Thread View" and now it is ok.