gevans Posted January 22, 2009 Share Posted January 22, 2009 I've just noticed that Tutorial Views increment on every page of that tutorial, so if 100 people read a 5 page tutorial it gets 500 views. I'd suggest only incrementing the tutorial when the first page is accessed. I'm now on page 3 of the Regular Expressions (which is a good read), but still on my first view of the tutorial.... Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/ Share on other sites More sharing options...
.josh Posted January 23, 2009 Share Posted January 23, 2009 We talked about this at some point in time. The reason why we continue to allow it is because of the ability to link directly to specific pages (from external links, etc...). Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/#findComment-743872 Share on other sites More sharing options...
gevans Posted January 23, 2009 Author Share Posted January 23, 2009 Fair point, personally even if I went directly to page 3, the chances are I'd find my way on page 1 rather than going through from a mid way point. An over the top solution would be to only allow an ip to increment the total once within say a 30 minute period. In all fairness this isn't a hugely important point, just something I noticed! Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/#findComment-743876 Share on other sites More sharing options...
.josh Posted January 23, 2009 Share Posted January 23, 2009 I recall something along those lines being mentioned, as well. I don't remember why that was rejected, nor can I think of anything off the top of my head why it should be. As someone who has submitted several tutorials, I too think that the numbers are kind of bloated, and would rather see more realistic numbers. Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/#findComment-743888 Share on other sites More sharing options...
Daniel0 Posted January 23, 2009 Share Posted January 23, 2009 I'll see if I can put a cookie somewhere to only update if it doesn't exist. Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/#findComment-744202 Share on other sites More sharing options...
gevans Posted January 23, 2009 Author Share Posted January 23, 2009 Cheers Daniel Quote Link to comment https://forums.phpfreaks.com/topic/142047-solved-tutorial-views/#findComment-744523 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.