I think it’d make more sense to only save a view/visit once per session. Currently, the total views are counted for every time a profile is loaded. This causes a view to be counted every time a new tab is clicked requiring the browser to refresh. So a single “visit” can account for tons of profile views.
Hi Eddie,
You theme has this action two time ‘bp_after_member_header’You should remove it atleast one time. Also, I am changing the recording function to make sure it avoids using this action for count, That should fix it for you.
Posted on the wrong topic. The above post was for https://buddydev.com/support/forums/topic/buddypress-recent-profile-vistors-view-count-bimber-theme-conflict/
For this topic:-
We do not record all the visit. Currently, It is only one record between two users for the visited user. With each new visit we just increment the visit count for the visitor to visited user and the last visited time of the record.Updating last visited time allows us to have the correct details of unique views etc over a preciod of time.
Also, we are not using the visit count directly anywhere, so I don’t see a side effect of that. keeping a count can help some site making decision on suggesting interests.
You must be logged in to reply to this topic.