PDA

View Full Version : Problem with forum source code


tomekgp
12-11-2009, 07:28 AM
Then.
I must insert into my forum source code , code from Gemius Statistics :
<!-- (C) 2000-2009 Gemius SA - gemiusAudience / ver 11.1 / strona_glowna_serwisu-->
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var pp_gemius_identifier ='1vaaqGbwo10StnPGJBxYtnYY.Mf1eZgD_CVNrGBaM43.q7';
//--><!]]>
</script>

I go in admincp to Styles & Templates, edit template footer and then insert code above .
I also tried to edit other templates...

After edit, Gemius didn't work.
In forum source code I see only:
<script type="text/javascript"> <!--//--><![CDATA[//><!]]> </script>

Where is the rest of this code ?
It isn't only problem with this code. I saw that all lines that are commented have problem like that - forum don't showing commented codes. And this is the main question - why ?
Have the same problem with TradeDoubler code must to insert for verify my page...

Lynne
12-11-2009, 02:09 PM
If comments aren't showing in your page source, you probably have some mod installed that takes them out.

Try removing this and this "<!--//--><![CDATA[//>" and "<!]]>" (so you only have "<!--" and "//-->") from your javascript and see if it works.

tomekgp
12-12-2009, 11:44 AM
Don't think that I have mod working like that.
But can you write what mods have this function ?
I will check this.

tomekgp
12-14-2009, 06:48 PM
Any ideas?

Lynne
12-14-2009, 06:58 PM
I don't know what you mean. You posted some code, I suggested a change to it.

tomekgp
12-15-2009, 09:27 PM
Disable function cleaning code in VBSEO helped.
Then solved :)