The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I center the user profile bit
I want the avatar, location, and posts centered.
how do I do that |
#2
|
||||
|
||||
You would just add some CSS to your additional.css template to center things. I can't be more specific since you didn't provide a link to a showthread page on your site.
|
#3
|
|||
|
|||
<a href="http://www.mysportslegion.com/forums/showthread.php?13424-David-Ortiz-to-15-day-DL" target="_blank">http://www.mysportslegion.com/forums...z-to-15-day-DL</a>
see how it's not centered? |
#4
|
|||
|
|||
Guests can't see plz update user group permissions or give a temp user name
|
#5
|
|||
|
|||
<a href="http://www.mysportslegion.com/forums/showthread.php?13461-Team-USA-vs-Great-Britain-Discussion-Thread-%282-10-EST-on-ESPN2%29" target="_blank">http://www.mysportslegion.com/forums...ST-on-ESPN2%29</a>
|
#6
|
|||
|
|||
I see nothing wrong with what you have. Looks to me you are looking for some custom work done if so you need to post in the correct section
|
#7
|
||||
|
||||
For the avatar, try:
HTML Code:
.postbitlegacy .userinfo a.postuseravatar { display: block; text-align: center; width: 100%; } |
#8
|
||||
|
||||
I allow my users to select whether or not they want the username, avatar, user ranks, etc., alligned to the left, right, or centered using the followng plugin on parse_templates hook.
PHP Code:
PHP Code:
|
#9
|
||||
|
||||
Sartreck,
I love your idea, and hope it works for what I'm searching for. I'm searching to center user profile fields. However, for forum fields I found something that works great, it just doesn't work for the user profile. Open additional.css and place this code in there. You will have to do it for every style that you have. Code:
/* center avatar, username, title, rank in postbit legacy 4.x.x */ .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;} |
#10
|
||||
|
||||
Well, for Profile Fields, I have something else altogether.
I change the display of the existing fields to "none", and put in my OWN stuff. parse_templates PHP Code:
cache_templates PHP Code:
postbit_display_complete PHP Code:
PHP Code:
Damned 20,000 character limit is making me split this post. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|