MyBB Central

Full Version: postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've set it to show in the classic format but it continues to display on the horizontal layout for all members unless they specify in the UCP.

You can view an example in the attachment
I see it in classic format.
(Oct 22, 2008, 06:07 AM)sadiqsaad Wrote: [ -> ]I see it in classic format.

Maybe it hasn't changed the format for current members?
(Oct 22, 2008, 06:10 AM)Snappo Wrote: [ -> ]
(Oct 22, 2008, 06:07 AM)sadiqsaad Wrote: [ -> ]I see it in classic format.

Maybe it hasn't changed the format for current members?

And that's how it's meant to be. The ACP setting only affects guests and new users. Once a user has registered, even if they don't change their postbit view in their UCP, the ACP setting will have no effect on them if it is changed.
(Oct 22, 2008, 07:28 AM)Matt_ Wrote: [ -> ]
(Oct 22, 2008, 06:10 AM)Snappo Wrote: [ -> ]
(Oct 22, 2008, 06:07 AM)sadiqsaad Wrote: [ -> ]I see it in classic format.

Maybe it hasn't changed the format for current members?

And that's how it's meant to be. The ACP setting only affects guests and new users. Once a user has registered, even if they don't change their postbit view in their UCP, the ACP setting will have no effect on them if it is changed.

That's nice and all but I want it changed Smile I'm just going to edit the postbit for the horizontal layout because it is bloody horrible.
Well, you can't force it on users unless you make both postbit templates the same.
That's what I've done.
You should have just altered the database and then change the default for signup. That would still allow the option for users but would of course start them with classic.

In phpmyadmin run this:

UPDATE mybb_users set classicpostbit='1';

That takes care of all existing users.

Now let's change the default.

ALTER TABLE `mybb_users` CHANGE `classicpostbit` `classicpostbit` INT( 1 ) NOT NULL DEFAULT '1'

Now that SHOULD do it...but after trying this please signup a test member to make sure. Let me know if it doesn't work.
You can also remove the option for them to change it by removing the line in usercp_options, so they can't even try and change it.
(Oct 22, 2008, 11:37 AM)labrocca Wrote: [ -> ]You should have just altered the database and then change the default for signup. That would still allow the option for users but would of course start them with classic.

In phpmyadmin run this:

UPDATE mybb_users set classicpostbit='1';

That takes care of all existing users.

Now let's change the default.

ALTER TABLE `mybb_users` CHANGE `classicpostbit` `classicpostbit` INT( 1 ) NOT NULL DEFAULT '1'

Now that SHOULD do it...but after trying this please signup a test member to make sure. Let me know if it doesn't work.

Never thought of that cheers Smile

(Oct 22, 2008, 11:51 AM)Matt_ Wrote: [ -> ]You can also remove the option for them to change it by removing the line in usercp_options, so they can't even try and change it.

Will do Smile
Pages: 1 2