Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Avatar User Requirements Not Changing

Asked Modified Viewed 2,043 times
T
Tech
T
Tech 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Hello,

I am having a slight issue.

I am able to change the size from Admin Panel --> Settings --> User Management:
lh4.ggpht.com/_vNPqpVXjVg8/TOVGhCpu1tI/AAAAAAAAAhc/1AxWcXRwZ_o/useravatar01.png

However the requirements for the user are not changing:
lh5.ggpht.com/_vNPqpVXjVg8/TOVGhXX6XtI/AAAAAAAAAhg/P91nGRVy6CA/useravatar02.png

What am I missing, or what could be broken? I am running PHPFusion v7.01.02.

Thanks,
Ryan
0 replies

4 posts

T
Tech
T
Tech 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

Found the answer on my own...

You need to change line 327 in administration/members.php:

echo "<span class='small2'>".sprintf($locale['u012'], parsebytesize(30720), 80, 80)."</span></td>\n";

How come this doesn't update automatically?
0 replies
G
GMUDuckman
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
answered
Senior Member

dunno might be a bug... check on the DEV site
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

In administration\members.php you should change this:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]".sprintf($locale['u012'], parsebytesize(30720), 100, 100)."[/syntaxhighlighter]

Into:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]".sprintf($locale['u012'], parsebytesize($settings['avatar_filesize']), $settings['avatar_width'], $settings['avatar_height'])."[/syntaxhighlighter]

Then it will pickup the setting you make in administration\settings_users.php

Seems like it's just been forgotten that member avatar can actually be changed other places than in edit profile when the hard coded avatar size was updated to be an admin variable setting.
0 replies
R
Rolf Mayer
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

In my (German) Version 7.01.02 it's as it should be. I didn't change the file.B)
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
G
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
R
R
Ex
  • Senior Member, joined since
  • Contributed 391 posts on the community forums.
  • Started 7 threads in the forums
T
T
Tech 10
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet