Advertise Here

Author Topic: Auto Avatar [Help]  (Read 2854 times)

0 Members and 1 Guest are viewing this topic.

Offline kevin-1990

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Auto Avatar [Help]
« on: July 21, 2007, 09:43:50 am »
so right now I am working on the auto avatar code.
but for some reason I cant find the codes for the profile
here is what I've got so far

a little help might do the trick

Code: [Select]
<script type='text/javascript'>
var img = 'http://i189.photobucket.com/albums/z181/zeldafc/Avitwo.png';
if(/(showtopic|action=profile)/i.test(this.location.href)){
  var span = document.getElementsByTagName('span');
  for(var s=0;s<span.length;s++){
      if(span[s].className == 'forumProfile' && /Avatar:/.test(span[s].innerHTML) && !/img/i.test(span[s].firstChild.nodeName)){
        var imag = document.createElement('img');
        imag.border = '0';
        imag.alt = 'Avatar';
        imag.src = img;
        span[s].insertBefore(imag,span[s].firstChild);
      }
  }
}else if(/showuser/i.test(this.location.href)){
  var tr = document.getElementsByTagName('tr');
  for(var r=0;r<tr.length;r++){
      if(tr[r].cells.length == 2 && tr[r].cells[0].getElementsByTagName('b')[0] && /Avatar/.test(tr[r].cells[0].getElementsByTagName('b')[0].firstChild.data) && tr[r].cells[1].innerHTML == ''){
        var imag = document.createElement('img');
        imag.border = '0';
        imag.alt = 'Avatar';
        imag.src = img;
        tr[r].cells[1].appendChild(imag);
      }
  }
}
</script>

<sorry for the avatar thats the one I am trying to use for my forum>




And about the help status bar
how can I changed this icon:
"
(you know that is what you are)

well how can I changed that to a custom one?
« Last Edit: July 24, 2007, 08:11:09 am by kevin-1990 »

Offline Kimmie

  • SMF For Free Master
  • *
  • Posts: 2010
    • View Profile
    • Kimmie's Caverns

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: Auto Avatar [Help] Status Icon [Help]
« Reply #1 on: July 22, 2007, 01:02:48 pm »
Quote
And about the help status bar
how can I changed this icon:
"
(you know that is what you are)

well how can I changed that to a custom one?

http://www.smfsupport.com/support/guides_and_tutorials/guide_using_an_image_swapper-t3818.0.html;msg19003#msg19003

Offline kevin-1990

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Auto Avatar [Help] Status Icon [Help]
« Reply #2 on: July 23, 2007, 02:22:31 am »
alright thanks,

sorry another question
How can I change  these icons:


and the online off line,
I try just chaning them in the custom image part but they won't work.

mmm my site seems to have alot of bugs:
http://zeldafc.smfforfree3.com/index.php

Offline kevin-1990

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Auto Avatar [Help] Status Icon [Help]
« Reply #3 on: July 23, 2007, 02:23:56 am »
alright thanks,

sorry another question
How can I change  these icons:


mmm my site seems to have alot of bugs:
http://zeldafc.smfforfree3.com/index.php

Btw has any one else seen the problem with my code?

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: Auto Avatar [Help] Status Icon [Help]
« Reply #4 on: July 23, 2007, 05:48:56 am »
alright thanks,

sorry another question
How can I change  these icons:


and the online off line,
I try just chaning them in the custom image part but they won't work.

mmm my site seems to have alot of bugs:
http://zeldafc.smfforfree3.com/index.php

Not all of the images you see in Customize Images will change.
For those that will not, you can use the image swapper to do them.

Offline kevin-1990

  • SMF For Free Newbie
  • *
  • Posts: 18
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Auto Avatar [Help]
« Reply #5 on: July 24, 2007, 08:11:37 am »
Icon help no needed anymore
SOLVED

no only the auto avatar

Is it posibul?

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Auto Avatar [Help]
« Reply #6 on: July 24, 2007, 09:38:02 am »
Yes, it is possible, but, Hard for me even to do.
Check out Revolution X's Brand new Code Index!

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1087 Views
Last post March 24, 2007, 06:40:41 am
by smokinthunder
4 Replies
1114 Views
Last post May 02, 2007, 08:10:05 pm
by jfolliard
1 Replies
1839 Views
Last post January 23, 2008, 02:41:06 am
by Celebrus
3 Replies
2075 Views
Last post February 28, 2009, 02:44:34 pm
by samdudes001
4 Replies
4752 Views
Last post March 28, 2009, 05:12:54 am
by мσנσвσנσ82