Cauta pe Blog
Colaboratori
  • AAparut.Ro – Revista pentru femei
  • ClickMe.Ro – Socializare online
  • eTester.Ro – Bookmarking
  • Revista Online
  • Servicii Reclama
Legaturi
Sondaje

Ce sistem politic s-ar potrivi mai bine Romaniei?

Vezi Rezultatul

Loading ... Loading ...

WordPress Traffic Counter Widget



Description: Counts the (unique) visitors / visits of your blog, and shows the traffic information on a widget.

License:
- You may use the code any way you wish under the terms of GNU General Public License
- If you enjoy it, and find it useful please donete 2 Euro here: http://www.pixme.org/wp-content/uploads/widget-traffic-counter/

Plugin Name: Traffic Counter Widget Plugin
URI: http://www.pixme.org/wp-content/uploads/widget-traffic-counter/
Author: Bogdan Nicolaescu
Version: 1
Author URI: http://www.pixme.org/

Since WordPress 2.8
PHP Version: 5.2.9
MySql Version: 5.0.91-community

Installation:

- Download Traffic Counter Widget zip file from here:  http://wordpress.org/extend/plugins/traffic-counter-widget/
- Upload it to your plugin directory: i.e. http://www.youtblog.com/wp-content/plugins/
- Unzip it
- Go to Admin Panel -> Plugins
- Activate Traffic Counter Widget
- Go to Admin Panel -> Widgets and add the Traffic Counter Widgets to one of your blog sidebars

Wordpress Traffic Counter Widget

Wordpress Traffic Counter Widget

Pe aceeasi tema:

  1. Un superblog!
  2. Admin My Posts
  3. Google Reader si WordPress “saboteaza” blogul lui Nastase
  4. Cata precizie…
  5. O lume fara Romania
  6. Poze de caini si pisici
  7. Cum sa fii emo

43 Raspunsuri la “WordPress Traffic Counter Widget”

  • Rob spune:

    Thanks for the great widget. works very well, your great!!

  • The Architect spune:

    Widget cannot be downloaded directly from this blog! Please use: http://wordpress.org/extend/plugins/traffic-counter-widget/

  • The Architect spune:

    Version 1.0.1 – Integer number format on the widget according to blog’s locale

  • The Architect spune:

    Version 1.0.2 – some bug fixing

  • The Architect spune:

    Version 1.1.0:

    - Automatic log deletion
    - Robots filter

  • The Architect spune:

    Traffic Counter Widget made over 1.000 downloads in it’s first week of existence.

  • Andy spune:

    Is it counting visitors og pageviews? It look like it counts pageviews?

  • The Architect spune:

    Currently it counts the page views, but I’m already working on the next version witch will give you more options… like counting unique IPs / registered users logins and visits…

  • Gereon Breuer spune:

    I need some help to optimize the counter. I would like to count not the visitors, but the hits. Could you tell me please how it works?

  • The Architect spune:

    Gereon – this feature is a very simple one. The widget actully logs all the necessary data needed to show the hits count but I don’t show it just yet. The next version will give you more control on what you want to show… and the hits number will be one of this options…

    Meanwhile, if you don’t want to wait, and you have some php / wordpress api knowledge, in the code there’s something like:

    select count (*) from wp_wtc_log where time > ….
    and replace it with
    select count (distinct ip) from wp_wtc_log where time > …

    you also need to take care of the automatic traffic filter, so in the where clause you have to use something like IS_BOT = 0…

  • The Architect spune:

    the new version (2.0.0) is coming up soon… it includes:

    - hits stats
    - unique visitor stats

    … you can check out the development version on http://www.etester.ro/blog-director

    Problems I have to fix / features I have to implement:

    - second ajax call on IE fails
    - hits stats query method with DB update: not yet implemented
    - dynamic JavaScript to be implemented… ajax requests should consider the actual blog URL

    The automatic traffic filter is giving me loads of trouble… I will have to find a better solution to filter out the robots / crawlers / spiders etc. Anyway, this feature will probably be available beginning with the following version (like 2.1.0)…

  • abu spune:

    tanks hehehehe

  • The Architect spune:

    version 2.0.0 is up

    Automatic traffic filter doesn’t work very well… spiders / crawlers etc. make heavy traffic even on the most unsignificant site… they do not authenticate as robots and don’t care about robots .txt. This makes filtering automatic traffic a very difficult job…

  • The Architect spune:

    version 2.0.1 – you can now chose to remove the link below the stats… update required by WordPress licensing rules…

    However, if you find the plugin useful and haven’t made a donation, please keep the admin box checked…

  • John spune:

    Hi, I use it on my wordpress site(version 3.2.1), but there isnt settings. I cant change the labels.

  • The Architect spune:

    hi John – the plugin does not have any settings page. However, all the labels can be changed on the ‘wigets’ page.

    From Admin panel go to:

    Appearence -> Widgets

    Find Traffic Counter Widget on your sidebar, open it, change labels and click save…

  • The Architect spune:

    There is an acceptable solution to filter out most of the automatic traffic… but it’s a bit complicated…

    It would require blog admin to create a robots.php file in the root directory of the bog containing the following code:


    < ?php
    session_start();
    $_SESSION['wtcrobot'] = 1;
    echo file_get_contents('robots.txt');
    exit;
    ?>

    Then to edit .htaccess file in the same directory and add:

    RewriteRule robots\.txt robots.php

    Also, make sure
    RewriteEngine On
    clause is present in .htaccess…

    With this new feature, the robots accessing robots.txt file will be filtered out!

  • Hi

    Great plug in. One problem. It shows hits data but above that data I get
    Pages
    l
    Hits
    l

    How can I get rid of these.If I delete ‘pages’ and ‘hits’ in the widget and save. They just come back

    If I can sort this out, I will be happy to donate

    Thakns

  • The Architect spune:

    Hi Russell,

    I have absolutely no control over how the Theme shows the widget. This is one of the things I was very careful with, I didn’t want to hard code anything but let the WordPress Theme each blog uses, handle how the widget should be visualized.

    For some reason your theme “Shades of Gray by w3wizards” shows inline menus vertically instead of horizontally… I will check this out when I have some time, but I haven’t seen this behavior yet… Must be some css class override thing with this theme…

    However, the widget should look like it does on this blog… bottom right…

  • Crystal spune:

    hi,
    when I try to activate this widget this is what I get:

    Fatal error: Cannot redeclare is_bot() (previously declared in /home/eatsleep/public_html/wp-content/plugins/ad-buttons/adbuttons.php:72) in /home/eatsleep/public_html/wp-content/plugins/traffic-counter-widget/wp-traffic-counter-widget.php on line 222

    Can someone please help?

Comenteaza

*
Legaturi