Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Changing Post Icons
Topic Started: Jul 1 2013, 04:47 PM (382 Views)
Caitness
Member
 *  
I've already looked at http://if.invisionfree.com/topic/5075517/1/

I've changed the urls and such and stuck the code in the javascript section of the coding area and it does not work. This is what I've entered as a test.

<script language="javascript">
<!--
/*
Change Post Icons
A modification of:

Remove post images v1 for iF
Please keep this header intact
Author(s): Unknown12 with some help from webworldx
Site: http://fire.goldstar-host.co.uk
*/

var old_image=new Array();
old_image[0]="http://i2.ifrm.com/style_images/1/icon1.gif"
old_image[1]="http://NUMBERS/style_images/1/icon2.gif"
old_image[2]="http://NUMBERS/style_images/1/icon3.gif"
old_image[3]="http://NUMBERS/style_images/1/icon4.gif"
old_image[4]="http://NUMBERS/style_images/1/icon5.gif"
old_image[5]="http://NUMBERS/style_images/1/icon6.gif"
old_image[6]="http://NUMBERS/style_images/1/icon7.gif"
old_image[7]="http://NUMBERS/style_images/1/icon8.gif"
old_image[8]="http://NUMBERS/style_images/1/icon9.gif"
old_image[9]="http://NUMBERS/style_images/1/icon10.gif"
old_image[10]="http://NUMBERS/style_images/1/icon11.gif"
old_image[11]="http://NUMBERS/style_images/1/icon12.gif"
old_image[12]="http://NUMBERS/style_images/1/icon13.gif"
old_image[13]="http://NUMBERS/style_images/1/icon14.gif"


var new_image=new Array();
new_image[0]="http://i.imgur.com/4iiNKDe.png"
new_image[1]="NEW URL"
new_image[2]="NEW URL"
new_image[3]="NEW URL"
new_image[4]="NEW URL"
new_image[5]="NEW URL"
new_image[6]="NEW URL"
new_image[7]="NEW URL"
new_image[8]="NEW URL"
new_image[9]="NEW URL"
new_image[10]="NEW URL"
new_image[11]="NEW URL"
new_image[12]="NEW URL"
new_image[13]="NEW URL"


for (i=0;i<document.images.length;i++){
for (j=0;j<old_image.length;j++){
if (document.images.src==old_image[j]){
document.images.src=new_image[j]
}}}
-->
</script>
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
 *   *   *   *   *   *   *   *   *  
Try this instead:
Quote:
 
<script language="javascript">
<!--
/*
Change Post Icons
A modification of:

Remove post images v1 for iF
Please keep this header intact
Author(s): Unknown12 with some help from webworldx
Site: http://fire.goldstar-host.co.uk
*/

var old_image=new Array();
old_image[0]="http://NUMBERS/style_images/1/icon1.gif"
old_image[1]="http://NUMBERS/style_images/1/icon2.gif"
old_image[2]="http://NUMBERS/style_images/1/icon3.gif"
old_image[3]="http://NUMBERS/style_images/1/icon4.gif"
old_image[4]="http://NUMBERS/style_images/1/icon5.gif"
old_image[5]="http://NUMBERS/style_images/1/icon6.gif"
old_image[6]="http://NUMBERS/style_images/1/icon7.gif"
old_image[7]="http://NUMBERS/style_images/1/icon8.gif"
old_image[8]="http://NUMBERS/style_images/1/icon9.gif"
old_image[9]="http://NUMBERS/style_images/1/icon10.gif"
old_image[10]="http://NUMBERS/style_images/1/icon11.gif"
old_image[11]="http://NUMBERS/style_images/1/icon12.gif"
old_image[12]="http://NUMBERS/style_images/1/icon13.gif"
old_image[13]="http://NUMBERS/style_images/1/icon14.gif"

var new_image=new Array();
new_image[0]="NEW URL"
new_image[1]="NEW URL"
new_image[2]="NEW URL"
new_image[3]="NEW URL"
new_image[4]="NEW URL"
new_image[5]="NEW URL"
new_image[6]="NEW URL"
new_image[7]="NEW URL"
new_image[8]="NEW URL"
new_image[9]="NEW URL"
new_image[10]="NEW URL"
new_image[11]="NEW URL"
new_image[12]="NEW URL"
new_image[13]="NEW URL"

for (x=0;x<document.images.length;x++){
for (j=0;j<old_image.length;j++){
if (document.images[x].src==old_image[j]){
document.images[x].src=new_image[j]
}}}
-->
</script>
There's also this version: http://if.invisionfree.com/single/?p=8036718&t=5014845
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply