Views Counter

Views Counter (VC) is a small plugin for WordPress that helps you to easily track how many times your post page was viewed and by what quantity of visitors.

You can see it in action at this blog right under every post:

VC_example

It’s very flexible and you can tune it easily. No more words, but instructions.

Hooray! Hooray! Views Counter v. 0.10 by Cryonyx is available now. Download →

Attention: Please, read carefully migration instruction and release notes for this version of VC if you are upgrading from previous ones!

Installation

  • Download ZIP archive of the latest version;
  • Unpack it on your computer;
  • Upload folder ‘vc‘ to your plugins directory (usually situated in /wp-content/plugins);
  • Turn VC on at your ‘Plugins’ page
  • Tune it and enjoy :)

A couple of words about upgrading VC from version 0.0x to 0.1x:

  • Deactivate VC at plugins page
  • Backup table “<table_prefix>views_counter”
  • Remove viewscounter.php and folder “vc” from your plugins directory
  • Unzip this archive and place folder “vc” to your plugins directory
  • Activate VC at plugins page

That’s all about installation. Let’s go for…

Tuning

At the ‘Options’ page go to the ‘Views Counter‘ subpage. There you can set up most common options of the plugin. Tweaking of VC could be performed through the usage of vc_get_stats function, but about this a bit more later.

General options

  • Do you want statistics to be displayed at your weblog?
    This option determines whether you use standard mechanism of inserting VC’s code into the page or much advanced, with the usage of vc_get_stats. If a standard approach is being used, then VC inserts its statistics’ string directly below the content of every post.
    Important: No matter what method you use, VC will register every visitor until being turned off at the ‘Plugins’ page. This option only helps you to tweak the output of VC.
  • Should I also display and track views of posts on the main page?
    This one lets you to display statistics not only at post’s single pages, but at the main one, too, just below the excerpts of posts (this way I do at my own blog).
  • May I place the small logo icon at the beginning of the line to thank the author of the plugin?
    If you want to support this project, please turn this option on and just in the beginning of every VC’s statistic line you’ll see a small pretty arrow – logo icon of VC (see it in the picture above). Also you if you use VC you may email a link to your weblog and I place it in a page of VC’s users ))

Text parsing options

In this section you can define how the VC’s statistic line will be displayed. Normally, the line consists of the following elements:

  • Beginning
  • Views counter
  • Views counter’s text
  • Prepositions
  • Visitors counter
  • Visitors counter’s text

You can see it in the image below:

VC_example

Of course, some elements may be omitted in settngs. It depends on the language. E.g., in English, we have to place a preposition ‘by’, but in Russian there won’t be any preposition. That’s why you may leave nearly all the fields in this section of options empty.

Additional options

In this section some additional options are listed.

  • Display stats on posts’ management page
    This option determines whether additional column at the posts’ management page is displayed. See example:
    VC v.0.04 New Feature

    The header of the column is a direct hyperlink to this option (at VC’s options page), so you can change its behavior in three clicks. Numbers shown in the column are views/visitors counters. Roll the mouse pointer over it, and you can see the hint describing figures in human language :)
    Important! This feature uses specifical hooks of WP 2.0.4. Maybe they’re present in previous versions, but I don’t know exactly, so it may not work on WP with version below the 2.0.
  • Command line (cmd>)
    This feature introduced in VC v. 0.10 was designed for providing a number of ‘special’ features in VC. By the moment following commands are available:

    • -place
      If you are not using vc_get_stats() function, then this command will let you choose, where VC’s text is to be placed – before or after the content of the post. Only two values are available: top and bottom. Examples:
      -place=top
      -place=bottom
    • -debug
      This command is linked with logger functionality introduced in VC v. 0.10. If you feel that VC does not work correctly, then you just write:
      -debug=on
      After that all the important operations performed by VC will be logged to file ‘vc.log’ placed in ‘vc’ directory. But be careful! If you have popular blog, this file can grow rather fast (e.g., after I had run through all the posts of my blog one time, I’d got log file of 1.3MB).

    Of course, commands can be put together, but in this case they must be separated with one space. Example:
    -place=top -debug=on

Tweaking

This section if for those who are able to write a WP-Theme by themselves or at least make corrections to the existing one. The talk is about the vc_get_stats function. The declaration of it is as following:
function vc_get_stats(
$text_before = 'Viewed',
$human_count_text = 'times',
$human_ct_function = NULL,
$preposition = 'by',
$human_viewers_text = 'visitors',
$human_vt_function = NULL,
$with_icon = 0
)

As you can see, many of the parameters are optional. But I strongly recommend you to set your own values for them. Let’s walk around them and explain what thay mean.

  • $text_before – corresponds to the ‘beginning‘ in the above mentioned scheme of statistic line.
  • $human_count_text – corresponds to the ‘views counter’s text‘. Important: sets only one caption for all possible values of counter. To change this you may use the following parameter.
  • $human_ct_function – lets you to assign your own handler to the views counter. In many languages to different numbers correspond different words, e.g., 1 view, but 7 views. Through this param you should pass the name of your function, which has the following format:
    function your_handler( $the_number_of_views )
  • $preposition – think there’s no need to explain.
  • $human_viewers_text and $human_vt_function – the same situation as with $human_count_text and $human_ct_function.
  • $with_icon – you should pass ’1′ for to display the logo icon and help the project, or something else or just leave is empty for not to display. Note: you can place the logo in any place by calling the vc_get_icon function, which has no params to pass to.

Well, this is all. No so difficult, yeah? :) I have a lot of plans for developing this small project, so check this page regularly.

Important notes

  • VC uses its own table in database called ‘table_prefixvc_data’ (depends on system settings. E.g., on my blog this one is ‘wp_vc_data‘). It consists of two columns: posts’s id and compressed statistical data (it can be easily deciphered, as it has following format: [Number_Of_Views_in_HEX]/[IP1_in_HEX]/…/[IPn_in_HEX]). If your weblog is popular, please take care that you have enough diskspace on server to keep the database.
  • VC is developed under GNU GPL license, so you can help me to improve it. But, please, inform me if you want to do something rather great with VC, because it may be non-compatible with the newer version of VC.

Notes on releases

  • VC v.0.10
    Second stable version.
    Code was fully rewritten and optimized. Now it runs pretty faster (after all the posts’ statistics has converted to new format).
    Attention! VC v.0.10 uses PHP 5 objects, so it won’t work at any older version of PHP (e.g., PHP 4.*).
    New functionality:

    • Logging of main operations performed by VC (optional);
    • Command line at options page
    • Compression of statistical data (now it is stored in table <table_prefix>vc_data – be careful!)

    Update notes: See above.
    Bug fixed: Wrong link at manage posts’ page.
    Important note: Please pay attention that your statistical data is converted to new format only if the post it is linked to is viewed by anybody. That means you’d better run through all of your posts for convert the data or wait until I write special conversion patch for VC.

    Archive

  • VC v.0.07
    Bug fixed: annoying notification of plugin deactivation removed.
    Update notes: no. Just copy contents of the archive to the plugins directory, replacing old files.

    Archive

  • VC v.0.06
    Critical! This version of VC is marked as critical for update. Some significant changes were made to VC v.0.05.
    Bug fixed: Previous versions of VC didn’t work correctly when vc_get_stats function was used.
    Update notes: copy contents of the archive to the plugins directory, replacing old files. If you want use VC through vc_get_stats function, be sure you have the correspondent option enabled like this:

    VC_example

    Archive
  • VC v.0.05
    Critical! This version of VC is marked as critical for update. Some significant changes were made to VC v.0.04.
    Bug fixed: there was a bug linked to displaying stats for non-viewed posts.
    Structure changes: VC was optimized and separated into several files for to ease developing and using of it.
    Update notes: no. Just copy contents of the archive to the plugins directory, replacing old files.
    Archive
  • VC v.0.04
    New feature: Information about views’ and visitors’ counters added to the posts’ management page.
    Important! Tested only on WP 2.0.4 and uses some hooks that may be not present in previous versions.
    Update notes: no. Just copy contents of the archive to the plugins directory, replacing old files.
    Archive
  • VC v.0.03
    Bug fixed: now visits of the posts’ author are not taken into account. (Only if the author is logged in! :) )
    Update notes: no. Just copy contents of the archive to the plugins directory, replacing old files.
    Archive
  • VC v.0.02
    First stable version of VC.
    Archive

Views Counter v.0.10 Viewed 46103 times by 18668 viewers

Комментариев: 79

  1. John Says:

    i get this error when i activate it. whaaaahaaapend

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/chirpthi/public_html/wp-content/plugins/vc/vc.class.php on line 9

  2. cryonyx Says:

    What version of VC do you use?
    What version of PHP is installed on your server?

  3. Kim Says:

    I got the same error.. i am runing php 4.4.4 and the newest version of wordpress 2.1.2

  4. cryonyx Says:

    Please pay attention that VC 0.10 works only with PHP 5 and higher. If you use an older version, you should choose VC 0.07

  5. Kim Says:

    I found out about that later and imm glad it works ^^

  6. cryonyx Says:

    That’s good :)

  7. Guilherme Zuhlke O'Connor Says:

    This is a very nice plugin, thanks.

  8. cryonyx Says:

    Thank you for using it :[

  9. aaron Says:

    thanks heaps for making this plugin! :D

  10. Manne Says:

    Hello, I’d like to know how this plugin handles logged in users? Will visits from different users that come from the same IP show up as unique visits?

  11. cryonyx Says:

    Manne, by the moment it just excludes these users from statistics, but if you want, I can add the functionality of separate tracking of different types of users

  12. Jeroen Says:

    Thanks for this great plug-in! One question though:

    When I want to use the vc_get_stats function (reason: private stats), in which theme file should I include the function?

  13. cryonyx Says:

    On my blog it is just included in the Loop of posts in index.php file of theme…

  14. Нариман Says:

    Привет в версии 2.2 плагин вызывает фатальную о?ибку.

  15. cryonyx Says:

    Привет!
    Обязательно проверю на этих выходных. Я ещё просто не ставил версию 2.2.

    Спасибо за сообщение!

  16. Rich Says:

    I liked this plugin the best. I used it but then I upgraded my blog and when I try to activate the plugin, i get “Plugin could not be activated because it triggered a fatal error.”

    Before upgrading my blog I deactivated the plugin and backed up my tables.

    Any ideas? Thanks

  17. cryonyx Says:

    sunnyt
    VC doesn’t count administrators’ views of the post. Try to log off the WordPress and reload the page with your posts.

    Rich
    Hmm. This new WordPress functionality is a complete headache :) I tested VC 0.10 on WP 2.2 at my local server, but everything worked fine. Could you please provide me with information on your configuration?

  18. Rich Says:

    I was debating whether or not to do the upgrade, but since I had some time off I went for it. I think it may be with the tables in the database or a permissions issue. I am using WP 2.2 with mySQL 4. I upgraded the blog template to use the K2 code. I have it working with my other blog no problems (blog.800hightech.com) and found this to be a very easy but powerful installation the first time around.

    I’ll tinker with it on Sunday and see if I can get it working. Maybe it is a conflict with another plugin I have installed. Thanks for the quick response!

  19. Dave Says:

    Hi, I’m getting the same fatal error as rich.. I’m using wordpress 2.2.

  20. PS Says:

    Great plugin. I would however, like the counter to show at the bottom of the page. Just like how the counter is set for every post, I’d like just one for the page. Help?

  21. cryonyx Says:

    Dave
    In WP 2.2 initial run of VC is somewhy rather problematic and it is quite difficult to catch the error… I haven’t installed WP on my own site yet, but promise to do it as soon as possible and debug the plugin.

    PS
    What page do you mean? Home? Or the substance that WP calls “page” (like the one you stay at at the moment)? If the former, then I’m afraid the answer is “no”, because statistics is gathered on the basis of posts’ identifiers, and the home page, as you understand, doesn’t have such ID.

  22. ent Says:

    Hi,

    I have tried the plugin today, php v5.2.4 and wordpress v2.0.10.

    I think it is not working properly. With the option Do you want statistics to be displayed at your weblog? set to no (to gather statistics the first day) and seeing the stats in the Manage/Posts menu, my first 7 posts have 1/1 the rests are N/A. This is really strange, because I received visited today to some of my posts.

    After 10 hours of testing, the numbers stay the same…

  23. ent Says:

    Some lines from the log that may be are a clue:


    [21:40:12, 11.09.2007] [DEBUG] increase(): Increasing counter
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking that it is the main page and we permitted to count it
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking post ID
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking that we are permitted to count views and that the content exists
    [21:40:12, 11.09.2007] [DEBUG] increase(): Increasing counter
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking that it is the main page and we permitted to count it
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking post ID
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking that we are permitted to count views and that the content exists
    [21:40:12, 11.09.2007] [DEBUG] increase(): Increasing counter
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking that it is the main page and we permitted to count it
    [21:40:12, 11.09.2007] [DEBUG] increase(): Checking post ID

    [21:42:21, 11.09.2007] [DEBUG] getStats(): Consts:
    NEW_TYPE_STATS=0
    OLD_TYPE_STATS=1
    [21:42:21, 11.09.2007] [DEBUG] getStats(): Got data in old format:

    [21:42:21, 11.09.2007] [DEBUG] getStats(): Getting data from DB
    [21:42:21, 11.09.2007] [DEBUG] getStats(): Got stats in raw format:
    Array
    (
    [0] => 0
    [1] => 01/452E1453
    )

    [21:42:21, 11.09.2007] [DEBUG] getStats(): Consts:
    NEW_TYPE_STATS=0
    OLD_TYPE_STATS=1
    [21:42:21, 11.09.2007] [DEBUG] getStats(): Got data in new format:
    Array
    (
    [0] => 1
    [1] => 1
    )

  24. cryonyx Says:

    Hi Ent,

    I will look it up on holidays. Unfortunately, nearest two days I’m completely busy and even don’t have time to sleep :) I think it will be something like VC 0.11 especially for WP 2.x, cus, as I think, there are some peculiarities that prevent the plugin to work correctly…

    Anyway, thanx for your comment, I’ll check it up.

  25. ent Says:

    :) Thanks, I will be waiting for your review.

  26. cryonyx Says:

    ent

    I’ve revised VC 0.10 and found several bugs in the logics of the plugin. I even wonder how it is working on my WordPress :)

    Thus it is quite difficult and time-consuming to fix this in the current modification. Truly saying, it is easier now to grow new VC :) It will be not for WordPress only, but easy integrating into any site using PHP. Moreover I plan to rewrite its API for to make it more usable for developers and owners of sites. That’s it :)

    Comments? Improvements? Wishes?

  27. cryonyx Says:

    By the way, development can be monitored at Google Code’s repo

  28. tim Says:

    Hello, I really like this plugin. Since my server is running PHP4, I use the vc.0.07 version. I write a post about this plugin on http://tim.diary.tw/2007/09/28/wp-counter-vc/, and the function get_stats($id) can be improved in only one statement:
    return $wpdb->get_row(“SELECT sum(views),COUNT(*) FROM ” . $table_prefix . “views_counter WHERE (id=’$id’)”,ARRAY_N);
    And I also tune some code to let the plugin more efficient and I put the code on http://tim.diary.tw/files/2007/09/viewscounter-modified.zip , and if you accept these change, you can merge them into your next version to get the plugin powerful. Really thanks for your plugin.

  29. cryonyx Says:

    Hello, Tim :)
    I’m very pleased to see that someone else is interested in developing VC. As you know, I finished developing VC branch for PHP 4 as I have no place where to test it and switched to developing completely object-oriented plugin. But with your help we can now support plugin for PHP 4.

    If you want, I can include you in the project on Google’s repo, but you need a Gmail account to do this. Write me if you’re interested in it.

    P.S. I’ll place your version of VC to repo a bit later, now I have to go :)

  30. Antonio Says:

    Great plugin, I have only one question, how can I show only the number of views and not the visitors?
    The tweaking part is confusing for me, by the way I have to use vc.0.07.

    Thank you.

  31. webringnet.com Says:

    i got this error

    WordPress database error: [Table 'webring_wrdp1.wp_views_counter' doesn't exist]
    SELECT views FROM wp_views_counter WHERE (id=’67′)

    WordPress database error: [Table 'webring_wrdp1.wp_views_counter' doesn't exist]
    SELECT COUNT(*) FROM wp_views_counter WHERE (id=’67′)
    N/A

    i use vc 0.07

  32. cryonyx Says:

    This means that somewhy database table was not created at the moment of intallation of VC. Try turning VC on and off at “Plugins” page. This may help. If not, you’ll have to run a MySQL installation script manually.

  33. webringnet.com Says:

    i can’t see installation script on my sever, where should find it?
    i just see ‘create database’ and not ‘create table’

  34. ______ Says:

    Im considering installing this add on my Blog_

    http://footu.blogspot.com

  35. cryonyx Says:

    Footu
    Sorry, but VC can be installed only on WordPress CMS.

  36. cryonyx Says:

    webringnet.com
    You should do the following:

    1. Remove older version of VC from wp-plugins
    2. Download VC 0.071 from this page: http://code.google.com/p/views-counter/
    3. Try activating it on your “Plugins” page
    4. If VC doesn’t work, check your database: usually its table is named “wp_views_counter”
    5. If table does not exist, deactivate the plugin and run the script below:
      CREATE TABLE <your_wordpress_table_prefix>views_counter (
      
        id INT(11) NOT NULL,
      
        ip VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
      
        views INT(11) NOT NULL
      
      );
    6. Activate plugin
  37. webringnet.com Says:

    thanks cryonyx, finaly i made it,i create the table manually via phpmyadmin

  38. pavel Says:

    I am in the process of hiring writers for my blog network, whom I would like to pay by visit counts on their posts (ie 1000 views = $2, like gizmodo/gawker media pays to it’s writers). It is important for me to have a full-proof view counting system so that the view-count cannot be artificially inflated to get paid more.

    Presently I am using a hacked version of the script/plugin “Daily Top 10 Posts”, available here: http://www.alleba.com/blog/2007/03/27/wordpress-plugin-daily-top-10-posts/

    This does the job by tracking views per posts. And it seems preety tamper proof, as it counts per session and reloading your browser wont add a view count to the total.

    What a need is a “view count” –> “author” –> “posts from last 30 days”. Which boils down to “view counts of a single author’s posts made in last 30 days”. I can do it manually, but it will end up being a hell of a job when post counts increases. I need an automated system for this.
    I don’t know of any other plugins that does the job the way I need it.

    I appreciate any help and willing to compensate for the service if demanded.

    Thanks for any help.

  39. exinco Says:

    is v0.07 working for wordpress 2.3.3?
    i have try but not functioning. i got 0 view by 0 visitor all the time.

    i used php4 engine

  40. cryonyx Says:

    exinco
    I didn’t check it, because 0.07 was the last version for PHP 4 and is now not supported. You can try the 0.071 version by Tim which is available there: http://code.google.com/p/views-counter/

  41. cryonyx Says:

    pavel
    Do you mean you want VC to separate statistics also by authors and by time?
    Well, if so, then I’ll try to implement this in the ongoing version of VC, but I cannot say anything about the time when it releases. I simply don’t have enough time to deal with it.

    P. S. VC is absolutely free tool and I don’t require any money paid for it even if it is used for commercial purposes.

  42. exinco Says:

    thanks cryonyx, i’ll do my best
    cheers1

  43. vetas Says:

    Отлично!

  44. Dr_AN Says:

    Плагин выдаёт фатальную о?ибку и пи?ет

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/clients/ftp0/domains/rumature.info/html/wp-content/plugins/vc/vc.class.php on line 9
    это на верси ВП 2,3
    что делать? как это лечиться?

  45. cryonyx Says:

    Какая версия плагина?

  46. Dr_AN Says:

    стоит версия 0.10

  47. Dr_AN Says:

    так как это лечится?

  48. cryonyx Says:

    Скорее всего, у тебя стоит PHP 4. В таком случае данная версия VC не подходит. Следует использовать VC 0.071 от Тима. Скачать её можно здесь: http://code.google.com/p/views-counter/

  49. skyscraper Says:

    hi cryonyx

    did you fixed this plugin for wordpress 2.3.3?

  50. cryonyx Says:

    Hi skyscraper,

    And wassup is with VC on WP 2.3.3?

  51. skyscraper Says:

    i use wp 2.3.3 and not work.

  52. cryonyx Says:

    What are the symptoms?

  53. skyscraper Says:

    hi, cryonyx

    i don’t know the symptoms. there is no error. installation is ok but no result on the page.

    here http://paidperreview.com

    sorry.

  54. Australia Says:

    Hi Cryonyx,
    Thx for making this plugin available for everyone.
    Unfortunately I get this erro on WP 2.3.3 (I hv replaced my website with “xyz” for privacy purpose)

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/xyz/public_html/xyz.com/wp-content/plugins/vc/vc.class.php on line 9

    Any advise on how what I might be doing wrong?
    Thanks!

  55. cryonyx Says:

    Hi, Australia!
    The problem 90% probability is that you use PHP 4, which doesn’t support classes in the way the latest version of VC requires. Try using VC 0.071 (look the comment #40 above).

  56. Australia Says:

    Thank U for your prompt reply, Cryonyx!
    I downloaded VC v.0.07 as per your advice and it worked straight away.
    Thanks again!

  57. Canadian pharmacy Says:

    i use wp 2.3.3 too and not work.

  58. cryonyx Says:

    Heh, what means “not work”? How exactly it doesn’t work?

  59. Australia Says:

    To Canadian Pharmacy, did u try downloading the older version as per Cryonyx ie http://blog.cerebrate.ru/files/vc/vc.0.07.zip

    VC 0.07 worked fine for me on WP2.3.3

  60. James Says:

    Just a couple of questions, is it compatible with wp 2.5?
    Can I edit the views count for each post so counting doesn’t start from 0?

    thanks

  61. cryonyx Says:

    James
    1. Saying truth, I haven’t test it. Probably. In WP 2.5, as far as I know, only admin-pane has changed dramatically. The basic functionality remained the same. Then all should work good;

    2. Yes, 4 sure. But it’s not that easy: you should know the HEX encoding and be acquainted with MySQL. If you are that guy, then open the table wp_vc_data, find the entry with the necessary ID and edit the first block of symbols before slash. For example:

    Entry ID: 1
    Views: 1
    IPs: doesn’t matter (should be at least one)

    You want to change the indicator to, say, 2500. Then you should change the “data” field to:
    9C4/…
    (where “…” should be replaced with encoded IPs).

    That’s it. The indicator shows now 2500 views.

  62. Kombor Says:

    I implemented this plugin on WP 2.5.1 and it works. Thanks a lot.

  63. cryonyx Says:

    Kombor
    Really? That’s good news :) Thank you!

    BTW, the new version of VC is ongoing. I plan to release it in the middle of June.

  64. budi Says:

    thx for visiting

  65. Misterio Says:

    На локалке работает отлично! Спасибо за чудесный плагин!

  66. k|torz Says:

    Hello, have you planed an update for wordpress 2.6.1?

  67. cryonyx Says:

    2 k|torz
    Right, but now I don’t have time to develop and test it…

  68. pointR Says:

    hello…
    i have benefited by using vc0.02 for the last two years.
    however it does not display on ‘pages’ like it does in ‘posts’.
    any reason this is so?
    …pR

  69. jump Says:

    Great plugin. I would however, like the counter to show at the bottom of the page. Just like how the counter is set for every post, I’d like just one for the page. Help?

  70. Pat Says:

    Is there any news on a new version of this plugin? I would like to use it. I have wordpress version 2.6.2. It’s a great plugin , i can’t find anybody who has a simular plugin.

  71. Lewis Says:

    Hi,
    I love the plugin and got the easy option to show in the posts management.
    But I am trying to add a line to the post next to the author showing the views and can not seem to get it to display.

    is this all I need to add to my theme ?

    function vc_get_stats(
    $text_before = ‘Viewed’,
    $human_count_text = ‘times’,
    $human_ct_function = NULL,
    $preposition = ‘by’,
    $human_viewers_text = ‘visitors’,
    $human_vt_function = NULL,
    $with_icon = 0
    )

    When I do I get no output.

    Thanks in advance
    Lewis

  72. Alex Says:

    PS: И по моему для всех постов показывает одно и тоже значение, какую последнею версию вордпресса ты юзал?

  73. Alex Says:

    прощу прощения, первый пост не опубликовался, иконка справа от счетчика не отображается (в меню выбрал показывать) но там просто ссылка на ваш блог. Версия вордпресса WordPress 2.8.5.

    не подскажете как быть?

  74. cryonyx Says:

    Хм. Странно, что иконка не отображается. Убедись, что она находится в папке с плагином.
    Что касается версии WP, то плагин работает на любой начиная с 1.2 – он использует только базисный функционал WP, который не менялся уже очень давно.

    Что касается одного и того же значения для всех постов – просто нужно немного времени подождать, пока пользователи перестанут читать только главную страницу и полезут по самим постам. Ещё счётчик может не отображаться вовсе сразу после установки, поскольку просмотры админа не учитываются.

  75. van Says:

    WordPress 2.8.6. тема WordPress Constructor Theme 0.6.2
    вроде сделал все как написано.
    создал папочку. скопировал. активировал.
    а статистику так и не показывает :(
    уже и в темплейт пытался функцию тыкать.
    есть идеи что я делаю не так?

  76. dari nol Says:

    how to display the number of visits without displaying the number of visitors?

  77. jasmine Says:

    Версия WP 2.9.1 после добавления отображает <<<<<<>>>>>> .r740
    после деактивации эти знаки не исчезли ….. плиз, помогите, как быть?

  78. Брен Says:

    “Ещё счётчик может не отображаться вовсе сразу после установки, поскольку просмотры админа не учитываются” Если выйти из браузера или открыть в другом браузере незалогинившись то можно увидеть.

  79. cryonyx Says:

    @jasmine

    Скорее всего, это глюк не этого плагина. Какой адрес ресурса? Какие ещё плагины установлены?

    2 Брен
    В первом случае это возможно только, если броузер стирает куки.

Сказать что-нибудь:

© «Жизнь внутри гения», 2004 и до упора. Блог работает на системе Wordpress