|
Post by Michael on Jul 14, 2006 18:15:46 GMT
Affiliate ('http://jurisicsara.proboards55.com','http://img286.imageshack.us/img286/2479/tt6lm.gif'width="88" height="31" border="0" /></a>);Replace that ^ with this: Affiliate ('http://jurisicsara.proboards55.com','http://img286.imageshack.us/img286/2479/tt6lm.gif');If that doesn't solve your problem, you'll have to wait for Dre or Ross to reply.
|
|
|
Post by yugiohwiz on Aug 27, 2006 17:56:11 GMT
This sounds kinda stupid but it's worth a shot. Would it be alright if I edited this and used it on my site? The link to my site is in my sig. Thanks!
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Sept 1, 2006 9:54:22 GMT
This sounds kinda stupid but it's worth a shot. Would it be alright if I edited this and used it on my site? The link to my site is in my sig. Thanks! Of course, it can be used on any site you want to use it on ;D
|
|
|
Post by yugiohwiz on Sept 1, 2006 14:56:45 GMT
Thanks Ross!
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Sept 6, 2006 22:40:32 GMT
just wondering if it'd make any difference if i use double quotes instead of single quotes in the affiliate lines (in terms of loading, etc.)
EXAMPLE:
[REMOVED]
|
|
ME!
Moderator
~Remanifesting-Eternal.~
Posts: 778
|
Post by ME! on Sept 7, 2006 5:34:25 GMT
nope , no difference. try it your self
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Sept 7, 2006 22:35:21 GMT
nope , no difference. try it your self OK, thanks Dre. i was just curious plus it's much easier for me to highlight the URLs when they're between double quotes instead.
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Dec 27, 2006 22:37:41 GMT
what if i dont want a mini banner of my site displayed on my affiliates, as well as the link to affiliate. meaning, i just want my affiliates to be displayed, nothing more, just like what you have on the homepage here. which part of the code should i remove? remove this part: <a href="URl to Thread/Board to Affiliate"><img src="Your Mini-Banner URL" width="88" height="31" border="0" alt="Click here affiliate!"></a>
|
|
|
Post by sam1990 on Jan 15, 2007 17:00:24 GMT
I have used that afiliate table and its not working the same way yours does when you click View All mine opens on a new page and the affiliate table has grown outwards unlike yours.Could you tell me what to add to it to change it the code looks like this at the moment.
</div> <table cellspacing="1" class="bordercolor" align="center"width="92%" id="affTable" style="position: relative; top: 14px;"> <tr> <td colspan="2" height="18" class="catbg" align="center" id="affTitle"> <font color="FFFFFF">Random Affiliates</font> </td> </tr> <tr> <td class="windowbg2" width="90%" align="center" valign="middle" id="aff">
</td> <td class="windowbg" align="center" valign="top" id="ownaff"> <a href="http://advertisforum.proboards98.com/index.cgi"><img src="http://img296.imageshack.us/img296/8852/ultimateforumtq3glknk2.gif" width="88" height="31" border="0" alt="Click here affiliate!"></a> </td> </tr> <tr id="viewAllaff"> <td class="windowbg" align="right" colspan="2"> <font size=2> Click <a href="/index.cgi?&page=affiliates">Here</a> to view all Affiliates </font> </td> </tr> </table>
<script type="text/javascript"> <!-- var max = 4; // Number of Affiliates to show
var aff = []; function Affiliate(AffiliateURL,MiniBanner) { if(location.href.match(/page=affiliate/)) document.getElementById('aff').innerHTML += "&nb"+"sp;<a href='"+AffiliateURL+"' target='_blank'><img src='"+MiniBanner+"' width='88' height='31' border='0' /></a>&nb"+"sp;" else aff[aff.length] = [AffiliateURL, MiniBanner]; }
Affiliate ('http://101support.proboards43.com','http://img171.imageshack.us/img171/1794/e3ke7.gif'); Affiliate ('http://xtreeme.proboards22.com','http://img.photobucket.com/albums/v80/Soul-Divider/Affiliatebanner.gif'); Affiliate ('http://www.saltnvinegar.proboards25.com','http://img.photobucket.com/albums/v249/gphillips12345/smerkersmini.gif'); Affiliate ('http://freeadvertise.proboards62.com/','http://i15.photobucket.com/albums/a378/serpent_/FTAV5/minibanner.gif'); Affiliate ('http://www.members4u.proboards50.com','http://img178.imageshack.us/img178/9161/affilcopyym7.gif'); Affiliate ('http://lotristhebest.proboards92.com','http://img146.imageshack.us/img146/4477/minibanner1cc2.gif'); Affiliate ('http://greenmovement.proboards91.com/index.cgi','http://img239.imageshack.us/img239/5324/affiliategv3.gif'); Affiliate ('http://www.roleplayphoenix.proboards49.com','http://i122.photobucket.com/albums/o274/roleplayphoenix/banner2.jpg') Affiliate ('http://dejavustu.proboards106.com','http://i70.photobucket.com/albums/i111/DejavuStu/Misc/RF_logo-resized.jpg') Affiliate ('http://drap8888.proboards85.com','http://i141.photobucket.com/albums/r74/pokeman89/pl2sg8.gif')
if(location.href.match(/page=affiliate/)) { document.getElementById('viewAllaff').style.display = 'none'; document.getElementById('ownAff').style.display = 'none'; document.getElementById('forum').style.display = 'none'; document.getElementById('affTitle').firstChild.innerHTML = 'Affiliates'; } else { var affs = document.getElementById('aff'); for(i=0; i<max; i++) { rand = Math.floor(Math.random() * aff.length); if(affs.innerHTML.match(aff[rand][0])) i--; else affs.innerHTML += "&nb"+"sp;<a href='"+aff[rand][0]+"' target='_blank'><img src='"+aff[rand][1]+"' width='88' height='31' border='0' /></a>&nb"+"sp;" } } //--> </script>
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Jan 16, 2007 23:01:51 GMT
try this: NOTE: Find width="500px" & change the 500 to your forum's width & add <div id="forum"> To Your Main Header</div> <table cellspacing="1" class="bordercolor" align="center" id="affTable" style="width: [color=Red]700[/color]px!important; position: relative; top: 0px;"> <tr> <td colspan="2" height="18" class="catbg" align="center" id="affTitle"> <font color="FFFFFF">Random Affiliates</font> </td> </tr> <tr> <td class="windowbg2" width="90%" align="center" valign="middle" id="aff">
</td> <td class="windowbg" align="center" valign="top" id="ownaff"> <a href="/index.cgi?board=affiliatewithus&action=display&thread=1167511782"><img src="http://img296.imageshack.us/img296/8852/ultimateforumtq3glknk2.gif" width="88" height="31" border="0" alt="Click here affiliate!"></a> </td> </tr> <tr id="viewAllaff"> <td class="windowbg" align="right" colspan="2"> <font size=2> Click <a href="/index.cgi?&page=affiliates">Here</a> to view all Affiliates </font> </td> </tr> </table>
<script type="text/javascript"> <!-- var max = 4; // Number of Affiliates to show
var aff = []; function Affiliate(AffiliateURL,MiniBanner) { if(location.href.match(/page=affiliate/)) document.getElementById('aff').innerHTML += " <a href='"+AffiliateURL+"' target='_blank'><img src='"+MiniBanner+"' width='88' height='31' border='0' /></a> " else aff[aff.length] = [AffiliateURL, MiniBanner]; }
Affiliate ("http://101support.proboards43.com","http://img171.imageshack.us/img171/1794/e3ke7.gif"); Affiliate ("http://xtreeme.proboards22.com","http://img.photobucket.com/albums/v80/Soul-Divider/Affiliatebanner.gif"); Affiliate ("http://www.saltnvinegar.proboards25.com","http://img.photobucket.com/albums/v249/gphillips12345/smerkersmini.gif"); Affiliate ("http://freeadvertise.proboards62.com/","http://i15.photobucket.com/albums/a378/serpent_/FTAV5/minibanner.gif"); Affiliate ("http://www.members4u.proboards50.com","http://img178.imageshack.us/img178/9161/affilcopyym7.gif"); Affiliate ("http://lotristhebest.proboards92.com","http://img146.imageshack.us/img146/4477/minibanner1cc2.gif"); Affiliate ("http://greenmovement.proboards91.com/index.cgi","http://img239.imageshack.us/img239/5324/affiliategv3.gif"); Affiliate ("http://www.roleplayphoenix.proboards49.com","http://i122.photobucket.com/albums/o274/roleplayphoenix/banner2.jpg"); Affiliate ("http://dejavustu.proboards106.com","http://i70.photobucket.com/albums/i111/DejavuStu/Misc/RF_logo-resized.jpg"); Affiliate ("http://drap8888.proboards85.com","http://i141.photobucket.com/albums/r74/pokeman89/pl2sg8.gif");
if(location.href.match(/page=affiliate/)) { document.getElementById('viewAllaff').style.display = 'none'; document.getElementById('ownAff').style.display = 'none'; document.getElementById('forum').style.display = 'none'; document.getElementById('affTitle').firstChild.innerHTML = 'Affiliates'; } else { var affs = document.getElementById('aff'); for(i=0; i<max; i++) { rand = Math.floor(Math.random() * aff.length); if(affs.innerHTML.match(aff[rand][0])) i--; else affs.innerHTML += "&nb"+"sp;<a href='"+aff[rand][0]+"' target='_blank'><img src='"+aff[rand][1]+"' width='88' height='31' border='0' /></a>&nb"+"sp;" } } //--> </script>
|
|
|
Post by sam1990 on Jan 17, 2007 17:40:10 GMT
Thanks Son of Exodia but i mean something else,not the size of it on the main page i want to change when you click view all affiliates it opens a new page with all the affiliates on like a big table kind of thing unlike the way mine is opening outwards.
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 19, 2007 10:39:19 GMT
Sam, can you recopy the code Son of Exodia posted and try it now? I'vemade an edit to it which should fix the expanding table problem
|
|
|
Post by sam1990 on Jan 19, 2007 13:40:57 GMT
Thanks ross that did the trick,thanks a millon. ;D
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 20, 2007 2:09:07 GMT
Anytime ;D
|
|
kaoru
New Member
Posts: 2
|
Post by kaoru on Jan 29, 2008 1:28:41 GMT
Just wanted to ask three questions:
1) Is there any way to move my mini-banner (the mini-banner of the site to be affiliated with) to the left?
2) On the right hand side, the border seems to be a little thicker than the rest of the table, any ideas?
3) Is there a way to separate the affiliates banners from the site's mini-banner? I'm not seeing the column between the two.
Thanks in advanced.
|
|