PDA

View Full Version : Views



1QuickSI
Thu 30th Aug '07, 9:29am
Would be nice to see how many visitors have visited my blog page as well as how many have viewed individual posts within.

Zachariah B
Sat 1st Sep '07, 5:38pm
"bump idea" :)

Freddie Bingham
Tue 4th Sep '07, 9:36pm
We do track blog entry views though I don't think we've actually used it anywhere, have we?

Would be tricky to track blog views. Are we to only count hits on blog.php?u=1234 or are we looking at any page in your blog as counting as a hit on it?

Zachariah B
Tue 4th Sep '07, 10:17pm
There could be a few places to track views.
- blog.php?u=1234
- views per entry (like thread views)

This is off the wall, but lets say these were do-able.
Would you omit u=1234 activity on their own blog or track all activity ?


... runs back to the darkness ..

Flexo
Wed 5th Sep '07, 7:43pm
I like Flickr's solution: "Viewed 64 times (not including you)"

ericgtr
Fri 7th Sep '07, 3:27pm
It's in the blog table, I am pulling from it to use on my forumhome with a few others like this..



$latestblogs = $db->query("
SELECT blogid, title, username, dateline, userid, views
FROM " . TABLE_PREFIX . "blog
ORDER BY dateline DESC
LIMIT 5
");