Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: paranoia - kesäkuu 06, 2007, 06:30:08 AP

Otsikko: help whit kontera
Kirjoitti: paranoia - kesäkuu 06, 2007, 06:30:08 AP
hi ppl i just made an account at kontera ..
and i whant to know where i must to pput this script..  to work coretcly...
<script type="text/javascript">
var dc_UnitID = 14;
var dc_PublisherID = 15092;
var dc_AdLinkColor = 'blue';
var dc_isBoldActive= 'no';
var dc_adprod='ADL';
</script>
<script type="text/javascript"
SRC="http://kona.kontera.com/javascript/lib/KonaLibInline.js"></script>


i am noob...
pls tel me...
Otsikko: Re: help whit kontera
Kirjoitti: Sarge - kesäkuu 07, 2007, 01:03:00 IP
Have you used the SEARCH button with the word kontera?

A possible solution:
http://www.simplemachines.org/community/index.php?topic=173707.msg1110784#msg1110784
Otsikko: Re: help whit kontera
Kirjoitti: paranoia - kesäkuu 08, 2007, 06:25:32 AP
yes i used de the SEARCH button ... but no help :(
Otsikko: Re: help whit kontera
Kirjoitti: Sarge - kesäkuu 08, 2007, 06:33:30 AP
Lainaus käyttäjältä: paranoia - kesäkuu 08, 2007, 06:25:32 AP
yes i used de the SEARCH button ... but no help :(

As I said above, if you have TinyPortal installed, you can try this:
http://www.simplemachines.org/community/index.php?topic=173707.msg1110784#msg1110784

Otsikko: Re: help whit kontera
Kirjoitti: nursemd - heinäkuu 24, 2007, 01:58:51 IP
Hello.

Don't know if you still need help with this, but will give you the information anyway.

Just got my new forum nursediaspora.com (http://nursediaspora.com) approved by kontera and I had a problem on where to put the script they provided and when I did add it I got a template parse error.

I finally discovered a fix and made the simple adjustment and now it's working.

<script type="text/javascript">
var dc_UnitID = 14;
var dc_PublisherID = 15092;
var dc_AdLinkColor = 'blue';    change 'blue' to "blue"
var dc_isBoldActive= 'no';       change 'no' to "no"
var dc_adprod='ADL';             change 'ADL' to "ADL"
</script>
<script type="text/javascript"
SRC="http://kona.kontera.com/javascript/lib/KonaLibInline.js"></script>

Hope that helps.   :)
Otsikko: Re: help whit kontera
Kirjoitti: swytch - kesäkuu 09, 2008, 08:20:27 IP
I actually had to replace each ' with a " in the kontera code in order for it to work..but it did!   :D
Thanks for the info!
Otsikko: Re: help whit kontera
Kirjoitti: vbgamer45 - kesäkuu 09, 2008, 11:04:10 IP
For future reference if you post that code in smf template you most likely will need to escape the ' with \  so it would be \' in order to function.