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
https://forums.phpfreaks.com/topic/44506-solved-smf-forum-help/
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
https://forums.phpfreaks.com/topic/44506-solved-smf-forum-help/#findComment-216164
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
https://forums.phpfreaks.com/topic/44506-solved-smf-forum-help/#findComment-216201
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.