Hi there,
I want to create a page view to list the top visited profile but it doesn't seem to count uprofile node? all other nodes seem counting ok, blog, gallery..etc. so do i need to enable something? or is it a bug?
many thanks.
Hi there,
I want to create a page view to list the top visited profile but it doesn't seem to count uprofile node? all other nodes seem counting ok, blog, gallery..etc. so do i need to enable something? or is it a bug?
many thanks.
Comments
Comment #1
michelleYou never actually go to the profile node with APK, which is why the node counter isn't incrementing. I believe there's already an issue in the CTools queue to make a page counter, but I'm not positive. I saw the request somewhere but it might have been in the forums.
Michelle
Comment #2
foodbo commentedthx Michelle,
sorry, i am a bit confused. so profile node , u mean the core profile? or APK doesn't actually go to the uprofile node?? so what is the page that we go to then??
I thought APK uses node? uprofile node, so the node counter should increment that node??
Comment #3
michelleAPK uses fields from the node but it takes over the user view page, which is not the same thing as the node page. When you go to user/42, you are not going to node/42. It's just pulling information from node/42 and displaying it along with other stuff on the page. Since the node is never visited, the visit counter doesn't increment.
Michelle
Comment #4
foodbo commentedmaybe i should stick to this topic,
so is there any way that i can do this with a little bit of code / other modules that might help.
the user_visits module only shows the list of profile visitors and the user_visits_adv module only shows the visitor counters for the logged on user(owner) only.
Comment #5
foodbo commented(didn't refresh before posting the last one) I see, now. Thanks for you explanation. so i guess there is no way to count the view page then??
Comment #6
michelleThe only way I know of is pulling it out the statistics table like the profile visits does but that's only accurate for as long as you keep access logs.
Michelle
Comment #7
foodbo commentedI see.
I have looked into those user_visits and user_visits_adv modules a bit more. and the user_visits's table do store each user visit to APK page, but those info only display to a block and not view / node so kind of useless for my case.
do you think you would be interested to look into those and put them in ur solution in the future? it seems quite useful / popular to put on user profile page, esp for social networking sites??
many thanks.
Comment #8
foodbo commentedComment #9
michelleI won't be putting more time into the profile visits code because it's only meant to be a simple solution with User Visits available for people who need more advanced solutions. I do have a need to have the profile node marked read on visiting on my site so that might make it back into the APK at some point if it's portable enough.
Michelle