Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Full size avatar in user's profile
Lea Verou
Join Date: Jul 2005
Posts: 1,856

Greece
by Lea Verou Lea Verou is offline 14 May 2008
Rating: (7 votes - 4.86 average)

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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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: 16410
Reply With Quote
Comments
  #2  
Old 14 May 2008, 12:06
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
Originally Posted by Michelle
And if any vB dev is reading, I want to say that its disgraceful to have to make a file edit for that!!!
agreed
Reply With Quote
  #3  
Old 14 May 2008, 13:22
cafenetland cafenetland is offline
 
Join Date: Jan 2008
thx man.

it looks much much better


Reply With Quote
  #4  
Old 14 May 2008, 13:57
elmati elmati is offline
 
Join Date: Mar 2007
I'm not a fan of file edits, but nice hack m8
Reply With Quote
  #5  
Old 14 May 2008, 13:59
slowphantom's Avatar
slowphantom slowphantom is offline
 
Join Date: Jun 2006
thx great work keep it up
Reply With Quote
  #6  
Old 14 May 2008, 14:05
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Originally Posted by elmati View Post
I'm not a fan of file edits, but nice hack m8
I hate file edits too, I got so mad when I found out that this needs a file edit...
Reply With Quote
  #7  
Old 14 May 2008, 20:58
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Nice find Lia, I needed this too
Reply With Quote
  #8  
Old 14 May 2008, 21:34
MSheraz86's Avatar
MSheraz86 MSheraz86 is offline
 
Join Date: Dec 2005
Thanks for this very helpful indeed!
Reply With Quote
  #9  
Old 14 May 2008, 23:54
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
One of the few times where a file edit can be really useful. Thx!
__________________
Live everyday as if it was your last, because one day it just may be.
Reply With Quote
  #10  
Old 15 May 2008, 12:39
avsunforum avsunforum is offline
 
Join Date: Feb 2008
Thank You very Much
Reply With Quote
  #11  
Old 15 May 2008, 17:27
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Great! Nominated for MOTM.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #12  
Old 18 May 2008, 17:52
Thelonius Beck's Avatar
Thelonius Beck Thelonius Beck is offline
 
Join Date: Jan 2008
I only made the size change, as my members prefer the locations 'as is', but great job on the file edit.
*Installed*
Reply With Quote
  #13  
Old 22 May 2008, 22:41
DaninMS DaninMS is offline
 
Join Date: May 2008
Nice. Hated that thumbnail they used. thx.
Reply With Quote
  #14  
Old 23 Jun 2008, 19:47
Saskia's Avatar
Saskia Saskia is offline
 
Join Date: Oct 2005
Real name: Saskia
Great modification. I can't believe it's not a standard vB option to choose either thumbnail or normal size avatar for memberinfo.

Thanks!
Reply With Quote
  #15  
Old 08 Jul 2008, 21:30
Vegetrunks's Avatar
Vegetrunks Vegetrunks is offline
 
Join Date: Apr 2006
Thanks for this hack.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:45.

Layout Options | Width: Wide Color: