MyBB Community Forums

Full Version: Make threaded mode default for users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Subj.

Maybe I am missing something obvious and its easy to do? All I need is to make threaded mode default for new users registering. And make it default for guests as well.

Can it be achieved without actually editing core code?

Thank you.

NZ
Go to your phpMyAdmin and run the following query;
UPDATE mybb_users SET threadmode = 'linear'

Next, go to: AdminCP > Templates > Your theme's templates > Showthread templates > showthread > find the following and REMOVE;
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
Maybe I did not make myself clear? Sorry. Will try again.

I do not need to force threaded mode to all users or remove mode selection.

What I need is to make threaded mode default when user registers (later he can change it to linear if he wants), and show threaded view to guests.

NZ
ACP >> Configuration >> Settings >> Show Thread Options >> Usenet Style Thread View >> Yes
Wow!!!!! Thank you, thank you, thank you!
(Feeling like an idiot, but a happy idiot Smile

NZ