gtasector Posted September 22, 2007 Share Posted September 22, 2007 Ok I DONT want this to be advertising, but I need some help, how do I get an Affiliate Bar on my Forum? BTW it's on Invision Free Link to comment Share on other sites More sharing options...
Digïtál £vîl Posted September 22, 2007 Share Posted September 22, 2007 Move to proper area requested. Link to comment Share on other sites More sharing options...
gtasector Posted September 22, 2007 Author Share Posted September 22, 2007 Sorry, Please Move! Link to comment Share on other sites More sharing options...
gtasector Posted September 22, 2007 Author Share Posted September 22, 2007 Alright Now Can someone PLEASE HELP ME! Link to comment Share on other sites More sharing options...
Banana Posted September 22, 2007 Share Posted September 22, 2007 <script>//Affiliates in StatBox//By Embusque//MASSIVE CREDIT goes to slayer766var title = 'Affiliates and Friends'var affiliate1 = 'affiliate image link goes here'var affiliatelink1 = 'affiliate link goes here' Link to comment Share on other sites More sharing options...
gtasector Posted September 22, 2007 Author Share Posted September 22, 2007 Whare do i put it im a noob! Link to comment Share on other sites More sharing options...
Banana Posted September 22, 2007 Share Posted September 22, 2007 Whare do i put it im a noob! admin cp>board wrappers>footers Link to comment Share on other sites More sharing options...
gtasector Posted September 22, 2007 Author Share Posted September 22, 2007 Hmmm.... Not Working... Link to comment Share on other sites More sharing options...
Banana Posted September 22, 2007 Share Posted September 22, 2007 (edited) Hmmm.... Not Working... what did you put in the footer edit this was supposed to go in the footer not the other thing, <script>//Affiliates in StatBox//By Embusque//MASSIVE CREDIT goes to slayer766var title = 'Affiliates and Friends'var affiliate1 = 'image link goes here'var affiliatelink1 = 'affiliate link goes here'b = document.getElementsByTagName('table');for (j = 0;j<b.length;j++)if ((b[j].width == '100%') && (b[j].rows[0].cells[0].className == "pformstrip") && (b[j].rows[0].cells[0].innerHTML.match("active"))){a = b[j].getElementsByTagName('TD');c = b[j].getElementsByTagName('TBODY')[0];e = b[j].getElementsByTagName('TR')f = e[2].cloneNode(true)g = e[3].cloneNode(true)c.insertBefore(f,c.getElementsByTagName('TR')[2])c.insertBefore(g,c.getElementsByTagName('TR')[3])c.getElementsByTagName('TR')[2].getElementsByTagName('td')[0].innerHTML = ""+title+""c.getElementsByTagName('TR')[3].getElementsByTagName('td')[1].innerHTML= "<marquee><a href='"+affiliatelink1+"'target='_blank'><img src='"+affiliate1+"'></a></marquee>";break;}</script> Edited September 22, 2007 by angrybanana5000 Link to comment Share on other sites More sharing options...
gtasector Posted September 22, 2007 Author Share Posted September 22, 2007 You've been a great help, but 1. Would you like to join and help admin with me, 2. How can I add affiliates? Link to comment Share on other sites More sharing options...
Banana Posted September 22, 2007 Share Posted September 22, 2007 You've been a great help, but 1. Would you like to join and help admin with me, 2. How can I add affiliates? too add affiliates just put, var affiliate2 = 'affiliate img link'var affiliatelink2 = 'affiliate link' under var affiliate link 1 and put <a href='"+affiliatelink2+"'target='_blank'><img src='"+affiliate2+"'> after <a href='"+affiliatelink1+"'target='_blank'><img src='"+affiliate1+"'> so it would looke like, <script>//Affiliates in StatBox//By Embusque//MASSIVE CREDIT goes to slayer766var title = 'Affiliates and Friends'var affiliate1 = 'image link goes here'var affiliatelink1 = 'affiliate link goes here'var affiliate2 = 'affiliate img link'var affiliatelink2 = 'affiliate link'b = document.getElementsByTagName('table');for (j = 0;j<b.length;j++)if ((b[j].width == '100%') && (b[j].rows[0].cells[0].className == "pformstrip") && (b[j].rows[0].cells[0].innerHTML.match("active"))){a = b[j].getElementsByTagName('TD');c = b[j].getElementsByTagName('TBODY')[0];e = b[j].getElementsByTagName('TR')f = e[2].cloneNode(true)g = e[3].cloneNode(true)c.insertBefore(f,c.getElementsByTagName('TR')[2])c.insertBefore(g,c.getElementsByTagName('TR')[3])c.getElementsByTagName('TR')[2].getElementsByTagName('td')[0].innerHTML = ""+title+""c.getElementsByTagName('TR')[3].getElementsByTagName('td')[1].innerHTML= "<marquee><a href='"+affiliatelink1+"'target='_blank'><img src='"+affiliate1+"'></a><a href='"+affiliatelink2+"'target='_blank'><img src='"+affiliate2+"'></marquee>";break;}</script> to add more repeat the process but go up numbers after 2 so it would be, var affiliate3 = 'affiliate img link'var affiliatelink3 = 'affiliate link' and then, <a href='"+affiliatelink3+"'target='_blank'><img src='"+affiliate3+"'> etc. Link to comment Share on other sites More sharing options...
XN22 Posted September 22, 2007 Share Posted September 22, 2007 Edit: Wrong topic, sorry. Link to comment Share on other sites More sharing options...
Recommended Posts