Create A Forum - Support Forums
Support => General Support => Topic started 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. :)
-
(Guide) Using your own rank images (http://support.createaforum.com/guides-and-tutorials/%28guide%29-using-your-own-rank-images/)
-
(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.
-
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.
-
(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.
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)
/*
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"]