I want to show on my main page how often my top articles are viewed, is there a script for this? I am fairly new at this and I know how to display page views on a the actual page, but not on a different page, any helpw ould be appreciated. Thanks
You'll probably want to use some server-side scripting and a database (e.g., PHP and MySQL). Do you have any familiarity with those? What do you mean by "I know how to display page views on a the actual page, but not on a different page?"
I would like help on this too, if possible. I think he (and I) mean a script that you can put on each one of your pages and then make a section of your site called "Top Game/Articles" and the top 5 or 10 will show up in list format. Is this possible?
This is possible but to make it reliable is a bit tricky. You have to consider that because a user can view an article more than once you probably want to restrict recorded views based on IP, cookie, etc. Basically you would need a MySQL database table with fields for the article ID, user IP, number of views and a YMD date. You would then embed a small bit of PHP code to all article pages to check the database for a previous view for that day, article and IP. If it's found, ignore the visit. If not, increment the count with a simple MySQL query. Still more custom code would be needed to pull the top 5 or 10 from the database and display it on your web page. Easy for a programmer. Not so easy for those with little PHP+MySQL experience. If you have a WordPress blog there are plugins available that make this a snap with no programming required. Regards
No I only know enough about PHP and MYSQL to be dangerous. I was hoping I could modify an existing script. It would be nice to have a top ten most viewed articles and then the stats though, maybe I will look at scriptlance.