Add a hint to the Edit profile banner button

Sim

Well-known member
There are no instructions on exactly what a profile banner is or does - or what the size requirements or recommendations are.

I suggest adding a hint or some other information on the Account details page to explain more about it?

1593000252922.webp
 
Upvote 13
Upvoted. Agree it needs a hint like the avatar upload form.

Mean time you can edit the template
account_banner
and change
Code:
            <xf:uploadrow label="{{ phrase('upload_new_profile_banner') }}" name="upload" class="js-uploadBanner" accept=".gif,.jpeg,.jpg,.jpe,.png" />
to
Code:
            <xf:uploadrow label="{{ phrase('upload_new_profile_banner') }}"
                          explain="{{ phrase('it_is_recommended_that_you_use_image_that_is_at_least_x_pixels', {'width': 1781,'height': 250}) }}"
                          name="upload" class="js-uploadBanner" accept=".gif,.jpeg,.jpg,.jpe,.png" />
 
Last edited:
It would actually be nice if there was already an explain phrase included by default for every item on that page, even if it's empty out of the box.

I had to make a template edit earlier today to add an explain section below the 'About You' field on that page, to give some prompts for what people could write. Might as well just give every field one, then we can edit all of them easily using the phrase system.
 
Top Bottom