SMF For Free Support Forum
Signup For Free Forum
July 04, 2009, 11:28:31 pm *
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 [2] 3
  Print  
Author Topic: some one help me with a star.gif  (Read 1004 times)
0 Members and 1 Guest are viewing this topic.
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #15 on: October 13, 2008, 10:24:42 am »

okay its working now..     For the server you are on it appears the star image file url has to have www and not images in the url.    

thank you, soooo much  Wink
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #16 on: October 13, 2008, 10:28:35 am »

you are welcome.
If you decide to change them for other groups just add more of these lines under the exisiting one in the code.  Make sure to put the correct starfile image link in their membergroup

img_b[img_b.length++] = [ "old image url" , "new image url" ]
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #17 on: October 13, 2008, 10:29:36 am »

OK OK OK OMG OMG!!! im not trying to be a pain, but when i got to put it as 9 of those star images next to my name, it changes back to aqua, i mean, COME ON!!!  Cry
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #18 on: October 13, 2008, 10:38:10 am »

OK OK OK OMG OMG!!! im not trying to be a pain, but when i got to put it as 9 of those star images next to my name, it changes back to aqua, i mean, COME ON!!!  Cry

it does that on the membergroup page but in your posts it shows them the way you want them Wink
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #19 on: October 13, 2008, 10:42:50 am »

OK OK OK OMG OMG!!! im not trying to be a pain, but when i got to put it as 9 of those star images next to my name, it changes back to aqua, i mean, COME ON!!!  Cry

it does that on the membergroup page but in your posts it shows them the way you want them Wink

ok thank you, sorry bout this, im such a goddam noob  Sad
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #20 on: October 13, 2008, 10:46:10 am »

we all are "noobs" at first..    afterawhile it will be second nature to you.   
(gets out soap for potty mouth)   Wink
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #21 on: October 13, 2008, 10:55:56 am »

lol, last question i promidr  Grin

if i want to change another one, i know what you meant with the img_b[img_b.length++] = [ "old image url" , "new image url" ]

where would i put it, under the other script in footer (a couple of spaces down) or somewhere else  Smiley
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #22 on: October 13, 2008, 11:01:03 am »

lol, last question i promidr  Grin

if i want to change another one, i know what you meant with the img_b[img_b.length++] = [ "old image url" , "new image url" ]

where would i put it, under the other script in footer (a couple of spaces down) or somewhere else  Smiley

Here is your existing script.  I added the second one directly under the current one.  See where I added it?
If you add even more.. add them under the one I added.

Code:
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = [ "http://www.smfboards.com/ranks/1staraqua.gif" , "http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star1.gif" ]
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>

p.s. make sure to demote me on your forum please Wink
« Last Edit: October 13, 2008, 11:02:37 am by simply sibyl » Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #23 on: October 13, 2008, 01:33:29 pm »

ok thank you  Smiley

oh, and ill demote you  Wink
Logged

Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #24 on: October 13, 2008, 03:48:29 pm »

ok, im not gonna get mad or ticked off......

so, i wanted to add this image

this is ALL ive done, anything not mentioned, I HAVENT DONE IT

i have copied this code:


<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();

img_b[img_b.length++] = [ "http://www.smfboards.com/ranks/1staraqua.gif" , "http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star1.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>


AND I CHANGED THE : img_b[img_b.length++] = [ "http://www.smfboards.com/ranks/1staraqua.gif" , "http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star1.gif" ]


TO:

img_b[img_b.length++] = [ "http://www.smfboards.com/ranks/1starpurple.gif" , "http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star2.gif" ]

SO WHATS WRONG, WHY IS I COMING UP WITH BOX WITH X?
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #25 on: October 13, 2008, 03:54:35 pm »

did you modify the membergroup you want to change the image for and put 1starpurple.gif for the image and make SURE it is showing in a post first?   You need to make sure the image is working before you go about swapping it.   The code has to find that image then swap it.
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« Reply #26 on: October 13, 2008, 04:04:14 pm »

ive did it, turns out a spelling mistake, ive conquered it yay, i fully know what to do know

THANK YOU SILBY, YOUR THE GREATEST AND YOU HELPED ME ALL THEY WAY, THANK YOU!
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #27 on: October 13, 2008, 04:05:39 pm »

told ya you could do it  Wink
If you run into more trouble just keep backtracking your steps, checking the code.  You'll get it.
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages
Andrew
SMF For Free Sponsors
*
Offline Offline

Posts: 1088


Please do not PM for Support Questions


View Profile WWW
« Reply #28 on: November 29, 2008, 10:10:08 pm »

Isnt she the best? She's helped me with things like this too Smiley

 angel<-----Simply Sibyl
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #29 on: November 29, 2008, 10:13:59 pm »

Isnt she the best? She's helped me with things like this too Smiley

 angel<-----Simply Sibyl


(sure got him fooled)
6649 more to go
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages


Pages: 1 [2] 3
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.383 seconds with 18 queries.