Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2013, 01:30 AM
Life Treasure Life Treasure is offline
 
Join Date: Sep 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Avatar Size

Hello

The original size of the avatar is only shown in the postbit. However, in the member profile, member list and activity stream .. etc, a smaller thumbnail is shown (usually 60x60 or 40x40).
Is there a way to always show the original size of the avatar instead of creating a thumbnail especially in user profiles?

I'm currently allowing 180x180 avatar, so it's really not nice when their size is decreased to 60x60 or smaller!

Thanks
Reply With Quote
  #2  
Old 06-28-2013, 07:10 AM
Fun-Masti Fun-Masti is offline
 
Join Date: Apr 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think modifying the image size from CSS of the particular locations, wherever you want the full size image, can do the job. However, you might end editing a lot more things to make things look balanced for the same.
Reply With Quote
  #3  
Old 06-28-2013, 12:55 PM
Life Treasure Life Treasure is offline
 
Join Date: Sep 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fun-Masti View Post
I think modifying the image size from CSS of the particular locations, wherever you want the full size image, can do the job. However, you might end editing a lot more things to make things look balanced for the same.
Thank you for your reply.

Can you tell me please what CSS code should I add/change to make the avatar size in member profiles full size?
Reply With Quote
  #4  
Old 06-28-2013, 01:06 PM
Fun-Masti Fun-Masti is offline
 
Join Date: Apr 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exact page you want to edit? Can you give the link to the portion of the edit required?

What I think you are asking for is http://xyz.com/forum/memberlist.php
Then follow these steps:
Style manager > Edit templates ( of the style u are using) > CSS templates ( click for a list to load) > Memberlist.css >
Look for
Code:
#memberlist img.avatar {
	max-width:
Put the value of max-width:180px (if that's the size you are looking for?) > Save.
Refresh your member list. Larger sized avatar would be available. :-)
Reply With Quote
  #5  
Old 06-28-2013, 01:37 PM
Life Treasure Life Treasure is offline
 
Join Date: Sep 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fun-Masti View Post
What exact page you want to edit? Can you give the link to the portion of the edit required?

What I think you are asking for is http://xyz.com/forum/memberlist.php
Then follow these steps:
Style manager > Edit templates ( of the style u are using) > CSS templates ( click for a list to load) > Memberlist.css >
Look for
Code:
#memberlist img.avatar {
	max-width:
Put the value of max-width:180px (if that's the size you are looking for?) > Save.
Refresh your member list. Larger sized avatar would be available. :-)
Thank you very much FunMasti

The way worked and the avatars appear much better now, thanks to you.

But the page I wanted, more importantly, to do that was the User Profile Page (e.g. https://vborg.vbsupport.ru/member.php?u=431056) - But vB 4 version of it of course!

So could you tell me which CSS should I edit for that page?

And IF YOU HAVE TIME please tell me which codes should I edit for the activity stream and friends list (which also appears in User Profile Page).

Thanks again :-)
Reply With Quote
  #6  
Old 06-28-2013, 02:15 PM
Fun-Masti Fun-Masti is offline
 
Join Date: Apr 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to go to member.css (just the file above memberlist.css)

This one is a bit complex to do. You will have to first and foremost take the backup of the file.
Next, search for term 'Avatar' in the codes (using ctrl+f), and find the specific locations (use firebug to find the locations and their css tags) where you want to adjust the sizes, and replace them with the appropriate size. Save and reload. Refresh the page to check.

Remember to backup first.
Reply With Quote
  #7  
Old 06-28-2013, 04:21 PM
Life Treasure Life Treasure is offline
 
Join Date: Sep 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fun-Masti View Post
You need to go to member.css (just the file above memberlist.css)

This one is a bit complex to do. You will have to first and foremost take the backup of the file.
Next, search for term 'Avatar' in the codes (using ctrl+f), and find the specific locations (use firebug to find the locations and their css tags) where you want to adjust the sizes, and replace them with the appropriate size. Save and reload. Refresh the page to check.

Remember to backup first.
Thank you again. I'll explore member.css and hopefully I'll be able to do what I want.

Regards


--------------- Added [DATE]1372441271[/DATE] at [TIME]1372441271[/TIME] ---------------

I finally found how to do it!

This is the solution (that works for vB 4 as well):
https://vborg.vbsupport.ru/showthread.php?t=179172
Reply With Quote
  #8  
Old 10-03-2013, 08:47 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fun-Masti View Post
What exact page you want to edit? Can you give the link to the portion of the edit required?

What I think you are asking for is http://xyz.com/forum/memberlist.php
Then follow these steps:
Style manager > Edit templates ( of the style u are using) > CSS templates ( click for a list to load) > Memberlist.css >
Look for
Code:
#memberlist img.avatar {
	max-width:
Put the value of max-width:180px (if that's the size you are looking for?) > Save.
Refresh your member list. Larger sized avatar would be available. :-)
:up::up::up::up::up::up:
Reply With Quote
  #9  
Old 12-06-2013, 06:43 AM
fpd42 fpd42 is offline
 
Join Date: Aug 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, help here....I display an avatar AND a user photo on my member list. I did this modification exactly and it ONLY enlarges my profile pic, and not the avatar?

Anyone?
Reply With Quote
  #10  
Old 12-06-2013, 06:55 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to provide more information or how is anyone going to help you?

We would need a link to this page so we can see the CSS and html structure.
Do you have any other 'memberlist' mod's that could be interfering?
Reply With Quote
Reply


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


All times are GMT. The time now is 02:31 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
  • Page Generation 0.04428 seconds
  • Memory Usage 2,254KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete