Skip to:

Problem inserting affiliate banners

  • This is a regular problem on my forum. bbpress seems to remove the image part of the banner as there is missing code. Usually I can work out where the missing tag goes. In the case of the following TradeDoubler code, I can’t! Any suggestions much appreciated.

    <script type=”text/javascript”>

    var uri = ‘’ + new String (Math.random()).substring (2, 11);

    document.write(‘<img src=”‘+uri+'” border=0>‘);


Viewing 4 replies - 1 through 4 (of 4 total)

  • kannued


    If you have the latest version of bbpress (.8.3), you need to activate the plugin that allows images.

    Not sure where you’re posting this, but if bb isn’t completely screwing up it should remove javascript from input.

    Hi again

    I am just trying to post the banners in a thread.

    The plugin is already enabled, so that’s not the problem. Most of the banner codes seem to have the closing backslash missing in the closing img tag. It seems that bbpress is particularly fussy when it comes to this type of code.

    New glitch!

    My web designer has now got a plugin that allows me to add ALL affiliate banners. However, it breaks the system when you add apostrophes to posts.

    I’ve been advised, it’s a case of which one I prefer to have working. If he turns off the plugin, apostrophes are fine but some of the banners will no longer work.

    I obviously want both features. Any ideas on what to do next?

    Thanks Fi

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar