SMF For Free Support Forum
Signup For Free Forum
July 30, 2010, 06:19:39 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 1292 times)
0 Members and 1 Guest are viewing this topic.
Arsenal F.C. Forum
SMF For Free Member
*
Offline Offline

Posts: 30


View Profile
« on: October 13, 2008, 03:59:17 am »

hello, could some please make me this star.gif:

also, once i has posted the new code in, then i go to membergroups, what will it be? star.gif? 2starmod.gif?

thank you  Smiley


Arsenal F.C. Forum
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #1 on: October 13, 2008, 06:10:13 am »

hello, could some please make me this star.gif:

also, once i has posted the new code in, then i go to membergroups, what will it be? star.gif? 2starmod.gif?

thank you  Smiley


Arsenal F.C. Forum

We do not add them to the starfile list.
If you want to use your own image the only way to do so is by following this guide:

How to use your own Rank Images
   
Logged

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

Posts: 30


View Profile
« Reply #2 on: October 13, 2008, 06:56:28 am »

ok, thank you  Smiley
Logged

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

Posts: 30


View Profile
« Reply #3 on: October 13, 2008, 07:59:45 am »

it didnt work, it just changed the images to a plain white box  Sad
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #4 on: October 13, 2008, 08:11:51 am »

it didnt work, it just changed the images to a plain white box  Sad

Please post the code you used so that we can see what you did.
Logged

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

Posts: 30


View Profile
« Reply #5 on: October 13, 2008, 08:13:45 am »

umm, is this what you mean

this is the DIRECT LINK:

http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star1.gif

OH I KNOW, THE 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/Themes2/default/images/starmod.gif" , "//http://i445.photobucket.com/albums/qq180/xXCHARGER116Xx/star1.gif" ]
img_b[img_b.length++] = [ "http://" , "http://" ]

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>
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #6 on: October 13, 2008, 08:18:36 am »

do it this way.. needed to edit the first url and you had two //'s before your photobucket one

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/Themes2/default/images/starmod.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[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>
Logged

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

Posts: 30


View Profile
« Reply #7 on: October 13, 2008, 08:44:59 am »

it did not work  tickedoff it just changed it back to the original  tickedoff big green one  tickedoff
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #8 on: October 13, 2008, 08:49:53 am »

it did not work  tickedoff it just changed it back to the original  tickedoff big green one  tickedoff

Put this in as the star image filename for the membergroup you are doing it for:  starmod.gif

Then use this code.    It will work:

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/starmod.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[i].src == img_b[j][0]){
     all_images[i].src = img_b[j][1];
}}}
</script>

Note:   You have your forum in Maintenance mode.  I am unable to check the url of the image you are currently using to be sure I am giveing you the correct url to use.   It may be different for smf4free ..    Im not sure as I dont have a test site for that server to check.      If the above code does NOT work for you go to a post that shows the image you currently have set as the starfile image.   Right mouse on it, click propertys, get the url from there.
« Last Edit: October 13, 2008, 08:52:21 am by simply sibyl » Logged

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

Posts: 30


View Profile
« Reply #9 on: October 13, 2008, 09:47:33 am »

you know what haha! i dont know what im doing wrong  tickedoff Simply silby, if you register, ill make you administrator, could you do it for me, cause im lost

Arsenal F.C. Forums
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #10 on: October 13, 2008, 09:52:25 am »

you know what haha! i dont know what im doing wrong  tickedoff Simply silby, if you register, ill make you administrator, could you do it for me, cause im lost

Arsenal F.C. Forums

oh man.. I hate doing that..   you do need to learn and tweak and figure it out so you know how to do this stuff.  If I do it for you you won't ya know?   Take it off Maintenance Mode for a moment so I can check the star image url you have there now.    Lemme know a membername this is for so I know where to look k?
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



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

actually follow what I told you here:
http://www.smfsupport.com/support/general_support/some_one_help_me_with_a_stargif-t21528.0.html;msg82465#msg82465

If something about that post confuses you explain to me so I can reword it to help you Wink
You still have the old code in your footer..
Make sure to put starmod.gif in the blank for the Administrator membergroup if that is the one you are doing this for.
see attached pic for that
« Last Edit: October 13, 2008, 09:59:20 am by simply sibyl » Logged

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

Posts: 30


View Profile
« Reply #12 on: October 13, 2008, 10:11:17 am »

ok, changed filename to starmod.gif and put the code you gave me into the footers, but hey, it still hasnt worked  buck2
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #13 on: October 13, 2008, 10:14:33 am »

ill go  ahead and run over there
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13697



View Profile WWW
« Reply #14 on: October 13, 2008, 10:21:23 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.     
Logged



Pages: [1] 2 3
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting
Page created in 0.296 seconds with 15 queries. (Pretty URLs adds 0.059s, 2q)