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

Reply
 
Thread Tools Display Modes
  #41  
Old 08-04-2014, 08:31 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this to the .navbar:

Code:
margin-bottom: -10px;
Reply With Quote
  #42  
Old 08-04-2014, 08:34 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know maby why <center> / </center> and <br> is not working in postbit_legacy ?

Because i can't add there spaces or center the user informations.

And uhmm to resize my user rank image i added this code:

fieldset, img {
border: 0;
max-width: 200px;
}

but now is my website logo also that small :S
Reply With Quote
  #43  
Old 08-04-2014, 08:36 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorKokosnuss View Post
Do you know maby why <center> / </center> and <br> is not working in postbit_legacy ?

Because i can't add there spaces or center the user informations.

And uhmm to resize my user rank image i added this code:

fieldset, img {
border: 0;
max-width: 200px;
}

but now is my website logo also that small :S
Not really, I don't see any posts on the site to look at.
Reply With Quote
  #44  
Old 08-04-2014, 08:38 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://boomboomforums.com/showthread.php?2-Forum&p=2#post2" target="_blank">http://boomboomforums.com/showthread...orum&p=2#post2</a>
Reply With Quote
  #45  
Old 08-04-2014, 08:43 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok for the postbit, try adding this to your additional.css

Code:
/* center avatar, username, title, rank in postbit legacy 4.0.1 */ 
.postbitlegacy .userinfo .username_container, .postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {text-align:center;}
 .postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img  {float:none; text-align:center;}
 .postbitlegacy .userinfo .usertitle {display: block; float:none; text-align:center; clear: both;}
Reply With Quote
  #46  
Old 08-04-2014, 08:44 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And why change the user ranks via css? You should load the size image you want to be there.
Reply With Quote
  #47  
Old 08-04-2014, 08:47 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MajorKokosnuss View Post
Do you know maby why <center> / </center> and <br> is not working in postbit_legacy ?

Because i can't add there spaces or center the user informations.
1. There are no center or br tags present.
2. You should not use them at all. Use CSS on existing elements to create the effect you want.

Quote:
And uhmm to resize my user rank image i added this code:

fieldset, img {
border: 0;
max-width: 200px;
}

but now is my website logo also that small :S
Well, yes, of course. Your css sets all fieldsets and images to a max-width of 200px, globally. You need to clearly specify what elements to use it on - for example:
.ranks img { ... }

BTW: Are you German?
Reply With Quote
Благодарность от:
Max Taxable
  #48  
Old 08-04-2014, 08:51 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow the extra user informations are not centerd :O

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

Quote:
Originally Posted by cellarius View Post
BTW: Are you German?
Yes
Reply With Quote
  #49  
Old 08-04-2014, 08:56 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok do this:

Code:
.postbitlegacy .userinfo .userinfo_extra {
    text-align: center;
    padding-left: 30px;
}
Reply With Quote
  #50  
Old 08-04-2014, 09:00 PM
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Uhmm i have fixed the Logo and Rank Image issue And thanks alot for your help <3<3
Reply With Quote
Благодарность от:
ozzy47
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 11:55 AM.


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.04465 seconds
  • Memory Usage 2,282KB
  • Queries Executed 14 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete