Jump to content

[SOLVED] SMF forum help.


ballhogjoni

Recommended Posts

Hey everyone,

 

I am trying to put the kontera ad code on my forum site, but i don't know where to begin because I have tried to put it in several places but they all don't work. The kontera ad code is just a contextual advertising. It underlines the words twice.

 

this is my code:

 

<script type='text/javascript'>
var dc_AdLinkColor = 'orange' ;
var dc_UnitID = 14 ;
var dc_PublisherID = XXXX ;
var dc_adprod = 'ADL' ;
</script>
<script type='text/javascript' 
src='http://kona.kontera.com/javascript/lib/KonaLibInline.js'>
</script>

Link to comment
Share on other sites

actually it needs to be at the bottom of the page, right before the end body tag. That's not my issue. The issue is what page I would put it in if all pages are php pages. Does anyone know how to work with the SMF forum scripts. This forum is designed using the SMF forum script.

Link to comment
Share on other sites

If it needs to go at the bottom of page source then edit the template called index.template.php

 

and scroll down to line 435:

 

Line 435 should look like this, NOTE: I am referring to the default theme.

</body></html>';

and change it to this:

 

</body></html>
<script type="text/javascript">
var dc_AdLinkColor = \'orange\' ;
var dc_UnitID = 14 ;
var dc_PublisherID = XXXX ;
var dc_adprod = \'ADL\' ;
</script>
<script type="text/javascript" src="http://kona.kontera.com/javascript/lib/KonaLibInline.js"></script>';

 

Your Kona adds should display on every page on your forum.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.