DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Create a Forum Codes and Support
*****************************************************
#Post#: 861--------------------------------------------------
[Req] I may have missed this..
DIR By: Zerker
Date: August 13, 2010, 8:11 pm
---------------------------------------------------------
Is there anyway I can replace Star Images with my own? I may
have missed the actual code but I've tried the code with SMF
before hand, so I'm not 100% sure on this. This is what i would
want doing, (As an example of the code if possible..)
I'd want this image;
HTML http://images.smfboards.com/ranks/dl_ranks2/rank_0.gif
--- Code ---
HTML http://images.smfboards.com/ranks/dl_ranks2/rank_0.gif
--- End Code ---
to be replaced with this image;
[IMG]
HTML http://i36.tinypic.com/af9d02.jpg[/img]
--- Code ---
[IMG]
HTML http://i36.tinypic.com/af9d02.jpg[/IMG]
--- End Code ---
I'd want to change just more then them images though, if you get
what I mean. Those are just the Post Rank images, I'd also like
to change the actual 'Mod' 'Admin' 'Global Mod' Star files also,
so if you have time and there is a way, please would you just
create a code on it for me, or a tutorial on what to do. that'd
be great.
#Post#: 863--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Representation
Date: August 13, 2010, 8:21 pm
---------------------------------------------------------
Click
[URL=
HTML http://support.createaforum.com/guides-and-tutorials/(guide)-using-your-own-rank-images/]here[/URL]..
#Post#: 865--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Zerker
Date: August 13, 2010, 8:49 pm
---------------------------------------------------------
I've tried this, thats why I asked if someone could make a short
code for me, using the images i showed. Just so I understand it
abit more.
Nevermind, i figure it out. One thing, how come it doesn't
appear if there are 2 starfiles?
by this i mean..
I have Iron Member image loaded and the founder image also
loaded, but for some reason it only shows the founder image, is
there something wrong or something i should change to be able to
view both images?
My forum url: www.projectnightfall.createaforum.com/
#Post#: 866--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Fate
Date: August 13, 2010, 9:00 pm
---------------------------------------------------------
This is the code for using your own rank images:
--- Code ---
<script type='text/javascript'>
/* Image Changes on Page
SMF For Free 2009 - WWX */
function swap_img(){
var img_b = new Array();
img_b[img_b.length++] = [ "ORIGINAL_IMAGE_URL" ,
"NEW_IMAGE_URL" ]
var a_i = document.getElementsByTagName('IMG');
for(i=a_i.length-1;i>=0;i--) for(j=0;j<img_b.length;j++)
if(a_i[i].src == img_b[j][0]) a_i[i].src = img_b[j][1];
}
swap_img();
</script>
--- End Code ---
If you want to replace several images, simply add more of this
line under the first:
img_b[img_b.length++] = [ "ORIGINAL_IMAGE_URL" , "NEW_IMAGE_URL"
]
---------------------------------------------------------
Here is an example with the image you want changed:
--- Code ---
<script type='text/javascript'>
/* Image Changes on Page
SMF For Free 2009 - WWX */
function swap_img(){
var img_b = new Array();
img_b[img_b.length++] = [
"
HTML http://images.smfboards.com/ranks/dl_ranks2/rank_0.gif"
,
"
HTML http://i36.tinypic.com/af9d02.jpg"
]
var a_i = document.getElementsByTagName('IMG');
for(i=a_i.length-1;i>=0;i--) for(j=0;j<img_b.length;j++)
if(a_i[i].src == img_b[j][0]) a_i[i].src = img_b[j][1];
}
swap_img();
</script>
--- End Code ---
#Post#: 867--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Zerker
Date: August 13, 2010, 9:03 pm
---------------------------------------------------------
Sorry, fate. I just updated. Is it possible for you to read what
my other issue is? (I edited the post.)
#Post#: 868--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Representation
Date: August 13, 2010, 9:04 pm
---------------------------------------------------------
Luckily Fate understands it because I haven't a clue. :|
#Post#: 869--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Zerker
Date: August 13, 2010, 9:05 pm
---------------------------------------------------------
--- Quote from: The Rep link ---
>
> Luckily Fate understands it because I haven't a clue. :|
>
--- End Quote ---
I've just figured it out, xD. I just can't figure my other issue
out, if you scroll up someone may be able to help me D:.
#Post#: 870--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Representation
Date: August 13, 2010, 9:20 pm
---------------------------------------------------------
Uhmmm... I'd get rid of the code you use for iron member and
founder and recreate them in the code Fate gave you...
#Post#: 871--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Zerker
Date: August 13, 2010, 9:29 pm
---------------------------------------------------------
Already have, take alook at my forum. Is there anyway to change
the max size for the profile type thing? maybe the images are
too big perhaps?
#Post#: 872--------------------------------------------------
Re: [Req] I may have missed this..
DIR By: Jaron
Date: August 13, 2010, 9:48 pm
---------------------------------------------------------
Primary membergroups like administrator or moderator or the
other special membergroups that people are put in will show
rather than the post group image.
No way to show both unless you made an image with both of them
on it.
*****************************************************
Page 1 of 2
DIR Next Page