The Arcive of vBulletin Modifications Site. |
|
admin background on postbit Details »»
|
|||||||||||||||||||||||||
i am here to show you guys the updated and easy mod to have a admin background ok here it is
in postbit.css your gonna find Code:
.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width: {vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
_margin-top: -{vb:math {vb:math 16px*{vb:stylevar line_height}} + {vb:stylevar padding}-{vb:stylevar postbit_border.borderWidth}};
clear:both;
}
Code:
/*Custom Postbit Background - Image*/
.postbitlegacy .userinfo2 {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar
padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: #xxxxxx /*url(url to image here) no-repeat*/;
_margin-top: -{vb:math {vb:math 16px*{vb:stylevar line_height}} + {vb:stylevar padding}-{vb:stylevar postbit_border.borderWidth}};
clear:both;
}
now your going to search postbit_legacy and your going to find Code:
<div class="postdetails"> and your going to replace <div class="userinfo"> with this too Code:
<div class="postdetails"> <vb:if condition="is_member_of($post, 6)"><div class="userinfo2"> <vb:else /> <div class="userinfo"> </vb:if> heres the admin image sorry guys new coding is up this is so that you can keep the same font you had before for the postbit_legacy Show Your Support
|
|||||||||||||||||||||||||
| Благодарность от: | ||
| hoangserip | ||
| Comments |
|
#2
|
|||
|
|||
|
nice add on for the postbit + its for 4.x.x
|
|
#3
|
|||
|
|||
|
Looks great. How to proceed to add this to whole usergroups?
|
|
#4
|
|||
|
|||
|
you do the same process just the code you add int he postbit_legacy where it says 6 you change that to the usergroups you want
|
|
#5
|
|||
|
|||
|
can I do this with specific users instead of usergroup?
this is an awesome idea btw ![]() edit: is it possible to make this into a user field as well, so members can edit their own background postbit by pasting img url |
|
#6
|
|||
|
|||
|
not sure maybe i will look into right now and ill let you know
|
|
#7
|
|||
|
|||
|
Quote:
This one's a longshot, but could I have the PSD of the background file if you have it? I would modify it heavily and colorize it as well. If not, totally understandable .
|
|
#8
|
|||
|
|||
|
I edited for now...
|
|
#9
|
|||
|
|||
|
sorry i do not have the psd
|
|
#10
|
|||
|
|||
|
Nice man, where do we import the image on FTP?
*Installed* |
![]() |
|
|