PDA

View Full Version : postbit avatar bug partial fix


EidolonAH
20 Nov 2009, 12:12
Posted this on .com too but figured some folk here might be able to help with the bit Im stuck on.
I found a partial fix for the avatar bug in horizontal postbit, but there is one bit I have yet to figure out, the username & rank should be floating to the right of the avatar and it's showing underneath:
106431

This is the partial fix

OPEN postbit.css

FIND:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



REPLACE WITH:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Input on fixing the username position would be great if I can't fix it myself soon.

fta2k
20 Nov 2009, 18:23
Hey, looking forward to any updates. Avy's are bigger, text is below like you've shown.

garretbyrne
21 Nov 2009, 00:31
If you try
Block instead of inline puts the username and details right under neat your avatar, the avatar is centered and no background..
It's something for the time being, lol

.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
width: auto;
height: auto;
background:;
overflow: hidden;
}

.postbit .postuseravatarlink img {
height: auto;
max-height:auto;
height:auto !important;
max-width:auto;
width:auto !important;
margin: auto;
}

fta2k
21 Nov 2009, 00:57
Well, not ideal but it's sure better than before...

Two positive steps forward... Maybe the next step will make it right.

EidolonAH
21 Nov 2009, 01:06
If you try
Block instead of inline puts the username and details right under neat your avatar, the avatar is centered and no background..
It's something for the time being, lol

.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
width: auto;
height: auto;
background:;
overflow: hidden;
}

.postbit .postuseravatarlink img {
height: auto;
max-height:auto;
height:auto !important;
max-width:auto;
width:auto !important;
margin: auto;
}

This wont work with very wide avatars!

garretbyrne
21 Nov 2009, 01:18
I know but better than the other way at the moment, I'm afraid my knowledge of css isn't the best..

Ian Emu-UK
21 Nov 2009, 01:48
I have found a workable solution to this problem and posted it on vb.com in the thread started by Eidolon over there.

http://www.vbulletin.com/forum/showthread.php?327013-postbit-avatar-bug-partial-fix&p=1849110&viewfull=1#post1849110

Hopefully this will help until the issue is fixed by the vB team.

mustafaabubaker
25 Jan 2010, 13:44
Dears.

i want to know if i can re-size images what ever their size are.
if any body asks why, the answer is to disallow hackers from uploading php codes or shell files with image extension and by a way or another they change its extension on the server to php or any other executable extension and do hacking on the server.

images are (avatars, user signature, album pictures, group pictures...etc )


please help if there is a way in vBulletin.