The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HTML to display affiliates wont work inside catagory

3 posters

Go down

HTML to display affiliates wont work inside catagory Empty HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 8:48 am

Spoiler:

The above will show where we are placing affiliates.

We are able to display the one you can see, but if we add anymore, they don't show.

When we go back to check the HTML code inside Admin CP, the first one we placed is there, but only 1/4 of the second code is attached, and connected to the end of the first.

It doesn't save the entire code separately.

Are we meant to insert something to separate the html coding, or is it something else?
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by ankillien August 17th 2009, 9:05 am

Hello,

Can you post the code that you are using?
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 9:09 am

<a href="TARGET LINK"><img src="IMAGE LINK" /></a>

That's the code im using to attatch affiliates (clickable images).

The first time i used it it worked, but obviously now it isn't.
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by ankillien August 17th 2009, 9:20 am

Possibly the code you are putting there is too big.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 9:35 am

<a href="http://illusions.forum8.biz/forum.htm"><img src="HTML to display affiliates wont work inside catagory 2ptxm9x" /></a>

That's the code im using above. (our banner as an example)

Surely that's not too big.

Here's a screen shot of the 2 codes im putting in.

Spoiler:

Heres a shot of what happens after i save it.

Spoiler:

I just cant figure out where im going wrong.

Many other sites are achieving what we are trying to do...
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by ankillien August 17th 2009, 10:06 am

I think the code has some bug. Check your code twice if you can find some bug in it.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 11:43 am

Well ive just checked that the code works in my widget and currently have 3 affiliates working. So surely there isn't a problem in the script.

Ive had a few more goes at it, but its still removing most of the second html code.
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by ankillien August 17th 2009, 12:07 pm

hmmm...can you please post the whole code that you are putting in there?
So that I can try it on my test board.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by RoNo August 17th 2009, 12:23 pm

Couldn't see the your full pic until I right clicked "view image".
Now we can see the errors:
HTML to display affiliates wont work inside catagory Linkerrors01

Use these
Code:
<a href="http://teamtptb.com" target="_blank"><img src="http://i44.tinypic.com/23rw34.jpg" alt="teamptb" border="0" /></a>
<br />
<a href="http://illusions.forum8.biz/forum.htm" target="_blank"><img src="http://i29.tinypic.com/2ptxm9x.jpg" alt="illusions" border="0" /></a>
Compare your links to the code to see the errors.
Use "br" breaks after links to move down a line.
You have <img src=" running into <a href
and two addresses for the images.

You could create your linked images in your forum's post editor,
preview to verify they are correct and then add them to the description box.
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 12:41 pm

The code you gave worked, but their on top of each other.

Were trying to get them to sit side by side, and eventually find the code to allow them to scroll from right to left.

Thanks for all your help up to this point btw. thumleft
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by RoNo August 17th 2009, 1:04 pm

Horizontal Affiliates Marquee (use one space to separate your links)
Code:
<marquee style="width: 450px; height: 39px;" direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2"><a href="http://teamtptb.com" target="_blank"><img src="http://i44.tinypic.com/23rw34.jpg" alt="teamptb" border="0" /></a> <a href="http://illusions.forum8.biz/forum.htm" target="_blank"><img src="http://i29.tinypic.com/2ptxm9x.jpg" alt="illusions" border="0" /></a></marquee>
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 1:13 pm

Same problem as before. The code disappears.
Spoiler:

It is scrolling but still only 1 affiliate.
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by RoNo August 17th 2009, 1:28 pm

Ouch! ... Scroll down to "Screenshots" on this page
and you can see that it works with all of these
Code:
<marquee style="width: 450px; height: 39px;" direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2"><a href="http://teamtptb.com" target="_blank"><img src="http://i44.tinypic.com/23rw34.jpg" alt="teamptb" border="0" /></a> <a href="http://illusions.forum8.biz/forum.htm" target="_blank"><img src="http://i29.tinypic.com/2ptxm9x.jpg" alt="illusions" border="0" /></a> <a href="http://teamtptb.com" target="_blank"><img src="http://i44.tinypic.com/23rw34.jpg" alt="teamptb" border="0" /></a> <a href="http://illusions.forum8.biz/forum.htm" target="_blank"><img src="http://i29.tinypic.com/2ptxm9x.jpg" alt="illusions" border="0" /></a> <a href="http://teamtptb.com" target="_blank"><img src="http://i44.tinypic.com/23rw34.jpg" alt="teamptb" border="0" /></a> <a href="http://illusions.forum8.biz/forum.htm" target="_blank"><img src="http://i29.tinypic.com/2ptxm9x.jpg" alt="illusions" border="0" /></a></marquee>
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by Coz August 17th 2009, 1:45 pm

Hmm. I wonder what the problem is..*scratches head*

I like the layout of your site. Im guessing you just set the forum to 100% width?

If i could do that, i wouldn't mind waking the affiliates on the left as you have done. Would avoid a lot of hassle.

If you dont mind that is?
avatar
Coz
Forumember

Posts : 55
Reputation : 0
Language : English

Back to top Go down

HTML to display affiliates wont work inside catagory Empty Re: HTML to display affiliates wont work inside catagory

Post by RoNo August 17th 2009, 1:57 pm

Forum width is : auto
You could try: a different theme,
re-syncing your forum...
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum