Large Font

Change size for all existing users and future users - Large Font

Change size for all existing users and future users

by kamaleon » Sun Oct 21, 2018 8:45 pm

Hello,

How can I increase the size for all existing users and future users?

I have run this

Code: Select all

UPDATE phpbb_users SET user_font = 1 WHERE user_id IN(SELECT user_id FROM phpbb_user_group WHERE group_id = 1);
And it just works for anonymous users.

How to enable it for existing users and future users?

Thank you
This is a test signature. I hope you love it :D
User avatar
kamaleon
Registered User
Posts: 510
Joined: Tue Sep 09, 2014 9:47 am
Location: Barcelona
Contact:

Re: Change size for all existing users and future users

by HiFiKabin » Mon Oct 22, 2018 9:31 am

You will need to disable the extension and delete its data first.

Then download and unzip the attached, and upload it to:-

ext>hifikabin>largefont>migrations>v1x

overwriting the existing file.

Then enable the extension.

That will turn the extension on for all users (current and future) to the ~ 130% level. Each user will still have full control over how much their font size is increased should they wish to change it.
release_1_0_0_schema.zip
(547 Bytes) Downloaded 22 times
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4066
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Change size for all existing users and future users

by kamaleon » Mon Oct 22, 2018 10:49 am

Thanks a lot James.

And what if there is an update to the extension?
This is a test signature. I hope you love it :D
User avatar
kamaleon
Registered User
Posts: 510
Joined: Tue Sep 09, 2014 9:47 am
Location: Barcelona
Contact:

Re: Change size for all existing users and future users

by HiFiKabin » Mon Oct 22, 2018 11:02 am

I am not anticipating any update for this extension, but as long as you do not delete any data everything will stay as you want it to be.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4066
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Change size for all existing users and future users

by kamaleon » Mon Oct 22, 2018 11:38 am

I mean the file you gave me won't be overwritten?
This is a test signature. I hope you love it :D
User avatar
kamaleon
Registered User
Posts: 510
Joined: Tue Sep 09, 2014 9:47 am
Location: Barcelona
Contact:

Re: Change size for all existing users and future users

by HiFiKabin » Mon Oct 22, 2018 12:46 pm

If you 'replace all' then yes it will be overwritten. If there is a future update then to be 100% sure that there are no issues:-

Disable the extension, unzip the new files, replace release_1_0_0_schema.zip in the new download with the one above, then upload and enable.

( the file release_1_0_0_schema.zip will NEVER change in any further update so you could just make sure you leave it on the server when updating. The result would be the same)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4066
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Change size for all existing users and future users

by kamaleon » Mon Oct 22, 2018 1:10 pm

OK, thanks.
This is a test signature. I hope you love it :D
User avatar
kamaleon
Registered User
Posts: 510
Joined: Tue Sep 09, 2014 9:47 am
Location: Barcelona
Contact: