Kontera ContentLinks / MIVA InLine Plugin

Download:
Download version 2.3 or view the source.


What is Kontera?
Click here to find out more and signup.

If you find this plugin useful please donate to the author.

This plugin facilitates Kontera ContentLinks or MIVA InLine ads. Once configured the ads are added automatically. This plugin will work with both WordPress and WordPress MU in the case of WordPress MU it allows the Site Administrator to configure revenue sharing.

Revision History:

version 1.0 Original Release
version 1.1 Made plugin identifier functions universal for all plugins
version 1.2 Added functions to stub to identify current available release.
Adjusted options page to display.
Fixed missing __CLASS__ constant for versions of PHP older than 4.3.0. Fixed issue with PHP5 installs.
version 1.3 Added support for WordPress MU. Fixed version notification.
version 2.0 Now uses the Plugin Helper Class.
version 2.1 Now supports MIVA InLine.
Note: I have changed the plugins name to reflect this.
version 2.2 Made an option to remove the hidden links signature.
version 2.3 Made an signature options global.

Installation:

  1. Copy the file rjs-dynamicontext.php to the WordPress plugins directory on your server, (%WORDPRESS PATH%/wp-contents/plugins/ or for WordPress MU %WORDPRESS MU PATH%/wp-contents/mu-plugins/).
  2. You will then need to activate the plugin from the WordPress administration plugins page.
  3. Adjust the options as necessary.
  4. Add javascript from Kontera into the configuration.
    Kontera DynamiContext Plugin Configuration Screen

39 Comments

  1. PrimeMista Comment posted Tuesday, April 25, 2006:

    where can i download Kontera DynamiContext Plugin ?

  2. Rodney Comment posted Tuesday, April 25, 2006:

    You can download the latest version here.

  3. menj Comment posted Wednesday, May 10, 2006:

    I activated the plugin and then inserted my Kontera code, but nothing is showing up after a few hours.

    - MENJ

  4. Rodney Comment posted Wednesday, May 10, 2006:

    DynamiContext tags will not show up until after midnight on the day you add them.

    Verify that the plugin is indeed working by checking your page source to see that the javascript code is included.

    If not send me a link to the page and I’ll see if I can tell whats up.

  5. menj Comment posted Wednesday, May 10, 2006:

    I checked the page source and the Kontera javascript is indeed not there. The site that Kontera has approved it for is http://www.bismikaallahuma.org.

    Best regards.

    - MENJ

  6. Rodney Comment posted Wednesday, May 10, 2006:

    The problem is your Theme (MW.) The Theme you are using does not contain a call to the wp_footer API hook.

    This plugin utilizes the wp_footer API hook to add the Javascript into the footer. If the API hook call is missing nothing will be added to the page’s footer by the plugin.

    To fix this all you need to do is add the following code to the footer.php file before the <body> tag:<?php do_action('wp_footer'); ?>

    Also make sure both check boxes under “Enable DynamicContext” on the options screen are checked.

  7. menj Comment posted Wednesday, May 10, 2006:

    I’ve added the code and now it works! Thanks.

    - MENJ
    www.menj.org

  8. Mark Comment posted Saturday, October 28, 2006:

    I get the error message “Cannot re-assign $this in /home/.fuchsia/markavey/blog.markavey.com/wp-content/plugins/rjs-dynamicontext.php on line 50″ when trying to activate this.

    Any ideas?

  9. Rodney Comment posted Monday, October 30, 2006:

    The problem is fixed in version 1.2 which you can download now.

  10. Freq--- Comment posted Sunday, November 12, 2006:

    Hello Rodney,

    I am trying to run your plugin on a WPMU (bloghosting) powered site.

    For some reason the tag-line linking to your site is getting inserted but the Kontera code itself is not.

    Any suggestions?

  11. Rodney Comment posted Tuesday, November 14, 2006:

    This may sound basic but have you put the javascript code snippet into the options and enabled the two check boxes?

  12. Gary Speer Comment posted Wednesday, February 21, 2007:

    I’m trying to get Kontera to display on my site using your plugin.

    It won’t show under the theme I’m using, however, I tried to add the code you’ve suggested above.

    Now the Kontera ads show in individual posts, and on individual pages, but NOT on my Home page?

    The Kontera support people told me they don’t support WordPress currently, and gave me the URL of this page for help.

    Oh, yeah. The theme I’m using, “Newsportal,” doesn’t appear to have a body tag in the footer for me to place your suggested code, so I’m not sure I’m getting it placed right.

    Thanks for any help you might give me!

  13. Rodney Comment posted Wednesday, February 21, 2007:

    It doesn’t sound like you added the code in the wrong place. With the “Newsportal” theme you need to add the

    < ?php do_action('wp_footer'); ?>

    code to the end of the footer.php file.

  14. Gary Speer Comment posted Wednesday, February 21, 2007:

    Thanks, Rodney.

    I have the Kontera code working on all except the Home page, it seems.

    It’ll show up on individual posts, and on the posts when I click on a category on the left-hand column. It’ll show up when I open the “About” page — but it doesn’t show up when I simply go to the Home page.

    Is there something about the Kontera ads that won’t show up unless I read individual posts, do you know?

    Or is there something I’m not doing right with your plugin?

    Thanks.

  15. Rodney Comment posted Wednesday, February 21, 2007:

    Looking at you page the problem seems not to be with the plugin as it is adding the Kontera code to your home page. It should work as it does on my own personal pages.

    I don’t like to point finger but at this point I would suggest contacting Kontera and ask them if they know what might be causing the issue as their code is being included on the page correctly.

  16. Gary Speer Comment posted Saturday, February 24, 2007:

    Hi,

    I sent you email explaining that my problem getting Kontera to show on my blog is somehow related to Firefox.

    I have the ads show perfectly in IE 6 and 7. But no matter what I try, I can’t get the theme to show Kontera anywhere in the Terrafirma 3 theme if I’m using Firefox.

    I look at the source of the page and it shows your kontera plugin working, but still the ads won’t show up.

    HOWEVER — the ads show up perfectly in Firefox AND IE 6 and 7 on WordPress blogs where I’m using it with different themes.

    Ugh! I don’t know what to do?

    Gary Speer

  17. Kevin Comment posted Tuesday, March 6, 2007:

    I have installed the plugin and activated it and have inserted the code, but am having a problem of having it to work. It only seems to be working in the about me page. Any help would be appreciated.

  18. Rodney Comment posted Tuesday, March 6, 2007:

    Kevin,
    I believe this is the same problem that Gary had as well.

    This seems to be a problem with Kontera as it is adding the Java script to the bottom of the pages properly. Just that Kontera is having a problem identifying what to link.

    I do have a solution. I’m working on new version of the plugin which allows you to specify that you want the tags included only on content. If does this by utilizing Kontera’s ContentLink Area Placement logic.

    I will send you an email with the beta version.

    Rodney

  19. Mike Comment posted Thursday, March 8, 2007:

    Worked a treat for me, and I am new to all of this Wordpress and PHP stuff. Thanks

  20. Bella Comment posted Wednesday, March 14, 2007:

    Thank You! This plug in has worked brilliantly and made adding Kontera to my Wordpress site a piece of cake.
    Bella

  21. Rodney Comment posted Wednesday, March 14, 2007:

    Gary,

    The new version 2.0. Should do the trick for you.

  22. raj Comment posted Thursday, March 15, 2007:

    Hi,

    I am using http://zed1.com/journalized/themes/journalized-sand/ theme after enable the plugin i am not seeing any ads.I have looked for footer.php but i couldn’t find this file what i have to do now

    Thanks for your help

  23. Rodney Comment posted Thursday, March 15, 2007:

    raj,
    What is URL to your site? As that will allow me to take a look to see that if the script is being added.

    If you are using the latest version of Journalized Sand it should be fine.

  24. Eliot Comment posted Monday, March 26, 2007:

    What the plug in realy do
    what is the diffrent then just placing their code as i did in the past

  25. Rodney Comment posted Monday, March 26, 2007:

    Eliot,
    The main difference is that it is unnecessary to edit your theme to add the code (assuming that your theme is written correctly and has the necessary support.) You can also control the location of the ContentLinks via automated tags being added to your content.

    This Plugin also has a feature for revenue sharing for MU Blogs.

  26. Ray Comment posted Wednesday, April 18, 2007:

    I am getting the following error when I go into the options for this plugin:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.eros/pnwimage/pnwimages.com/ps/wp-content/plugins/rjs-pluginlib.php on line 150

    Warning: file_get_contents(http://www.shupe.ca/downloads/plugins/rjs-dynamicontext.phps) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/.eros/pnwimage/pnwimages.com/ps/wp-content/plugins/rjs-pluginlib.php on line 150

    I still get the options to show up though.

    My site is www.pnwimages.com

  27. Rodney Comment posted Wednesday, April 18, 2007:

    Ray,
    This problem is due to a setting in your php.ini file. When loading the options page the plugin checks for any version updates. To do this it uses the php function file_get_contents. Some hosting companies have this disabled, but if you have control over your php.ini file you could add a line to set the directive allow_url_fopen to on.

    Since not everyone can do this I have updated the file to recognize this situation and use and alternate method. You can down load this update from the link above.

  28. pcmac Comment posted Thursday, April 19, 2007:

    somebody has an example in particular and that works?

  29. Anuj Seth Comment posted Friday, April 27, 2007:

    Good plugin. Thanks!

  30. The Best Wordpress Plugins Pingback posted Saturday, July 28, 2007:

    […] Kontera ContentLinks MIVA Plugin - The simple way to get your ads working. Author : Rodney Shupe […]

  31. The Best Wordpress Plugins Pingback posted Saturday, July 28, 2007:

    […] Kontera ContentLinks MIVA Plugin - The simple way to get your ads working. Author : Rodney Shupe […]

  32. Drikus Botha Comment posted Monday, July 30, 2007:

    The kontera 2.3 version works fine in firefox but In Internet Explorer6 the browser stop responding when I open my website. When I turn of the kontera plugin the Internet Explorer6 browser works fine.

    Please help.

  33. Rodney Comment posted Monday, July 30, 2007:

    Drikus,
    This issue is not likely caused by the plugin but rather by the JavaScript entered into the configuration screen.

  34. Philip Comment posted Tuesday, July 31, 2007:

    Dear Rodney:

    I’ve added the at the bottom of my footer.php but nothing happens. The miva ads don’t show up. Could you please run over my site www.enginestartbutton.org and see where i went wrong? Thanks a million!

    Philip

  35. Rodney Comment posted Tuesday, July 31, 2007:

    Philip,
    I just looked over your site and I am seeing your ads. The MIVA JavaScript was added correctly and all seems to be working.

  36. Philip Comment posted Tuesday, July 31, 2007:

    Thanks mate!

  37. ad placement Comment posted Friday, May 8, 2009:

    This site is a wonderful advertising tool.

  38. Henry Comment posted Thursday, July 16, 2009:

    Hi,

    I have installed this plugin on my WPMU installation.
    The kontera code is being inserted fine on the root blog, but all the other blogs have no kontera code on them.

    Why would this be?
    To take a look yourself, the url is www.blognuno.com

    Kind Regards,
    Henry

  39. DONOVANSelena Comment posted Friday, March 12, 2010:

    People in the world receive the business loans from different banks, because that’s easy and fast.

Leave a comment

 
Rodney's 404 Handler Plugin plugged in.
Rodney's Adsense-Deluxe Add ons plugged in.
Rodney's Bread Crumbs plugged in.
Rodney's Edupage Email Import plugged in.
Rodney's Hierarchy for shupe.ca plugged in.
Rodney's Meta Tags plugged in.
Rodney's Most Recent plugged in.
Rodney's Permalink Override plugged in.
Rodney's Widget for the FAlbum. plugged in.
Using Yaletown Theme for Wordpress.