Advertise Here

Author Topic: how do you switch these?  (Read 3861 times)

0 Members and 1 Guest are viewing this topic.

Offline html teacher

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

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
how do you switch these?
« on: January 13, 2007, 06:03:06 pm »
how do you switch these?

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: how do you switch these?
« Reply #1 on: January 13, 2007, 06:11:53 pm »
how do you switch these?

There is no way to swap those for another image within SMF itself.

You could use a code to do so however.
If you use the swap images code generator here:  http://www.smfsupport.com/support/smf-for-free-codes/swap-images-on-page-generator.msg12805.html#msg12805     then put the code in your footer it will swap the image to the one you want to use.

You will need the url for the image as it is now,    and the url for the new image you want to replace the existing one with.
The generator will make the code for you.

good luck!

Offline html teacher

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

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: how do you switch these?
« Reply #2 on: January 13, 2007, 06:18:34 pm »
page cant be displayed

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: how do you switch these?
« Reply #3 on: January 13, 2007, 06:41:25 pm »
page cant be displayed

hmm that seems to go offline now and then.

You could just use this code then  (it is what the generator would make for you)   But you will need to put the original image url and the new image url in yourself for each image you want to swap:

Code: [Select]
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();
img_b[img_b.length++] = [ "http://url.com/image1.gif" , "http://newurl.com/image1.gif" ];
img_b[img_b.length++] = [ "http://url.com/image2.gif" , "http://newurl.com/image2.gif" ];

var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
   if(all_images[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>

find this line:   img_b[img_b.length++] = [ "http://url.com/image1.gif" , "http://newurl.com/image1.gif" ];

where it says "http://url.com/image1.gif"  put the url for the original image
where it says "http://newurl.com/image1.gif"  put the url for the new image

do this for each image you want to swap   (there are two in the example in the code, you can add as many as you need)

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: how do you switch these?
« Reply #4 on: January 13, 2007, 06:42:51 pm »
The author of the swap images code generator has just pmed me the new url for it  ;)

http://www.codejs.com/codes/javascript/ImageSwapSMF.html

Offline martina

  • SMF For Free Member
  • *
  • Posts: 64
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: how do you switch these?
« Reply #5 on: January 15, 2007, 06:50:13 am »
I have been wondering how to do this, thanks for that.

I have one question.

Is there anyway of having them so they are bold when there are new posts like with the smf picture?

I have worked it out now  :).
« Last Edit: January 15, 2007, 08:07:21 am by martina »

Offline Laugh-nd-kid

  • SMF For Free Master
  • *
  • Posts: 1409
  • Thankyou for this great software SMF For Free!
    • View Profile

  • Total Badges: 21
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: how do you switch these?
« Reply #6 on: February 20, 2007, 08:06:04 am »
Just for people's notice.

People with SMF 1.1 forums can now do it by

Admin CP -> Manage Styles -> Customize Images

Offline Pietra Atomica

  • SMF For Free Full Member
  • *
  • Posts: 243
  • 'Tis true.
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: how do you switch these?
« Reply #7 on: February 24, 2007, 06:59:39 pm »
how do you switch these?
SMF will allow you to change this now, you will have to find the image you want.
Then, find the URL, then "Copy" the URL.
After that, go to Admin CP --> Manage Styles --> Customize Images.
After that delete the old image  and replace it with the one you want.
Also, I think this is only for version 2.

Offline Laugh-nd-kid

  • SMF For Free Master
  • *
  • Posts: 1409
  • Thankyou for this great software SMF For Free!
    • View Profile

  • Total Badges: 21
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: how do you switch these?
« Reply #8 on: February 25, 2007, 04:57:37 am »
how do you switch these?
SMF will allow you to change this now, you will have to find the image you want.
Then, find the URL, then "Copy" the URL.
After that, go to Admin CP --> Manage Styles --> Customize Images.
After that delete the old image  and replace it with the one you want.
Also, I think this is only for version 2.

Just said that ;)

And yes it is only for SMF 1.1 forums.

Offline Pietra Atomica

  • SMF For Free Full Member
  • *
  • Posts: 243
  • 'Tis true.
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: how do you switch these?
« Reply #9 on: February 25, 2007, 11:11:00 am »
These are pretty good anyways...

These are my favorites.

Also this one.
« Last Edit: February 25, 2007, 11:20:12 am by Madcap22 »

Offline Laugh-nd-kid

  • SMF For Free Master
  • *
  • Posts: 1409
  • Thankyou for this great software SMF For Free!
    • View Profile

  • Total Badges: 21
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: how do you switch these?
« Reply #10 on: February 25, 2007, 11:19:57 am »
These are pretty good anyways...

These are my favorites.

Cool, like those. Where did you find them?

Offline Pietra Atomica

  • SMF For Free Full Member
  • *
  • Posts: 243
  • 'Tis true.
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: how do you switch these?
« Reply #11 on: February 25, 2007, 11:20:52 am »
« Last Edit: February 25, 2007, 11:22:45 am by Madcap22 »

Offline Laugh-nd-kid

  • SMF For Free Master
  • *
  • Posts: 1409
  • Thankyou for this great software SMF For Free!
    • View Profile

  • Total Badges: 21
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: how do you switch these?
« Reply #12 on: February 25, 2007, 11:25:56 am »
Wow, cool. I might go there.

No thanks, I can do something better :). Just not got the time at the moment.
Pretty cool though

Offline Crasy

  • Global Moderator
  • *
  • Posts: 3960
  • Semi-Retired ;)
    • View Profile

  • Total Badges: 29
    Badges: (View All)
    Poll Starter Poll Voter Seventh year Anniversary Arcade Highscore Windows User
Re: how do you switch these?
« Reply #13 on: February 25, 2007, 11:51:46 am »
Ummhmm, a little offtopic. I've removed the posts that have absolutely nothing to do with those (no) new post icons.

If you want to share your graphics...well...we have a whole board for that.
Did my answer help you? Want to help out hosting costs?


Every donation counts.

Offline Laugh-nd-kid

  • SMF For Free Master
  • *
  • Posts: 1409
  • Thankyou for this great software SMF For Free!
    • View Profile

  • Total Badges: 21
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: how do you switch these?
« Reply #14 on: February 25, 2007, 12:08:08 pm »
Sorry crasy... my fault.

Anyway, read my post above so you know how to do it

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1502 Views
Last post March 31, 2007, 09:59:55 am
by Pietra Atomica
14 Replies
3082 Views
Last post November 08, 2007, 07:55:19 pm
by LightningKnight
0 Replies
5908 Views
Last post February 04, 2008, 07:27:04 pm
by slayer766
0 Replies
3335 Views
Last post February 09, 2009, 07:57:56 pm
by Marsada
1 Replies
4468 Views
Last post August 26, 2009, 05:32:18 pm
by Games