Hello,
I want to place clicksor ads, and when i tryied to do that in index.template.php (where google adsense ads are also placed) it simple give errors!
Do this is problem with clicksor ads code?
Click sor ad type is like whenever it finds appropriate word it give its own link there and that will be counted as ad. Like word "Mobile" is used in a post it will give a link on mobile (ads).
and i want to place it in whole forum!
so where should i put this
Thanks
well it wont work if you put the adcode in index.php
so put it in template.index.php in the directory of the theme you use:
www.yoursite.com/forum/themes/yourtheme/template.index.php (example)
put it there and let me know how it turns out.
ok i will try and tell you the results.......
Lainaus käyttäjältä: Toufique Ahmed - tammikuu 23, 2006, 04:26:59 AP
ok i will try and tell you the results.......
sure! take your time! :)
Dear there is nothing like template.index.php in themes directry. I am using SMF 1.1Rc2, rather then template.index.php there is index.template.php. When i inserted code some where it gives errors!
so tell me where should i put the code
Thanks
Toufique Ahmed
Lainaus käyttäjältä: Toufique Ahmed - tammikuu 25, 2006, 03:29:10 AP
Dear there is nothing like template.index.php in themes directry. I am using SMF 1.1Rc2, rather then template.index.php there is index.template.php. When i inserted code some where it gives errors!
so tell me where should i put the code
Thanks
Toufique Ahmed
sorry for that
put it in the end of the index.template.php file just before the ?>
Lainaus käyttäjältä: Prasad007 - tammikuu 28, 2006, 12:07:50 IP
put it in the end of the index.template.php file just before the ?>
That would not work.
Succeed clicksor ad is working properly i have placed it in index.template.php
the problem was with clicksor ads code
this is orginal code from clicksor
<script type='text/javascript'><!--
clicksor_layer_border_color = '#B4D0DC';
clicksor_layer_ad_bg = '#ECF8FF';
clicksor_layer_ad_link_color = '#0000CC';
clicksor_layer_ad_text_color = '#000000';
clicksor_text_link_bg = '';
clicksor_text_link_color = '#000FFF';
//-->
</script>
<script type='text/javascript' src='http://ads.clicksor.com/clicksor.php?pid=15682&sid=50629'></script>
<noscript><a href='http://www.clicksor.com'>Contextual advertising</a></noscript>
and this i have added (because uper code gives error)
<script type="text/javascript"><!--
clicksor_layer_border_color = "#B4D0DC";
clicksor_layer_ad_bg = "#ECF8FF";
clicksor_layer_ad_link_color = "#0000CC";
clicksor_layer_ad_text_color = "#000000";
clicksor_text_link_bg = "";
clicksor_text_link_color = "#000FFF";
//-->
</script>
<script type="text/javascript" src="http://ads.clicksor.com/clicksor.php?pid=15682&sid=50629"></script>
<noscript><a href="http://www.clicksor.com">Contextual advertising</a></noscript>