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 :eek:
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!!! :mad: |
Quote:
|
|
I'm not a fan of file edits, but nice hack m8 :)
|
thx great work keep it up
|
Quote:
|
Nice find Lia, I needed this too :)
|
Thanks for this :) very helpful indeed!
|
One of the few times where a file edit can be really useful. Thx!
|
Thank You very Much
|
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|