Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mr A 216 posts 278 karma points
    Jan 09, 2013 @ 12:29
    Mr A
    0

    Is this package comaptible with 4.8 & 4.9

    Hi , 

    Just need to know if the package is comapatible with version 4.9.1 , also i want to use counter on the bottom of the website to display number of visits on the website , but it should only increment for unvisited customer not for the same customer, only for unique visitors. Can this be done using this package thanks.

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Jan 09, 2013 @ 13:00
    Robert Foster
    0

    Hi Mr A,

    There's no reason why it wouldn't be compatible... In fact I'm just doing a site now in 4.11.1 using the package and will be enhancing it if the need arises.  It already supports usage in Razor, and doesn't depend on any of the changing Umbraco API so it should be all good.

    I'll post here if I find any issues though.

    Rob.

  • Mr A 216 posts 278 karma points
    Jan 09, 2013 @ 13:02
    Mr A
    0

    Yeh its working on the 4.9 , but the counter is not incrementing the unique visitor , on refreshing the page it increments the counter 

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Jan 09, 2013 @ 13:21
    Robert Foster
    0

    You'll need to write some logic to check for unique visitors (based on ip address for example) and then increment only when you come across one... that's a little outside the scope of the package at the moment, although I might consider adding it in...

  • Claushingebjerg 939 posts 2574 karma points
    Apr 05, 2013 @ 12:57
    Claushingebjerg
    0

    How about v6? Any problems there?

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Apr 06, 2013 @ 05:41
    Robert Foster
    0

    Nope, no problems that I'm aware of - I've upgraded one site that's using the package without any problems...

    If you do find anything though, just let me know and I'll get right on it.

    - Rob.

  • sla 2 posts 22 karma points
    Jul 05, 2013 @ 09:25
    sla
    0

    umbraco v 4.11.6 (Assembly version: 1.0.4834.19775)

    Error running NonQuery: 
    SQL Statement:
    update refViewCountConfig  set category = @newCategory, hideCounter = @hideCounter, enableHistory = @enableHistory  where category = @oldCategory

    Exception:
    System.FormatException: @hideCounter : 0 - String was not recognized as a valid Boolean.
      at System.Data.SqlServerCe.SqlCeCommand.FillParameterDataBindings(Boolean verifyValue)
      at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
      at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
      at SqlCE4Umbraco.SqlCeApplicationBlock.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlCeParameter[] commandParameters)
  • Dan Evans 631 posts 1018 karma points
    Dec 10, 2013 @ 12:55
    Dan Evans
    0

    I have just installed the package on 6.0.6 and the counter does not seem to be incrementing. Am I correct in thinking it needs no configuration and once installed page views should be incremented by 1 for all pages in the DB table reViewCount? This table is empty.

  • Claushingebjerg 939 posts 2574 karma points
    Dec 10, 2013 @ 13:02
    Claushingebjerg
    0

    Im running it on 6.0.3, and its running fine.

    Do you remember to increment views?

  • Dan Evans 631 posts 1018 karma points
    Dec 10, 2013 @ 13:18
    Dan Evans
    0

    I did forget. Thank you. All working now.

    Dan

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Dec 10, 2013 @ 13:19
    Robert Foster
    0

    Hi Dan,

    AS mentioned by Claushingebjerg, you can increment the counter at any time from code (or xslt) using the ViewCount API.  You will find basic usage guidelines in the downloadable documentation. 

    You can also find a more detailed answer on a reply to this thread, however if you need more info I'll be happy to provide it (or you can go to the project on github):

    http://our.umbraco.org/projects/website-utilities/refactored-content-views/developer-questions/26080-List-of-most-visited-pages

    hope this helps...

Please Sign in or register to post replies

Write your reply to:

Draft