Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Force everyone to use Classic layout?
#1
Not Solved
Hello everyone

I would like all of my users to use "Classic" layout instead of "Horizontal" layout (or if I can't force them, then at least I want that to be their default setting). How can I accomplish that?

Thanks
Samuel
#2
Not Solved
http://community.mybb.com/thread-40093.html
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Not Solved
edit: delayed response

simple method is to set the classic layout in the admin panel (showthread options) and install & activate force postbit layout plugin
#4
Not Solved
Go to SQL section and insert this rule
UPDATE `mybb_users` SET `classicpostbit` = '1' WHERE `classicpostbit` = '0'
#5
Not Solved
(10-18-2013, 11:14 AM)Matt. Wrote: http://community.mybb.com/thread-40093.html

Thanks, Matt. Do I understand correctly that I don't need to run the SQL command if I only want future members to be forced to use the layout (i.e. if I don't care about current members, or if there are still so few current users that I can switch them all manually before editing the template)?

Samuel
#6
Not Solved
^ using force postbit layout plugin should be easy!
#7
Not Solved
(10-18-2013, 12:20 PM).m. Wrote: ^ using force postbit layout plugin should be easy!

Thanks, Agent M Big Grin, I'll give the plugin a go as well, but the answer to my question would teach me something about how myBB and SQL works that I would not learn from just installing the plugin.

Samuel
#8
Not Solved
(10-18-2013, 12:13 PM)ugcheleuce Wrote:
(10-18-2013, 11:14 AM)Matt. Wrote: http://community.mybb.com/thread-40093.html

Thanks, Matt. Do I understand correctly that I don't need to run the SQL command if I only want future members to be forced to use the layout (i.e. if I don't care about current members, or if there are still so few current users that I can switch them all manually before editing the template)?

Samuel

Correct; the setting in the Admin CP will be what guests and new users use, the SQL query will just force a setting change for existing users if desired.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#9
Not Solved
@OP, as you might be knowing, postbit layout is a admin panel setting as well as a user option.
user option overrides admin panel setting. template edit removes user option and SQL query works
for all current users. as new users do not have the option to select postbit layout, admin panel
setting takes care of it for them.
#10
Not Solved
(10-18-2013, 12:33 PM).m. Wrote: user option overrides admin panel setting.

Bummer. So I'm not a god after all. :-)

Quote:template edit removes user option...

Well, that's exactly what I thought tonight -- I can simply make a backup of the postbit template, and then copy/paste the content from the postbit_classic template into the postbit template, and then it won't matter what the user chooses. Right? Or is there some kind of reason why this would be a bad idea?


Forum Jump:


Users browsing this thread: 1 Guest(s)