Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Account Pictures
Account Pictures
0
Comments
type=\"text/css\"
Here is the code in case anyone is interested:
imageAlphaBlending($Original, false); imageSaveAlpha($Original, true); imageAlphaBlending($Thumb, false); imageSaveAlpha($Thumb, true);
You might also want to remove the white background colour from the CSS (it blocks the divider line in FF2 Mac OS X):
#Comments .CommentHeader li div.CommentIcon { background: transparent center center no-repeat;
Taylan: What line do you put the transparent image code on?
$Thumb = imagecreatetruecolor($ThumbWidth, $ThumbHeight); imageAlphaBlending($Original, false); imageSaveAlpha($Original, true); imageAlphaBlending($Thumb, false); imageSaveAlpha($Thumb, true);
Also, make sure you create an uploads folder, and a folder inside that called AccountPictures, and CHMOD both to 777 so that the you can upload images.
Thank you for alerting me to that tip. The specific part of taylan's post which refers to what I was talking about is as follows:
You might also want to remove the white background colour from the CSS (it blocks the divider line in FF2 Mac OS X):
#Comments .CommentHeader li div.CommentIcon { background: transparent center center no-repeat;
It is unfortunate that Jazzman (the author of Account Pictures) could not do this for us, as I am not sure exactly how it is to be done. I opened the /forum/extensions/AccountPictures/default.php file in TextWrangler. I see that line#47 looks similar to the one mentioned in taylan's post, as follows:
#Comments .CommentHeader li div.CommentIcon { padding: {IconHeight}px 0px {IconHeight}px {IconWidth}px; }
But what is one supposed to do at this point? Should we REPLACE line#47 with taylan's code? Or should we somehow merge the two lines together?
Thanks!
Thank you for the suggestion. It works perfectly to solve the problem!
For the sake of assisting others who may wish to try this, note that I edited the following file in TextWrangler:
/forum/themes/vanilla/styles/default/vanilla.css
Inside that vanilla.css file, the following code appears, starting at Line#554:
#Comments .CommentHeader li div.CommentIcon { padding:9px 0px 9px 30px; margin-right: 6px; background-repeat:no-repeat; display: inline; background: #fff center center no-repeat; }
Replace "#fff" with "transparent" and save. The gray line problem is now gone!
(As an aside, it would seem this is technically a "Vanilla bug" and really should be fixed in the next release.)
CSSEdit
Posted: Tuesday, 10 April 2007 at 4:56PM