SMF For Free Support Forum
Signup For Free Forum
March 11, 2010, 04:57:50 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
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
SMF For Free Support Forum
>
SMF For Free Support
>
Guides and Tutorials
>
[Guide] How to Use Your Own Rank Images
Pages:
1
2
3
[
4
]
5
6
7
...
10
« previous
next »
Print
Author
Topic: [Guide] How to Use Your Own Rank Images (Read 24178 times)
0 Members and 1 Guest are viewing this topic.
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #45 on:
January 28, 2009, 12:41:00 pm »
Quote from: Jaron on January 28, 2009, 12:38:42 pm
Forum Url:
http://nonstopgamers.smfforfree.com
Nice it worked. But when the person posted something, it came up as 5 of the images in a row... is that normal or can that be fixed?
Modify the Membergroup and change the number of star images to 1
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Seldom Fail
SMF For Free Sponsors
Offline
Posts: 1474
Please feel free to email me ;)
Re: [Guide] How to Use Your Own Rank Images
«
Reply #46 on:
January 28, 2009, 12:50:40 pm »
Forum Url:
http://nonstopgamers.smfforfree.com
haha ok that would make sense
haha thanks man!
Logged
If at first you fail... call it Vista, sell it, and hope that no one notices
My Blog
Annjill
SMF For Free Member
Offline
Posts: 84
Miley Cyrus is <3
Re: [Guide] How to Use Your Own Rank Images
«
Reply #47 on:
February 01, 2009, 12:35:55 am »
Forum Url:
http://cottontailchaos.smfforfree.com
Here's my code :
Code:
<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/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/moderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/GlobalModerator.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/bluemoderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/goldstar7.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/silverstar6.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/orangestar5.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/greenstar4.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/violetstar3.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/fleshstar2.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/starlime1.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[i].src == img_b[j][0]){
all_images[i].src = img_b[j][1];
}}}
</script>
And the original piture shows up. help !
Logged
COTTONTAIL CHAOS FORUM
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #48 on:
February 01, 2009, 12:42:44 am »
You need to set up a different starfile image for each membergroup.
It will not work using the same image for all of them.
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Annjill
SMF For Free Member
Offline
Posts: 84
Miley Cyrus is <3
Re: [Guide] How to Use Your Own Rank Images
«
Reply #49 on:
February 01, 2009, 12:45:55 am »
Forum Url:
http://cottontailchaos.smfforfree.com
oops then.
[edited]
Okai im done. and i had already put the new code on the footers.
but it's still on its original image ..
«
Last Edit: February 01, 2009, 12:53:06 am by Annjill
»
Logged
COTTONTAIL CHAOS FORUM
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #50 on:
February 01, 2009, 01:18:42 am »
The code that is in your footer looks correct to me.
When you first setup the starfile images in Membergroups did you check to make sure they were working okay and were they?
When you set them up did you put only (for instance) 1staraqua.gif in the box?
«
Last Edit: February 01, 2009, 01:28:21 am by simply sibyl
»
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Annjill
SMF For Free Member
Offline
Posts: 84
Miley Cyrus is <3
Re: [Guide] How to Use Your Own Rank Images
«
Reply #51 on:
February 01, 2009, 01:31:35 am »
Okai.I havent checked it. Here's the new code. Is it right ?
Code:
<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/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/moderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1stargold.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/GlobalModerator.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starlime.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/bluemoderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starorange.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/goldstar7.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpink.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/silverstar6.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpurple.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/orangestar5.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starred.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/greenstar4.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/violetstar3.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music1.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/fleshstar2.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music2.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/starlime1.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[i].src == img_b[j][0]){
all_images[i].src = img_b[j][1];
}}}
</script>
Logged
COTTONTAIL CHAOS FORUM
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #52 on:
February 01, 2009, 01:39:25 am »
Quote from: Annjill on February 01, 2009, 01:31:35 am
Okai.I havent checked it. Here's the new code. Is it right ?
The code looks correct. Show me exactly what you put in the box for one of the Membergroups for the original starfile ok?
«
Last Edit: February 01, 2009, 01:40:59 am by simply sibyl
»
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Annjill
SMF For Free Member
Offline
Posts: 84
Miley Cyrus is <3
Re: [Guide] How to Use Your Own Rank Images
«
Reply #53 on:
February 01, 2009, 01:44:22 am »
Thanks so much ..
[ star.gif ]
it's still the same. the original ..
Logged
COTTONTAIL CHAOS FORUM
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #54 on:
February 01, 2009, 01:51:23 am »
Quote from: Annjill on February 01, 2009, 01:44:22 am
Thanks so much ..
[ star.gif ]
it's still the same. the original ..
Here is what you have to do.
Lets take the first one in your code as an example.
Whichever Membergroup that one is for Modify that Membergroup and put this in the box for their starfile image: 1staraqua.gif
Go thru and make sure you have the correct one in each of your Membergroups.
Then your code should work fine.
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Annjill
SMF For Free Member
Offline
Posts: 84
Miley Cyrus is <3
Re: [Guide] How to Use Your Own Rank Images
«
Reply #55 on:
February 01, 2009, 01:55:55 am »
YEHEY !
It's working !
Thanks so much ..
You are a lifesaver !
more power
Logged
COTTONTAIL CHAOS FORUM
jmcmatrixs
SMF For Free Member
Offline
Posts: 82
www.swapitshop.smfforfree.com
Re: [Guide] How to Use Your Own Rank Images
«
Reply #56 on:
February 01, 2009, 05:29:00 am »
Nice Guide Mate
Angels Of SMF (lol)
Logged
Signiture
Affliriate Button
When somebody makes me one
Furious1Auto
SMF For Free Member
Offline
Posts: 45
Re: [Guide] How to Use Your Own Rank Images
«
Reply #57 on:
February 04, 2009, 08:29:40 pm »
If you are using photobucket to host your image, what code do you use when generating your footer code? Here is the code I generated, and all that shows up on the thread is: * in lieu of my pic!
<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/doggy/transpsupermods.gif
" , "
http://s185.photobucket.com/albums/x2/Furious1auto/?action=view¤t=contributingmember.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>
«
Last Edit: February 04, 2009, 08:40:43 pm by Furious1Auto
»
Logged
simply sibyl
Global Moderator
Offline
Posts: 13265
Re: [Guide] How to Use Your Own Rank Images
«
Reply #58 on:
February 04, 2009, 09:01:08 pm »
Use the direct link to the image on your Photobucket.. that link should be:
http://s185.photobucket.com/albums/x2/Furious1auto/contributingmember.gif
Logged
Support FAQ
|
Guides & Tutorials
|
Tips for Using Support
Furious1Auto
SMF For Free Member
Offline
Posts: 45
Re: [Guide] How to Use Your Own Rank Images
«
Reply #59 on:
February 04, 2009, 09:41:32 pm »
It worked, thanks!
Logged
Pages:
1
2
3
[
4
]
5
6
7
...
10
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMF For Free Site
-----------------------------
=> Announcements
=> General Discussion
=> Suggestions
-----------------------------
SMF For Free Support
-----------------------------
=> General Support
=> Guides and Tutorials
=> Stylesheet Codes
=> Stylesheet Requests and Support
=> SMF For Free Codes and Support
===> Code Requests
=> Bugs
=> Report Terms of Service Violations
-----------------------------
General Stuff
-----------------------------
=> General Chat
=> Advertise Your Board/Blog
=> Programming
===> HTML
===> JavaScript
===> C,C++
===> Java
===> .Net
===> PHP
===> Visual Basic
=> Gaming
===> PC Games
===> Nintendo
===> Playstation
===> Xbox / Xbox 360
=> Graphics
===> Living Avatars
Loading...