How to Install third party counter on my CMSMadeSimple

General project discussion. NOT for help questions.
Post Reply
askme

How to Install third party counter on my CMSMadeSimple

Post by askme »

How can I install third party counter (couter script) to my CMSMadeSimple. I tried pasting couter code in my page but it did not work. Is there any built it couter to count all my visted pages or current online visitor for CMS Made Simple. I have alredy tried Statistics and HitCounter both are not working. I am using CMSMadeSimple 0.11
roman
Forum Members
Forum Members
Posts: 77
Joined: Thu May 12, 2005 9:38 am

Re: How to Install third party counter on my CMSMadeSimple

Post by roman »

In admin panel open Templates -> Your template and here is right place to put counter to by in every page, where you will use this template
westis

Re: How to Install third party counter on my CMSMadeSimple

Post by westis »

askme,

Put the PHP code in a user-defined tag (but leave out as that is automatically added) and then in your template, call this tag like this: {nameoftag}.

There's an updated version of Statistics available any day now if you're ready to wait a few more days.
OlafNoehring
Forum Members
Forum Members
Posts: 78
Joined: Mon Oct 23, 2006 4:43 pm

Re: How to Install third party counter on my CMSMadeSimple

Post by OlafNoehring »

Hi

in my opinion both should work:
- templates: you need to use that template for the page
- global block: if you have different templates I suggest you use this - if you want to change something about the logging etc. you need to change the global content block only.

For a (very good) stats/logging take a look on
http://www.tracewatch.com/
(it's no problem to integrate it woth cmsms - have done it already myself)

Olaf
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to Install third party counter on my CMSMadeSimple

Post by Dr.CSS »

Did you use the same DB as CMSMS?...
User avatar
erpee
Power Poster
Power Poster
Posts: 771
Joined: Sat Jul 07, 2007 9:22 am

Re: How to Install third party counter on my CMSMadeSimple

Post by erpee »

A little late response but it could be helpfull.
Installing tradewatch is simple.

First download all the files you need, create a NEW database an install Tradwatch (using install.php)

Now open index.php in your CMSMS website and add the following code on the end of the page (just before the "?>"):

# start counter code
include_once $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT'].'/twatch_include/logger.php';
# end counter code


Save Index.php and everything should work .... :-\ I hope ... ;D
Waarom zou het direct goed moeten gaan? Dan is alle lol weg ...
Pierre M.

Re: How to Install third party counter on my CMSMadeSimple

Post by Pierre M. »

"It should work" unless your audience is privacy aware like me using Firefox plugins NoScript and AdBlock.
Pierre M.
User avatar
erpee
Power Poster
Power Poster
Posts: 771
Joined: Sat Jul 07, 2007 9:22 am

Re: How to Install third party counter on my CMSMadeSimple

Post by erpee »

do you know another way that your visit will be counted?
Waarom zou het direct goed moeten gaan? Dan is alle lol weg ...
cubix
Power Poster
Power Poster
Posts: 314
Joined: Mon Jul 09, 2007 10:00 am

Re: How to Install third party counter on my CMSMadeSimple

Post by cubix »

google analytics? or any other tracker thru a UDT?
Post Reply

Return to “General Discussion”