![]() |
|
Article Options |
Full size avatar in user's profile
by
![]() Rating:
![]() It seems that Jelsoft expects everyone to have profile pictures enabled. This is the only explanation I can think for the fact that in the user's profile, his/her own avatar, is a thumbnail, whereas in other places such as the postbit or the memberinfo, its full size ![]() Personally, I have disabled profile pictures, as I feel they are completely superfluous and I wanted the user's avatar to display at the place that the vB devs have intended the profile pic to do so. The template edit to put it there was easy. However, how the hell would I make it full size? I even tried using the code from my 3.6.x memberinfo template. It didn't help. No template edit I thought helped. So, as a last resort, I looked at the code. After some reading, I found out what I had to change: file: includes/class_userprofile.php line: 197 find:
change to:
Basically, you change the 2nd parameter from true to false. And there isn't even a hook somewhere nearby, to save the file edit. I hope it helps someone save the time that I spent looking for it. And if any vB dev is reading, I want to say that its disgraceful to have to make a file edit for that!!! ![]() Last edited by Princeton; 07 Jul 2008 at 15:00.. Reason: just added line breaks |
||||||||
Views: 17553
|
Comments |
#2
|
|||
|
|||
Originally Posted by Michelle
agreed
![]() No members have liked this post.
|
#3
|
|||
|
|||
thx man.
it looks much much better ![]() No members have liked this post.
|
#4
|
|||
|
|||
I'm not a fan of file edits, but nice hack m8
![]() No members have liked this post.
|
#5
|
||||
|
||||
thx great work keep it up
No members have liked this post.
|
#6
|
|||
|
|||
I hate file edits too, I got so mad when I found out that this needs a file edit...
No members have liked this post.
|
#7
|
|||
|
|||
Nice find Lia, I needed this too
![]() No members have liked this post.
|
#8
|
||||
|
||||
Thanks for this
![]() No members have liked this post.
|
#9
|
||||
|
||||
One of the few times where a file edit can be really useful. Thx!
No members have liked this post.
|
#10
|
|||
|
|||
Thank You very Much
No members have liked this post.
|
#11
|
||||
|
||||
Great! Nominated for MOTM.
![]() No members have liked this post.
|
#12
|
||||
|
||||
I only made the size change, as my members prefer the locations 'as is', but great job on the file edit.
*Installed* No members have liked this post.
|
#13
|
|||
|
|||
Nice. Hated that thumbnail they used. thx.
No members have liked this post.
|
#14
|
||||
|
||||
Great modification. I can't believe it's not a standard vB option to choose either thumbnail or normal size avatar for memberinfo.
Thanks! No members have liked this post.
|
#15
|
||||
|
||||
Thanks for this hack.
![]() No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:42.