News:

Create A Forum Installed

Author Topic: How do i [Help asap Please]  (Read 528 times)

0 Members and 1 Guest are viewing this topic.

Offline mr extrmez

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
    • View Profile

Badges: (View All)
Topic Starter Level 1 10 Posts
How do i [Help asap Please]
« 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 but like custom rank images that i have that i want to use? Please help.
Thanks.  :)

Share on Facebook Share on Twitter


Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 13
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile

Badges: (View All)
Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: How do i [Help asap Please]
« Reply #1 on: August 26, 2011, 09:49:38 pm »
Terms Of Service

Please don't PM me with support questions

Offline mr extrmez

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
    • View Profile

Badges: (View All)
Topic Starter Level 1 10 Posts
Re: How do i [Help asap Please]
« Reply #2 on: August 26, 2011, 11:28:34 pm »
(Guide) Using your own rank images
In the tut the swapping images link is down so that tut wont work.

Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 13
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile

Badges: (View All)
Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: How do i [Help asap Please]
« Reply #3 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.
Terms Of Service

Please don't PM me with support questions

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: How do i [Help asap Please]
« Reply #4 on: August 27, 2011, 03:31:37 am »
(Guide) 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"]
« Last Edit: August 27, 2011, 03:33:26 am by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
362 Views
Last post July 15, 2011, 07:02:14 pm
by Seldom Fail
4 Replies
955 Views
Last post December 09, 2012, 07:57:35 pm
by Kalebking
0 Replies
252 Views
Last post January 06, 2014, 08:26:35 pm
by forum
2 Replies
688 Views
Last post March 06, 2014, 12:00:56 am
by Boss Hog
8 Replies
402 Views
Last post September 26, 2018, 11:38:53 pm
by dahoodup