The Arcive of vBulletin Modifications Site. |
|
|
Full size avatar in user's profile
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: PHP Code:
PHP Code:
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!!!
|
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
|||
|
|||
|
thx man.
it looks much much better
|
|
#4
|
|||
|
|||
|
I'm not a fan of file edits, but nice hack m8
|
|
#5
|
||||
|
||||
|
thx great work keep it up
|
|
#6
|
|||
|
|||
|
I hate file edits too, I got so mad when I found out that this needs a file edit...
|
|
#7
|
|||
|
|||
|
Nice find Lia, I needed this too
|
|
#8
|
||||
|
||||
|
Thanks for this
very helpful indeed!
|
|
#9
|
||||
|
||||
|
One of the few times where a file edit can be really useful. Thx!
|
|
#10
|
|||
|
|||
|
Thank You very Much
|
![]() |
|
|