Extension, Fieldtype, Module

Archived
Forum
(read-only)


For official support, visit the official support site »

Popular - The Advanced View Counter for ExpressionEngine

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Notebleu

     

How to track profile view count

Feature Request

savin
savin

Hi

In my project each user have diffrerent profile url ex:http://mixfame.net/demo/index.php/profile/razalkr .Here how i can count no of people visits this entry.Count can’t increase if same user again visit same link.

Notebleu
# 1
Developer
Notebleu

Hi Savin,

If I understand correctly, you’re looking for a way to filter out multiple hits from the same computer so that if I visit a page 15 times in one day, you can filter out 14 of those records.  This is a great idea.  I may have a chance to get into the code later this week and cook something up for you. 

If you’d like to build a solution yourself, there are a bunch of developer hooks in Popular that can help get you started.  The IP address of the viewer is logged with every page view, along with the timestamp, so you could definitely run some filtering logic after the results are returned (or even change the way the results are called) with an extension.  Everything Popular stores is in a table called “popular” (with whatever prefix you defined for the EE tables in your database).

Best,

Will