Data on who viewed a given user’s profile is not stored in the database. To accomplish this task, you would have to write your own plugin and add at least one new table to the DB.
However, depending on how the plugin was coded, on even a moderately active site, this/these new table(s) could grow to a very large size. For instance, if a given site was not set up to disallow viewing of users’ profiles unless the viewer was logged in, all sorts of useless visitor hits would be encountered–unknown actual people viewing a profile, search engine bots visiting a profile for purposes of indexing, etcetera.
Of course, the solution would be to code the plugin to ignore those type of hits and only log actual logged in member views. But then the number of true views would be greatly undercounted.
Hi Jeff,
Thanks for that, I suspected I might have to create a new table. I will download the skeleton module and have a play around and see what I can come up with.
I think I will focus on making it only log registered users, as I think there are other more simple ways of simply calculating page impressions, I think I’d also have to work out a way to clear entries more than a month old to prevent it becoming unmanagable, I will have to look in to this further!
James