Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #16  
Old 03 Aug 2008, 15:25
Konstantinos's Avatar
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
thats cool. how do we make the same for avatars in visitor messages and buddylists and everywhere else its is needed to wipe out this avatar small size all over the forum
Reply With Quote
  #17  
Old 03 Aug 2008, 19:50
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Real name: Karen
THANK YOU! They need to incorporate this change in the next release. May I say, I would NEVER have found this on my own.
Reply With Quote
  #18  
Old 29 Sep 2008, 00:55
Bill from Cleve Bill from Cleve is offline
 
Join Date: Sep 2008
Works great. By any chance, do you know how to move a members user name above the avatar in the forums? I'm ultra new to Vbulletin.
Reply With Quote
  #19  
Old 05 Oct 2008, 02:38
Seiyaboy Seiyaboy is offline
 
Join Date: May 2006
Thank you so much. I was so angry when vbulletin resized down the avatar in profiles. I mean it's reasonable for the friendslist to be resize, but a member's avatar? Oh please. Thanks to this edit our customized member profiles look so much better now. <3
Reply With Quote
  #20  
Old 11 May 2009, 03:23
The-Ensemble's Avatar
The-Ensemble The-Ensemble is offline
 
Join Date: Jul 2006
Real name: Jaymes
Thank you very much.
Reply With Quote
  #21  
Old 11 Aug 2009, 16:18
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
Thank you!
Reply With Quote
  #22  
Old 25 Nov 2009, 05:03
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Real name: Kevin
Does anyone here happen to know if an avatar can be made to only be full size if it's under a certain amount of dimensions? For example, if an avatar is over 100x100, it will only display a thumbnail?
__________________
Join The Infinity Program, my den of villains and swashbucklers.

My latest article: "The effects of a shoutbox on a forum community."
Reply With Quote
  #23  
Old 15 Dec 2009, 20:50
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
what template would i find this in????
Reply With Quote
  #24  
Old 15 Dec 2009, 21:20
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Real name: Cor
Originally Posted by COL NIL SATIS View Post
what template would i find this in????
none. it's a file edit, not a template edit
Originally Posted by Michelle View Post
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.
__________________
Turning Strigoi? Vampire Academy - Bta.
Reply With Quote
  #25  
Old 16 Dec 2009, 17:49
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
sorry but im a noob on this..where would i find said file???
Reply With Quote
  #26  
Old 18 Dec 2009, 01:27
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Real name: Kevin
Col,

You have to use an FTP program like Filezilla or CuteFTP to edit the file "class_userprofile.php", which is located in the directory "/includes/", with the first "/" representing your "root" directory, or your first/top directory (you should see it after logging into your website).

I assume whoever is hosting your forum has allowed you database access. If you're not sure, you should ask your host; from the host, too, you can get the user name, password, and FTP address you'll need to login (the latter is usually ftp:// followed by your site URL after "www.").
__________________
Join The Infinity Program, my den of villains and swashbucklers.

My latest article: "The effects of a shoutbox on a forum community."
Reply With Quote
  #27  
Old 06 Feb 2010, 15:46
multiplex multiplex is offline
 
Join Date: Jun 2009
i have a board with variable size avatars from 125x125 up to 200x200. this trick works but the 200x200 avatars are too big for the profile page box in sits in. so i figured out a way to set the dimensions by trial and error but there is one draw back. i set my dimensions at 125x125 but any avatar that a members adds that is less then 125x125 will be stretched and lose resolution. here is what i did:


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

changed to


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




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

changed to


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




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

changed to


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

with these dimensions an avatar can easily fit in the box. one other downside is if a member has a rectangular avatar, the shorter dimension will be stretched

can anyone provide any help on how to work around this? like rather then defining a set dimension, defining a maximum allowable dimension
Reply With Quote
  #28  
Old 07 Apr 2010, 19:35
Wifey Wifey is offline
 
Join Date: Mar 2004
Thank you so much for sharing this! Very helpful and looks MUCH better in the profile.
Reply With Quote
  #29  
Old 26 Aug 2010, 19:29
deisnet deisnet is offline
 
Join Date: Feb 2010
can some one show me how to to the same with friends avatars ??
Reply With Quote
  #30  
Old 07 Feb 2013, 03:13
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
THanks for this. I'm going to try it with VB 3.8.7. It would be nice if vBulletin included this as an adjustable feature. By that I mean the display size of the avatar image on the profile page.

Originally Posted by Lea Verou View Post
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!!!
--------------- Added 07 Feb 2013 at 03:44 ---------------

Is there any way to keep the aspect ratio of the image? So I can just set width restrictions?
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
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


New To Site? Need Help?

All times are GMT. The time now is 02:18.

Layout Options | Width: Wide Color: