Chemical Forums
General Forums => Comments for Staff and Comments from Staff => Topic started by: Alpha-Omega on January 02, 2008, 11:42:09 PM
-
I am really having a hard time getting my pic up here. For some reason I cannot get the URL to take.
I was directed to you...OK Avril is pretty hot...buyt I like my own pic...LOL any suggestions...???
-
Post the url here and I'll update it from my end.
Mitch
-
it would be great, if there was an option to deactivate the border of the avatar.
-
lol, I could probably set border=0, but I'll have to dig into the source code may take a while.
-
Thank you for your effort :)
-
Support Request:
http://www.simplemachines.org/community/index.php?topic=215167.0
-
As it was my propsoal, I'll try to help:
In the html source every "img src"-tag has a border="0" option, but borders are still visible. I downloaded the forum source files, but I don't know which theme you are currently using. If you do not have a style_sphinx.css the following could help:
Insert into the styles.css of your theme (the one actually used by this forum) the following line:
img { border-style: none;}
This should remove the border of every picture, embedded with the img src tag.
-
Not meaning to stir things up....but couldn't you make it an option to browse your computer and upload any image you want for an avitar?
OK just asking....I got alot of help esp. from Mitch to get my pic up there...and even learned something about flickr...
-
I've done the following to the sphinx.css template, still nothing.
img { border-style: none;}
.user-avatar img {
/* float: right;
margin: 0 0 10px 10px;
border-top: 2px solid #8E8E8E;
border-right: 2px solid #7C7C7C;
border-bottom: 2px solid #242424;
border-left: 2px solid #363636; */
border-style: none;
}
#user-info-block img {
/* background: transparent;
margin-bottom: 5px;
border-top: 2px solid #88A6C0;
border-right: 2px solid #40688B;
border-bottom: 2px solid #355D80;
border-left: 2px solid #7B9AB6; */
border-style: none;
}
Alpha-Omega: You can upload pictures to this website and use it as an avatar.
-
That's weird. Are you sure that the file you changed is actually used? Maybe styles.css or a .css-file in an other directory is used.
Alternatively you can try to play with one of these settings
border: 0px;
border: none;
border-width: 0px;
Can I find the sphinx template anywhere in the internet? Perhaps a different line needs to be changed...
-
Hi Mitch,
after more than 1h of setup (SMF forum with Sphinx), I finally figured out how to get rid of these pesky borders.
You have to edit the file style_sphinx.css in the "Themes" directory:
Anywhere in the middle of the file change:
.user-avatar img {
float: right;
margin: 0 0 10px 10px;
/*border-top: 2px solid #8E8E8E;
border-right: 2px solid #7C7C7C;
border-bottom: 2px solid #242424;
border-left: 2px solid #363636;*/
}
This affects the user-info panel.
At the very end you have to make the following changes:
.avatar {
background: transparent;
margin-bottom: 5px;
/*border-top: 2px solid #88A6C0;
border-right: 2px solid #40688B;
border-bottom: 2px solid #355D80;
border-left: 2px solid #7B9AB6;*/
}
This affects the border in a post.
I am looking forward to get my new borderless avatar :)
EDIT:
http://forum1234.freehostia.com/index.php?topic=1.0
-
Not many graduate students are that competent with their .css editing abilities. You have some explaining to do. :P
Mitch
-
It worked! Thank you very much! :)
Not many graduate students are that competent with their .css editing abilities. You have some explaining to do. :P
Mitch
Well, I have set up serveral internet applications (mostly forums like phpbb, vbulletin etc.) for friends and sometimes I write small programs (at present Visual C#) in my freetime. This is just for fun, so I don't have a very well-founded knowledge. Honestly PHP programming for forums is more or less based on the "trial and error" principle ;)
After my "Abitur" (that's the requirement to study at a university. It's something between high school and college I guess) I toyed with the idea to study informatics. But Thank God I didn't do so.