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.
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.
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...
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)
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.
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):
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.
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.
Yeh its working on the 4.9 , but the counter is not incrementing the unique visitor , on refreshing the page it increments the counter
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...
How about v6? Any problems there?
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.
umbraco v 4.11.6 (Assembly version: 1.0.4834.19775)
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.
Im running it on 6.0.3, and its running fine.
Do you remember to increment views?
I did forget. Thank you. All working now.
Dan
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...
is working on a reply...