vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Postbit Legacy Poster User Info: (Centered) (https://vborg.vbsupport.ru/showthread.php?t=237042)

princeedward 02-26-2010 10:00 PM

Postbit Legacy Poster User Info: (Centered)
 
1 Attachment(s)
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

Quote:

Originally Posted by COL NIL SATIS (Post 1992966)
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

Quote:

Originally Posted by princeedward (Post 1992975)
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

Quote:

Originally Posted by Bouncer222 (Post 1993199)
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

Quote:

Originally Posted by saadessa (Post 1993211)
sorry not work with me

hmmm...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

Quote:

Originally Posted by kNeeLy (Post 1994768)
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

Quote:

Originally Posted by ChopSuey (Post 1995109)
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

1 Attachment(s)
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/v3...977/jaming.jpg

princeedward 03-05-2010 01:17 PM

Quote:

Originally Posted by karkey (Post 1997272)
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!

Code:


<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

Code:

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

Code:


<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....

Quote:

Originally Posted by elwachiman (Post 1997439)
-Extra: Adjust Username Font To Any Size dont work in 4.0.2 pl1

sure 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
Code:

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

Quote:

Originally Posted by Markos (Post 1997618)
its not centered all of mine im using vb4.0.2 pl1

sorry 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

Quote:

Originally Posted by worldwidereefer (Post 2001024)
work great however the user name and user rank are not center, do you know why ?

www.worldwidereefers.com

Thanks

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


Code:

/* 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

Quote:

Originally Posted by worldwidereefer (Post 2001233)
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

Quote:

Originally Posted by Selcor (Post 2001318)
Thank you very much!

:D

Quote:

Originally Posted by karkey (Post 2001701)
Nice one
princeedward

all sorted

thanks 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

Quote:

Originally Posted by stator (Post 2007213)
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/showt...kh-sochinenijj =(

Fraxter 07-23-2010 05:41 PM

vB 4.0.5 changed something there.


All times are GMT. The time now is 06:05 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.01369 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete