Create A Forum - Support Forums

Support => General Support => Topic started by: mr extrmez on August 26, 2011, 09:43:24 pm

Title: How do i [Help asap Please]
Post by: mr extrmez on August 26, 2011, 09:43:24 pm
How do i add my own rank images for site owner and stuff not ones from this site http://www.smfforfree.com/starpreview.htm (http://www.smfforfree.com/starpreview.htm) but like custom rank images that i have that i want to use? Please help.
Thanks.  :)
Title: Re: How do i [Help asap Please]
Post by: Alex on August 26, 2011, 09:49:38 pm
(Guide) Using your own rank images (http://support.createaforum.com/guides-and-tutorials/%28guide%29-using-your-own-rank-images/)
Title: Re: How do i [Help asap Please]
Post by: mr extrmez on August 26, 2011, 11:28:34 pm
(Guide) Using your own rank images (http://support.createaforum.com/guides-and-tutorials/%28guide%29-using-your-own-rank-images/)
In the tut the swapping images link is down so that tut wont work.
Title: Re: How do i [Help asap Please]
Post by: Alex on August 27, 2011, 02:13:51 am
That is currently the only known way to do it. Give me some time and may be able to get you the code for image swap.
Title: Re: How do i [Help asap Please]
Post by: aIURbliS on August 27, 2011, 03:31:37 am
(Guide) Using your own rank images (http://support.createaforum.com/guides-and-tutorials/%28guide%29-using-your-own-rank-images/)
In the tut the swapping images link is down so that tut wont work.




Quote from: Simply sibyl





The page for the Generator was made by a member (from SMF for Free) and his page must be down.

If the Generator URL is not working:

(The code goes in the Footer)


Code: [Select]
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = ["OLD IMAGE URL" , "NEW IMAGE URL"]

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.src == img_b[j][0]){
     all_images.src = img_b[j][1];
}}}
</script>

Replace OLD IMAGE URL with the url of the image you want to replace
Replace NEW IMAGE URL with the url of the new image you want to use

Add more of these lines if you have several images to swap:

img_b[img_b.length++] = ["OLD IMAGE URL" , "NEW IMAGE URL"]