SMF For Free Support Forum

SMF For Free Support => Stylesheet Requests and Support => Topic started by: html teacher on January 13, 2007, 06:03:06 pm

Title: how do you switch these?
Post by: html teacher on January 13, 2007, 06:03:06 pm
how do you switch these?(http://testers.smfforfree2.com/Themes/default/images/off.gif)
Title: Re: how do you switch these?
Post by: simply sibyl on January 13, 2007, 06:11:53 pm
how do you switch these?(http://testers.smfforfree2.com/Themes/default/images/off.gif)

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!
Title: Re: how do you switch these?
Post by: html teacher on January 13, 2007, 06:18:34 pm
page cant be displayed
Title: Re: how do you switch these?
Post by: simply sibyl 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)
Title: Re: how do you switch these?
Post by: simply sibyl 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
Title: Re: how do you switch these?
Post by: martina 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  :).
Title: Re: how do you switch these?
Post by: Laugh-nd-kid 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
Title: Re: how do you switch these?
Post by: Pietra Atomica on February 24, 2007, 06:59:39 pm
how do you switch these?(http://testers.smfforfree2.com/Themes/default/images/off.gif)
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.
Title: Re: how do you switch these?
Post by: Laugh-nd-kid on February 25, 2007, 04:57:37 am
how do you switch these?(http://testers.smfforfree2.com/Themes/default/images/off.gif)
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.
Title: Re: how do you switch these?
Post by: Pietra Atomica on February 25, 2007, 11:11:00 am
(http://testers.smfforfree2.com/Themes/default/images/off.gif) These are pretty good anyways...
(http://www.moparisthebest.com/smf/Themes/default/images/on.gif)
These are my favorites.
(http://www.moparisthebest.com/smf/Themes/default/images/off.gif)
Also this one.
Title: Re: how do you switch these?
Post by: Laugh-nd-kid on February 25, 2007, 11:19:57 am
(http://testers.smfforfree2.com/Themes/default/images/off.gif) These are pretty good anyways...
(http://krunkscape.smfforfree2.com/index.php?action-unread;board=34.0)(http://www.moparisthebest.com/smf/Themes/default/images/on.gif)
These are my favorites.

Cool, like those. Where did you find them?
Title: Re: how do you switch these?
Post by: Pietra Atomica on February 25, 2007, 11:20:52 am
Moparscape.org

Links...
http://www.moparisthebest.com/smf/Themes/default/images/on.gif
http://www.moparisthebest.com/smf/Themes/default/images/off.gif

(http://12.158.190.222/rendered/cooltext46225466.gif)
Want one like this incept it says Casino Arcade?
Title: Re: how do you switch these?
Post by: Laugh-nd-kid 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
Title: Re: how do you switch these?
Post by: Crasy 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.
Title: Re: how do you switch these?
Post by: Laugh-nd-kid on February 25, 2007, 12:08:08 pm
Sorry crasy... my fault.

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