Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2013-04-15 05:07:42
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Front Page Visitors Counter
I’ve searched a lot, but didn’t found any counter plugin which I need, any one please help me
some websites you might see the visitors can see the counter, something like this:
Today: 40
This week: 200
This month: 800
All: 2000
Offline
Re: Front Page Visitors Counter
Hi Ramin,
There was one .. mem_online_users
Not sure if it works with current txp versions.
It uses txp_log table to calculate totals.
This can cause problems on shared hosting if you have a lot of visitors.
Perhaps calculate daily weekly, monthly with the plugin but leave “all” to a visitor counter like statcounter.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Front Page Visitors Counter
Hi Ramin,
The info you see on those websites are generated by stats programs. If you point us to the page you saw that info we might be able to advice you on how you could include them on txp. Each one has their own script so general advice might not produce the desired results
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Front Page Visitors Counter
Serious question: why would visitors be interested in these stats? Sure it was a common sight back in the 1990s but I can see why you’d want to disclose visitor numbers publicly.
The website owner can see proper analytic data by using Google Analytics or a similar service.
Offline
#5 2013-04-29 18:57:33
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: Front Page Visitors Counter
but one of my client requested to have an area to show visitors counter public, before I was using Joomla they have a module we was using that, but now i use textpattern not joomla, wordpress, etc…
I didn’t find any plugin or something solution way for that, if any one please help me.
thanks
Offline
Re: Front Page Visitors Counter
You can use smd_xml and the Piwik API to do this. You create a special URL using Piwik (or theoretically any stats software with an API), containing the stats you need to see. Then you use the URL in smd_xml tags to generate the numbers & text that you need. I did this for a client (actually showing flags of visitors’ nations) and it works pretty well.
Last edited by maruchan (2013-04-29 19:25:51)
Offline
Pages: 1