Counter Code

Sally Kirtomy Posted in Technical Support 1 decade ago

Hi,

I would like to add a counter code (http://statcounter.com) to my forum. There are many ways to enter the code, the most simple way is to add a html-code like:
<a title="web analytics" href="http://statcounter.com/"
target="_blank"><img
src="http://c.statcounter.com/xxxxxx/0/xxxxxxx/1/"
alt="web analytics" style="border:none;"></a>

Any idea where to implement such code?

Thanks
Sally

Replies
German Sally Kirtomy Replied 1 decade ago

Yeah! Thank you Syed!

Indonesian Arsalan Shah Replied 1 decade ago

The file is moved to themes.default/plugins/default/theme/page/page.php

German Sally Kirtomy Replied 1 decade ago

Statcounter Code does not work on V 3.0

In Version 2.2 a counter code was installed in themes/default/page/page.php

In Version 3.0 there is not such directory /page in the default theme.
So I changed to ossnblack and inserted the code into the page.php

But that does not work....

Do you have any idea?

Kind regards
Sally

German Sally Kirtomy Replied 1 decade ago

The problem still was there.

So I updated to 2.3 and the problem was solved. Wow!

Kind regards
Sally K.

German Sally Kirtomy Replied 1 decade ago

Indeed.... Ok, I just have changed it into forwarding without masking.
Let's wait now until the changes become effective...

Thanks,
Sally K.

German Michael Zülsdorff Replied 1 decade ago

A possible reason for your logout problem could be that you're running OSSN from within a frameset and the real url is http://sweetnet.org/ossn

Why don't you make your url point directly to the installation?
Framesets are a little out of time and these kind of redirects are better managed via .htaccess

German Sally Kirtomy Replied 1 decade ago

Could you find anything?

thanks,
Sally

German Sally Kirtomy Replied 1 decade ago

The URL is femblog.us

Regards
Sally K.

Indonesian Arsalan Shah Replied 1 decade ago

Let us know your site url on our contact page, we'll check it

German Sally Kirtomy Replied 1 decade ago

Thanks Syed, but this was not the problem.

I de-installed the counter but the problem was still there:

"The action you requested was invalid" - no log off possible.

Also the menu-button for Administrator disappeared. I have to add manually /administrator to the URL. In the Admin-site the logoff then works.

Regards
Sally K.