Advertise Here

Author Topic: [Guide] How to Use Your Own Rank Images  (Read 101239 times)

0 Members and 1 Guest are viewing this topic.

Offline fanta

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

  • Total Badges: 4
    Badges: (View All)
    Topic Starter Level 1 First Post Windows User
Re: [Guide] How to Use Your Own Rank Images
« Reply #165 on: October 08, 2013, 10:15:41 pm »
In case you havent noticed, the URL doesnt work.

Offline kaichisendou

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

  • Total Badges: 3
    Badges: (View All)
    Level 1 First Post Windows User
Re: [Guide] How to Use Your Own Rank Images
« Reply #166 on: March 28, 2015, 06:01:34 am »
I have done everything as you said... but image in the thread when we post is still the same.. so what to do now?

Offline Fly34567

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

  • Total Badges: 4
    Badges: (View All)
    Level 1 First Post Linux User Mobile User
Re: [Guide] How to Use Your Own Rank Images
« Reply #167 on: August 09, 2015, 10:50:29 pm »
Just in case someone needs help for me http://cdn.smfboards.com/ranks/staff.bmp was what I used.

Offline e a t p l z

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

  • Total Badges: 4
    Badges: (View All)
    Topic Starter Level 1 First Post Windows User
Re: [Guide] How to Use Your Own Rank Images
« Reply #168 on: October 18, 2015, 10:41:15 am »
Hi, I got it to show on the "Membergroup" Page that it's working. But on the actual forum itself, my image is not displayed.

Here is my code;

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://images.smfboards.com/ranks/star.gif" , "http://i58.tinypic.com/210nlo9.jpg"]

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>


Here is the picture of membergroups;



I changed the settings because I want that image and title to display, but I still want administrator settings on the account.



And on the forum;


Offline Tonyyy

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

  • Total Badges: 8
    Badges: (View All)
    Search Level 2 Combination Topic Starter Level 1
Re: [Guide] How to Use Your Own Rank Images
« Reply #169 on: June 25, 2016, 12:29:45 am »
Hello, I just made a forum and don't know much things.
Where to add there code lines to change the ranks pics ?



Code: [Select]
<script type='text/javascript'>
/*
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[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>