jovia
New Member
Posts: 17
inherit
217254
0
Apr 30, 2018 17:24:26 GMT -8
jovia
17
December 2014
jovia
|
Post by jovia on Apr 19, 2018 14:41:54 GMT -8
So I've been working on a forum of mine for a bit -It is in maintenance mode so linking it woke really help I feel-
Got a theme layout from the library and everything that gave a large avatar of 220 by 350... However when you go into edit profile and work on the avatar it always says "Recommended 150 by 150"
How do I change that? So my members know the sizing and everything, I have seen it changed in other sites and it didn't come changed with the theme.
|
|
inherit
251558
0
Jan 26, 2024 23:23:28 GMT -8
Liam
33
December 2017
chasesupply
|
Post by Liam on Apr 19, 2018 17:42:27 GMT -8
Hi. I had a quick look around the template files and didn't see a way to change it, so I wrote a quick script to do it.
You can place it in your Global Footer by going to Admin > Structure > Headers & Footers and then clicking the Global Header & Footer link. Paste this code in the Footer box at the bottom:
<script type="text/javascript">
// Change the text between the two quotation marks // to whatever you want to appear on the avatar uploader. var avaMessage = "Recommended 220 x 350";
$(document).ready(function() {
// Check that we are on the right page before executing the code if (proboards.data("route").name == "edit_user_avatar") {
$("#image-avatar-editor-container .float-right").html(avaMessage); } }); </script>
|
|
inherit
218140
0
Feb 26, 2021 17:49:17 GMT -8
Aeryes
97
January 2015
aeryes
|
Post by Aeryes on Apr 19, 2018 18:09:46 GMT -8
Are you talking about the hover image? because that will be linked to a custom profile field. This?
|
|
inherit
160323
0
May 13, 2024 16:36:19 GMT -8
Night
120
November 2010
lind00
|
Post by Night on Apr 19, 2018 20:17:23 GMT -8
So I've been working on a forum of mine for a bit -It is in maintenance mode so linking it woke really help I feel- Got a theme layout from the library and everything that gave a large avatar of 220 by 350... However when you go into edit profile and work on the avatar it always says "Recommended 150 by 150" How do I change that? So my members know the sizing and everything, I have seen it changed in other sites and it didn't come changed with the theme. Aeryes is correct! Normally the Large Avatar is controlled by a Custom Profile Field. In order to add one, go to Admin>Members>Custom Profile Fields. Now, I would suggest looking for a Support Thread for the Theme you are using (if it is from the PB Library then there is sure to be one). That thread will list all the Custom Profile Fields you need in order to get a fully functioning Mini-Profile and Profile View. This is because Custom Profile Fields need to be spelled/typed exactly the same as they appear in the Layout Templates so all the automated coding can work. If you need more help, I'm sure others and myself would be glad to give some time. I just ask that if you do not wish to take your site off Maintenance Mode, could you share the name of the Theme you are using so that interested helpers can open it up on their sites to help you? Hopefully this helps!
|
|
jovia
New Member
Posts: 17
inherit
217254
0
Apr 30, 2018 17:24:26 GMT -8
jovia
17
December 2014
jovia
|
Post by jovia on Apr 19, 2018 20:31:08 GMT -8
So the forums had died for me and I just got back to check, and yes I have a mini profile with hover image that came with the layout with no real way to change it because of how they did the layout.
However when you go and upload an avatar in your profile, for any member not just staff, it is the hover image... while the "mini" image non hover is only a sitewide picture and not something a member could change for their own account.. that mini image can only be changed in the CSS part via their instructions.
And yes I did go to the support thread for the theme I am using, however the maker hasn't posted since 2014 and has since stopped supporting their layouts. So the support thread isn't going to help me.
So I'm pretty much stuck with this unless I can somehow get an entirely new mini profile thing and somehow someway put it into the layout purple dream.
But what Chasesupply gave fixed it thank you!
Edit: I didn't have access to the custom field part that you guys mentioned since I was not the one to create the site myself but was made admin by who did to work on the layout.
|
|