![]() |
Postbit Legacy - Usergroup Backgrounds vb4
1 Attachment(s)
Updated for vBulletin 4.0.1!!!!
Hey Everyone! I went ahead and updated my vb3.x.x mod to work with the new coding in vBulletin 4. There are a few more modifications to make than the last time, but overall, I think you will find this very easy. To start, let's look at a screenshot of what this mod will do for you, it's the image behind the username and the posbit information. This will not do anything else but assign a special background to the specified usergroup and assign the regular styling to all other usergroups: DEMO: http://ltxtech.com/forums/showthread...or-New-Upgrade Now that you have decided to continue with the modification, let's begin! Navigate to: Style Manager --> Click on the << >> Next to the template you are editing -->CSS Templates postbit.css FIND: Code:
.postbitlegacy .userinfo { Code:
/*Custom Postbit Background - Image*/ FIND: Code:
.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img { Code:
/*Custom Postbit Background - Avatar Border*/ Code:
.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username { Code:
/*Custom Postbit Background - Username Style*/ Code:
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar { Code:
/*Custom Postbit Background - Avatar Position*/ Code:
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt { /*Custom Postbit Background - Userinfo Alignment*/ Code:
.postbitlegacy dl.userinfo_extra2 dt, .postbitlegacy dl.user_rep dt { Navigate to: Style Manager --> Click on the << >> Next to the template you are editing -->Postbit Templates postbit_legacy: FIND: Code:
<div class="userinfo"> Code:
<vb:if condition="is_member_of($post, #)"><div class="userinfo2"> Code:
<dl class="userinfo_extra"> Code:
<vb:if condition="is_member_of($post, #)"><dl class="userinfo_extra2"> All right! You should now have a styled postbit legacy background image for a specific usergroup! I can't really provide support, I'm extremely busy with work and life, but if I pop in from time to time I'll try to help. Also, please, please, please create your own background image. I do not want my image being used. If you would like to setup the modification and use my image to get it up and running, that's fine. But I am asking that you create your own after it's installed properly. Good luck guys! |
thanks man
|
nice mod
|
No problem guys! Glad it worked for you and you liked it!
|
Thank you very much
|
|
This hasn't worked right for me, Admin avatars were 150x150px, they've now been resized and lost there transparency, other than that it has worked, but what piece of code handles the avatar width?
I think transparency has been lost due to the image being resized. Edit: I've found the resize code, I've changed this. |
It's ok I've worked it out.
Installed I replaced this Code:
/*Custom Postbit Background - Avatar Border*/ With Code:
/*Custom Postbit Background - Avatar Border*/ |
Is it possible to put a background into more than 1 usergroup?
So I could have a different background for Mods and Vip's. |
It is possible to reduce the message area?
|
All times are GMT. The time now is 08:30 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|