SMF For Free Support Forum
Signup For Free Forum
September 07, 2008, 04:00:35 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Guide] How to Use Your Own Rank Images  (Read 4329 times)
0 Members and 1 Guest are viewing this topic.
simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« on: February 18, 2008, 05:39:57 pm »

First you need to set up the rank images using the ones on the starfile image page.
Admin > Membergroups
Modify the group you want to do this to.

Click on the starfile image link.   

Choose one of the images  (it doesnt matter which ones you choose as you will be swapping them)

Enter the filename for the image you chose in the star image filename blank for the membergroup.

You need to know the url of the image so you can swap it.
Right mouse click on the image - Do this on the starfile image page so you have the correct url.    
Click Propertys.
You will see the url there.
Copy the url.


To make the code to swap the image go here:

Swap Images Generator

Put the url of the starfile image under OLD IMAGE
Put the url of YOUR image under NEW IMAGE

If you want to do it for more images click ADD NEW FIELD and put in the urls for the additional images, old and new.
   
When you are done click the Get Code button.
Copy the code.
Paste it into your Footer   (Admin > Manage Styles > Edit HEader/Footer)
« Last Edit: August 22, 2008, 06:29:35 pm by simply sibyl » Logged

simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« Reply #1 on: August 22, 2008, 06:19:17 pm »

NOTICE:    To anyone who is currently using the Swap Image Code to use your own rank images.

If you are suddenly seeing red x's and the code is not working:

Go back thru the code in your footer that swaps the images.
For each place for the OLD links that it says:   http://www.smfboards.com
Change it to:   http://images.smfboards.com
Logged

Fluro
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #2 on: August 22, 2008, 08:44:58 pm »

My images just turn into *'s Sad
Here is the code:

Quote
<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/staradmin.gif" , "http://www.runehq.com/image/specialreports/rare/yellowpartyhat.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.src == img_b[j][0]){
     all_images.src = img_b[j][1];
}}}
</script>

I put that into my Footer.
Logged
simply sibyl
not a dude
Global Moderator
*
Offline Offline

Posts: 8032


Don't PM me for Support


View Profile WWW
« Reply #3 on: August 22, 2008, 09:31:00 pm »

The second url in your code isnt good.

This one...     

http://www.runehq.com/image/specialreports/rare/yellowpartyhat.gif
Logged

Fluro
SMF For Free Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #4 on: August 22, 2008, 09:44:42 pm »

Ooo i see now, It got changed. Thanks though!
Logged
eddie
SMF For Free Member
*
Offline Offline

Posts: 37



View Profile
« Reply #5 on: August 23, 2008, 01:25:36 am »

nice guide sibyl
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.371 seconds with 17 queries.