June 29, 2022, 09:56:53 AM
Forum Rules: Read This Before Posting


Topic: Have Question-AVATAR Custom  (Read 18738 times)

0 Members and 1 Guest are viewing this topic.

Offline Alpha-Omega

  • Full Member
  • ****
  • Posts: 693
  • Mole Snacks: +360/-231
  • Gender: Female
  • Physical Inorganic Chemist
Have Question-AVATAR Custom
« 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...???

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5297
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Have Question-AVATAR Custom
« Reply #1 on: January 03, 2008, 12:02:56 AM »
Post the url here and I'll update it from my end.

Mitch
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #2 on: January 06, 2008, 07:46:44 AM »
it would be great, if there was an option to deactivate the border of the avatar.

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5297
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Have Question-AVATAR Custom
« Reply #3 on: January 06, 2008, 04:23:26 PM »
lol, I could probably set border=0, but I'll have to dig into the source code may take a while.
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #4 on: January 06, 2008, 04:27:55 PM »
Thank you for your effort  :)

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5297
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Have Question-AVATAR Custom
« Reply #5 on: January 06, 2008, 04:42:05 PM »
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #6 on: January 06, 2008, 05:43:11 PM »
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.


Offline Alpha-Omega

  • Full Member
  • ****
  • Posts: 693
  • Mole Snacks: +360/-231
  • Gender: Female
  • Physical Inorganic Chemist
Re: Have Question-AVATAR Custom
« Reply #7 on: January 06, 2008, 05:55:29 PM »
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...

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5297
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Have Question-AVATAR Custom
« Reply #8 on: January 06, 2008, 06:17:47 PM »
I've done the following to the sphinx.css template, still nothing.

Code: [Select]
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.
« Last Edit: January 17, 2012, 10:57:21 AM by Arkcon »
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #9 on: January 06, 2008, 06:36:16 PM »
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...



Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #10 on: January 08, 2008, 05:27:08 PM »
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:

Code: [Select]
.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:
Code: [Select]
.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

Offline Mitch

  • General Chemist
  • Administrator
  • Sr. Member
  • *
  • Posts: 5297
  • Mole Snacks: +376/-3
  • Gender: Male
  • "I bring you peace." -Mr. Burns
    • Chemistry Blog
Re: Have Question-AVATAR Custom
« Reply #11 on: January 08, 2008, 05:52:29 PM »
Not many graduate students are that competent with their .css editing abilities. You have some explaining to do. :P

Mitch
Most Common Suggestions I Make on the Forums.
1. Start by writing a balanced chemical equation.
2. Don't confuse thermodynamic stability with chemical reactivity.
3. Forum Supports LaTex

Offline Kryolith

  • Full Member
  • ****
  • Posts: 269
  • Mole Snacks: +19/-4
  • Gender: Male
Re: Have Question-AVATAR Custom
« Reply #12 on: January 08, 2008, 06:16:08 PM »
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.

Sponsored Links