Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2014, 05:29 AM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Avatars

How can i make the Avatar Size automaticly to a good quality and not like this wierd thing ?

and to a bigger size

http://prntscr.com/472jo6
Reply With Quote
  #2  
Old 07-28-2014, 04:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The avatar size is set here, so just add this to your css_additional.css template and change the values to what you want:

HTML Code:
.b-avatar--m > img {
max-height: 64px;
max-width: 64px !important;}
You can also remove the border by modifying the stylevar thread_view_avatar_border
Reply With Quote
  #3  
Old 07-28-2014, 05:31 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://prntscr.com/4783br" target="_blank">http://prntscr.com/4783br</a>

this happens then
Reply With Quote
  #4  
Old 07-29-2014, 06:47 AM
hs4x4 hs4x4 is offline
 
Join Date: Jul 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the css_additional.css located?
Reply With Quote
  #5  
Old 07-29-2014, 07:00 AM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hs4x4 View Post
Where is the css_additional.css located?
Post only stuff for my problem please.
Reply With Quote
  #6  
Old 07-29-2014, 07:28 AM
hs4x4 hs4x4 is offline
 
Join Date: Jul 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorKokosnuss View Post
Post only stuff for my problem please.
I'm not trying to hijack your thread. I want to do the same thing you want to do. I just don't know where the .css file he referenced is located to try his solution of adding that code.
Reply With Quote
  #7  
Old 07-29-2014, 07:34 AM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hs4x4 View Post
I'm not trying to hijack your thread. I want to do the same thing you want to do. I just don't know where the .css file he referenced is located to try his solution of adding that code.
I will not tell you where it is located. Open your own thread if you have questions

Edit: Check your PM's
Reply With Quote
  #8  
Old 07-29-2014, 04:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorKokosnuss View Post
http://prntscr.com/4783br

this happens then
That happens when? What *exactly* did you do? And what am I supposed to see in that image? I just see an avatar that still had a border.

Quote:
Originally Posted by hs4x4 View Post
Where is the css_additional.css located?
It is a template in the CSS Templates group.
Reply With Quote
  #9  
Old 07-29-2014, 06:34 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have posted this line in the additional css:

.b-avatar--m > img {
max-height: 100px;
max-width: 100px !important;

And then the postbit with the informations got that small and the font size has been changed
Reply With Quote
  #10  
Old 07-29-2014, 08:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if you meant to leave off the ending }, but that will mess things up.

.b-avatar--m > img {
max-height: 100px;
max-width: 100px !important;}

A link to view the problem would help since this is a CSS issue.
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07551 seconds
  • Memory Usage 2,264KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete