Log in

View Full Version : Mini Mods - Postbit Legacy Poster User Info: (Centered)


princeedward
02-26-2010, 10:00 PM
Postbit Legacy Poster User Info: (Centered)
(EXTRA: Change Username Font Size)
(Tested To Default vB Skin Style And FF/IE Browser Only!)







What The "H" Is This?
Just A Simple Tutorial That Might Help You Or Others Problem To Place (Postbit Legacy) Poster's Avatar Image And More To Center...

( Avatar, Username, Rank, User Title, Reputation & IM Images, And More....Plus Adjust Username Font To Any Size)



Now How To Do It?

Pls. View Image And Download Attachment Below At First!


Next Simply Go:

ACP > Styles & Templates > Search in Templates > Search in Style: (Choose Actual Style)> Search for Text: additional.css > Search Titles Only: YES > Click Find > Click Red One To Open...

Copy The Code From The Text Info And Paste To The Template (additional.css)
As Usual Click To Save And Reload....Check! If All Okay... Click Save And Closed!



NOTE:
If Anyone Can Make It More Better In Any Way (Xml Product) On This..Feel Free To Submit Your Modification Here....

Hope You Like It And Find This Useful To Your Website!
If You Use This Mod; Please Don't Forget To:


Click "Mark as Installed"
Leave Any Comment By Saying Thanks! or Anything! (Not Just Read, Use And Go)
Rate
Nominate



A Special Thanks And Credit Goes Also To Lynne...


Good Day...Thanks And Best Regards To All


Updates:

Versions:

v1.00 - 27 Feb 2010
-First version Center Avatar
v1.01 - 01 Mar 2010
-New/Latest version
Multi Centered:
-Username
-User Title
-Rank(Image)
-Reputation Image
-Avatar
-Instant Messaging
-Extra: Adjust Username Font To Any Size

COL NIL SATIS
02-27-2010, 03:17 PM
Any Screenshots mate???

princeedward
02-27-2010, 03:31 PM
Any Screenshots mate???thanks for dropin by mate...screenshots added as you wish...master...

:p

M3xital
02-27-2010, 03:39 PM
Thanks!

COL NIL SATIS
02-27-2010, 03:50 PM
thanks for dropin by mate...screenshots added as you wish...master...

:p

brill...thanks pal :D

will install now!!! looks great :up:

elwachiman
02-27-2010, 07:41 PM
perfect tnks ,installed

Bouncer222
02-27-2010, 08:35 PM
Doesn't work on 4.0.2. I added it to additional.css template. Any idea how to make it work?

princeedward
02-27-2010, 08:42 PM
you're all welcome...and thanks for interest...it's not that big mod actually it a small mini tutorial only...and for those expert and coder or well experiences like other...it's peanuts or this is nothing at all...but i saw some new members whose always askin how to center the avatar...maybe this is quite help a bit...

thanks once again and also for marking installed...and rate...don't bother to nominate i'm sure this is nothing compare to huge mod out there who is much deserving to be nominated...

:p

princeedward
02-27-2010, 08:44 PM
Doesn't work on 4.0.2. I added it to additional.css template. Any idea how to make it work?:eek: i am using tha latest version 4.0.2 i have no idea why is it not workin to your side....sorry

:confused: hmmm...

saadessa
02-27-2010, 08:55 PM
sorry not work with me

princeedward
02-27-2010, 09:07 PM
sorry not work with mehmmm...if you all have vB 4.0.2 its also same to me...but its workin perfect...both for FF and IE browser... maybe you all have to revert at first those templates...ie postbit_legacy and additonal.css

sorry but really dont know why or what's the reason...like i said it works perfect to my site vb 4.0.2

:p

sisterhood
02-28-2010, 07:39 AM
sorry not working with 4.02 i have correctly installed

voglermc
02-28-2010, 02:06 PM
latest 4.0.2 and not working here either

princeedward
03-01-2010, 10:46 AM
sorry guys...but it can't help me also to solve your problem...by only saying not working...you must also telling me maybe what browser are you using or vb version...or maybe you got any skin style....and not the default one.....it can be also that you edit the wrong template....

Note:

i might release another version for more to centered...eg Username, Avatar, Rank, User Title & Reputation Image
:p

princeedward
03-01-2010, 01:46 PM
Updates:

v1.01 - 01 Mar 2010
New/Latest: Multi Centered All:

-Username
-User Title
-Rank(Image)
-Reputation Image
-Avatar
-Instant Messaging
-Extra: Big Username Font Size

Pls. Download The postbit_legacy_userinfo_multi_centered Info Txt

thanks and best regards to all...enjoy
:p:up:

kNeeLy
03-01-2010, 09:49 PM
works on my 4.0.2...

princeedward
03-02-2010, 04:36 AM
works on my 4.0.2...glad you like it and work fine to your site...many thanks for

Installed-Nominate-Rate

best regards....

:p

ChopSuey
03-02-2010, 09:33 AM
I'd use it but im using postbit :p Good job. Postbit has less spacing with short posts.

princeedward
03-03-2010, 04:29 PM
I'd use it but im using postbit :p Good job. Postbit has less spacing with short posts.well not a problem sir..anyway thanks for the compliment...did you rated excellent then?

best regards...

:p

karkey
03-04-2010, 08:35 PM
hi i get the following

the rep and infractions as out of place

Also would you be interested in making box's around each stat ?

elwachiman
03-05-2010, 01:08 AM
-Extra: Adjust Username Font To Any Size dont work in 4.0.2 pl1

Markos
03-05-2010, 08:55 AM
its not centered all of mine im using vb4.0.2 pl1

http://img.photobucket.com/albums/v306/markos1977/jaming.jpg

princeedward
03-05-2010, 01:17 PM
hi i get the following

the rep and infractions as out of place

Also would you be interested in making box's around each stat ?sorry about that....coz their are disable to my site...

Temporary Fix Edit:

Go postbit_legacy template Find and Delete!



<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>




Same Template: Find


<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>


Below Add This:



<vb:if condition="$show['infraction'] OR $show['reppower']">

<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt> <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if></vb:if>

<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt><dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
</vb:if>




https://vborg.vbsupport.ru/external/2010/03/68.png

...and for your suggestions....maybe on the next release..if i got more spare time....quite busy nowadays...thanks....

-Extra: Adjust Username Font To Any Size dont work in 4.0.2 pl1sure it work check again maybe you missed something to the code...i am using the same version you got also...may i know what browser and skin are you using? maybe add this instead

/* change username font size */
.postcontainer .username_container .popupmenu a.popupctrl {font-size:20px;}


its not centered all of mine im using vb4.0.2 pl1sorry but you are already using other template edit mod on that images...this is quite different... if you want to use this...you have to revert your postbit_legacy templates first...and install or use this...

thanks anyway guys.....for interest...install...and rate

best regards to all...

:p:up:

worldwidereefer
03-10-2010, 04:54 PM
work great however the user name and user rank are not center, do you know why ?

www.worldwidereefers.com

Thanks

princeedward
03-10-2010, 06:55 PM
work great however the user name and user rank are not center, do you know why ?

www.worldwidereefers.com

Thankshmmm...insert this to the additional.css once again


/* center username, usertitle, rank in postbit legacy */
.postbitlegacy .userinfo .username_container, .rank, .usertitle {text-align:center;}

hope it help you and thanks for the install...nominate and rate...

goodluck and best regards

:p:up:

worldwidereefer
03-10-2010, 11:45 PM
Thank you, I added the code below:

/* center avatar, username, title, rank, userinfo_extra, postbit_reputation, imlinks */

and it works.

Thank you.

princeedward
03-11-2010, 01:53 AM
Thank you, I added the code below:

/* center avatar, username, title, rank, userinfo_extra, postbit_reputation, imlinks */

and it works.

Thank you.well glad too that you solved your problem...goodluck to your site mate....

best regards...

:p:up:

Selcor
03-11-2010, 03:34 AM
Thank you very much!

:D

karkey
03-11-2010, 07:13 PM
Nice one
princeedward

all sorted

princeedward
03-12-2010, 12:51 PM
Thank you very much!

:D

Nice one
princeedward

all sortedthanks guys....for interest...install...nominate...and rate

goodluck to your site and best regards..

:p:up:

stator
03-20-2010, 08:11 PM
How to center flag ??

princeedward
03-20-2010, 11:44 PM
How to center flag ??well sorry but i can't help you unless you dont click Install...besides that's nothing to do with this mod...if you want to center all your modification on that side you have to add something to place them to the center

best regards and goodluck

:p

f4vn
04-04-2010, 07:46 PM
I have found...

eues
04-11-2010, 02:40 PM
Hey this doesn't work when "A nice Postbit_legacy - vb4 " is also installed. Im on 4.0.3

any solution? thank you

dackdigital
04-11-2010, 04:18 PM
Thanks!

ndut
05-26-2010, 01:27 AM
thank you

Madita
07-21-2010, 09:59 AM
As none old code fit to 4.0.3 any solutions avalable ?

Jack12
07-21-2010, 02:06 PM
Cheers for the mod, working fine vbulletin 4.0.5

carik
07-23-2010, 02:48 PM
.username_container .popupmenu - its not centered all of mine im using vb4.0.5
http://www.carhelp.info/forums/showthread.php/21270-iz-shkolnykh-sochinenijj =(

Fraxter
07-23-2010, 05:41 PM
vB 4.0.5 changed something there.

NDMR
07-23-2010, 07:07 PM
works perfect on Safari 5.0! :up:

Xavus
08-01-2010, 12:32 AM
For some reason, everything is being centered except the username of the member in the postbit, which is still staying on the left hand side. Anyone know how to fix this?

fxwoody
08-16-2010, 11:08 AM
Got it in 4.0.6 and works perfect ;)
Just added this at the end for the ranks alignment :
.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {float:none; text-align:center;}

lubbie
09-01-2010, 07:43 PM
Same Prob as Xavus. Maybe something changed in 4.0.6

btw. its also not working with this Addon (https://vborg.vbsupport.ru/showthread.php?t=233451&highlight=avatar)

lubbie
09-12-2010, 02:19 PM
Not sure if that is ok. But i have done it this way. But still miss rep and thanks addon

/* center avatar, username, title, rank, userinfo_extra, postbit_reputation, imlinks */
.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;}
.postbitlegacy .userinfo .userinfo_extra {text-align:center; }
.postbit_reputation {float:none; text-align:center;}
.postbitlegacy .imlinks {float:none; text-align:center;}
.postbitlegacy .userinfo .userinfo_extra dd {text-align:right;}

Llandy
10-27-2010, 07:30 PM
Installed and rated 5 stars.

Jaske
01-03-2011, 11:58 PM
works in 4.0.8 pl2-THANKS!!

del Drago
01-04-2011, 04:26 AM
This works beautifully. Thanks!

bintoro
01-05-2011, 10:13 AM
it is still work on 4.1.0. Thanks and cheers

OldSchoolDSL
01-05-2011, 03:48 PM
Installed 4.1 PL2

No affect ... ie ... Does not work.

Does not seem to do anything bad or positive either.... ie ... No affect

OldSchoolDSL
01-05-2011, 04:07 PM
Installed 4.1 PL2

No affect ... ie ... Does not work.

Does not seem to do anything bad or positive either.... ie ... No affect

Correction... It did have an affect, but not the one I thought it would.

Un-installed.

pcXtremists
01-25-2011, 08:06 AM
works like a charm. thanks. installed.

Dragaon
02-08-2011, 01:05 AM
Hi
Installed on 4.1.1, works great after I added
.postbitlegacy .userinfo .rank {text-align:center; }
.postbitlegacy .userinfo .username_container {text-align:center; }
to it to center the rank and username which it didn't without the extra 2 lines.

synseal
02-12-2011, 07:24 PM
Hi
Installed on 4.1.1, works great after I added
.postbitlegacy .userinfo .rank {text-align:center; }
.postbitlegacy .userinfo .username_container {text-align:center; }
to it to center the rank and username which it didn't without the extra 2 lines.

Top man, just what I was looking for ;).

tdkmatt
02-16-2011, 02:54 AM
ive got the gamer card installed which don't get centred :( im using 4.1.1.

http://www.fatalitynetworking.com/forum/showthread.php/12-lol

GONUMBER6
02-26-2011, 03:22 PM
I love this, marked as installed and rated 5 stars :up:

Any additional code I can add that would increase the font size of the user title?

UKCE_Hitman
05-27-2011, 07:05 PM
Thanks for that Installed

TheTrust
05-31-2011, 08:36 AM
Thank you

RBrown12
12-08-2011, 07:16 AM
It worked great as far as centering goes, however there is a big space in between Join Date: and the actual join date.

Example:

Join Date: [huge space here] Nov '11
Posts: [huge space here] 231

How can I make it so that it's centered without the huge ugly spaces?

kevin.kool
12-12-2011, 02:49 PM
Change username fontsize doesn't work on 4.1.8 with Postbit.

tidus78
12-28-2011, 11:04 PM
How can I center thanks-row?:confused:

http://img268.imageshack.us/img268/4476/capture20111223233644.png

Bulbucan
02-01-2012, 12:53 AM
very nice one, thanks :) finaly i can fix my reputation showing :D

RedHotChili
03-01-2012, 01:55 AM
Installed.

Thanks!

K!nG
05-09-2012, 01:07 AM
It worked on 4.1.12 :) Thanks

btedition
01-21-2014, 02:39 AM
I am so tempted to install this, but my Postbit is already huge and I don't think this code covers all. Can someone confirm if this works with my current setup? Do I need to alter it in anyway?

https://vborg.vbsupport.ru/external/2014/01/29.png

ozzy47
01-21-2014, 02:41 AM
Best way is to try it and see what happens. :)

ramesh_umk3
01-21-2014, 03:33 PM
I am so tempted to install this, but my Postbit is already huge and I don't think this code covers all. Can someone confirm if this works with my current setup? Do I need to alter it in anyway?

https://vborg.vbsupport.ru/external/2014/01/29.png

offcourse it will not work each and every field is different until unless the op completely done centered for postbit_legacy
Mention your url let me check once :)

btedition
01-22-2014, 02:35 AM
offcourse it will not work each and every field is different until unless the op completely done centered for postbit_legacy
Mention your url let me check once :)

www.bmwclubuae.com/forum That's our boards. How can I do a custom code for my example?

ndut
01-22-2014, 02:53 AM
anybody can help me, to use this mods in vbulletin v 5.05 ?

Thank you

ramesh_umk3
01-23-2014, 04:24 AM
www.bmwclubuae.com/forum That's our boards. How can I do a custom code for my example?

it takes time to customize whole fileds. Once try to place below code in your additional.css template

.userinfo_extra {
text-align: right;
}

Regards,

btedition
01-23-2014, 04:46 AM
it takes time to customize whole fileds. Once try to place below code in your additional.css template

.userinfo_extra {
text-align: right;
}

Regards,

This code will center all additional fields?

ramesh_umk3
01-23-2014, 07:51 AM
It's left, right combination like you see in the first post screenshot , if you need centered then you have to change postbit_legacy each and every field

btedition
01-24-2014, 02:33 PM
Works well with 4.2.0 except that one userfield is out of proportion and Rep Power is not aligned. Can't figure what is the problem..

ramesh_umk3
01-25-2014, 08:13 AM
Just goto postbit_legacy and search for "{vb:rawphrase reppower}" align however you like frame with <div style element

btedition
01-25-2014, 11:52 AM
Just goto postbit_legacy and search for "{vb:rawphrase reppower}" align however you like frame with <div style element

I'm not a code expert :( :$ mind telling me the exact code?

ramesh_umk3
01-25-2014, 04:29 PM
Search for

{vb:rawphrase reppower}: {vb:raw post.reppower}

Replace with:

<div style="float:left;">{vb:rawphrase reppower}:</div> <div style="float:right;">{vb:raw post.reppower}</div>

Its weird idea but that's the only option you have to get pattern style :D

btedition
01-26-2014, 02:42 AM
Search for

{vb:rawphrase reppower}: {vb:raw post.reppower}

Replace with:

<div style="float:left;">{vb:rawphrase reppower}:</div> <div style="float:right;">{vb:raw post.reppower}</div>

Its weird idea but that's the only option you have to get pattern style :D

Sorry to keep asking questions, I am using 4.2.0 and I couldn't find the code you're asking for. Here is a screenshot of my postbit_legacy..

https://vborg.vbsupport.ru/external/2014/01/8.jpg

These are the 5 "reppower" results that I've got..

Thanks in advance,

ramesh_umk3
01-26-2014, 10:51 AM
Do you see <dt> {vb:rawphrase reppower} </dt> and below that <dd>

change according

Replace <dt> with below one

<dt style="float:left;">

Replace <dd with below one

<dd style="float:right;"

btedition
01-26-2014, 02:42 PM
Do you see <dt> {vb:rawphrase reppower} </dt> and below that <dd>

change according

Replace <dt> with below one

<dt style="float:left;">

Replace <dd with below one

<dd style="float:right;"

awesome mate, can't thank you enough!

How can I center certain userfield ? the user field I want to center is userfield5

ramesh_umk3
01-27-2014, 03:50 AM
<center>{vb:raw post.field5}</center>
use accordingly :)

btedition
01-27-2014, 04:05 AM
<center>{vb:raw post.field5}</center>
use accordingly :)

I'm sorry I didn't make my self clear, I want the same thing to happen for userfield5. My userfield5 displays Car type. So let's say I have (Car: BMW) I want "Car" to be on the left and "BMW" to be on the right. how can I do that? This is my code

<vb:if condition="$post['field5']">Ride: {vb:raw post.field5}<br /><br /></vb:if>

Many thanks for your help.

ramesh_umk3
01-27-2014, 04:08 PM
Ride: {vb:raw post.field5}

replace with

<div style="float:left;">Ride:</div> <div style="float:right;">{vb:raw post.field5}</div>

No worry at starting every one will have problem when you get free time try to spend on w3schools.com :)

btedition
01-28-2014, 04:46 AM
Thank you sir!!! You made my day, been searching for this everywhere! (Y)

Bozza
05-22-2014, 12:57 PM
It worked great as far as centering goes, however there is a big space in between Join Date: and the actual join date.

Example:

Join Date: [huge space here] Nov '11
Posts: [huge space here] 231

How can I make it so that it's centered without the huge ugly spaces?

Same here - any way to have these fields centralised with a small gap between them?

As things stand it appears that'Join Date' is left justified and the date itself is right justified. Same for location and post count.

ramesh_umk3
05-22-2014, 01:22 PM
something with css post your url so that i can check how much space it is :)

Bozza
05-22-2014, 01:31 PM
something with css post your url so that i can check how much space it is :)

http://www.northstandchat.com/showthread.php?302112-Suarez-out-of-the-World-Cup

ramesh_umk3
05-23-2014, 08:48 AM
https://vborg.vbsupport.ru/attachment.php?attachmentid=113360&d=1267464692

Its the style of mod they are not space bro its just aligned to left and right if you dont need that you have to edit CSS of userinfo_extra

darksidemon2
10-22-2015, 09:46 PM
Updates:

v1.01 - 01 Mar 2010
New/Latest: Multi Centered All:

-Username
-User Title
-Rank(Image)
-Reputation Image
-Avatar
-Instant Messaging
-Extra: Big Username Font Size

Pls. Download The postbit_legacy_userinfo_multi_centered Info Txt

thanks and best regards to all...enjoy
:p:up:



work with me 4.2.3 :D

WxP
10-30-2015, 11:33 AM
Yes wark on 4.2.3 but username don`t change the position!!!

deadlyruler
07-26-2016, 10:32 PM
Hi would it be possible to center the dd and dt inside postbit legacy?