Feed system like facebook - user action log if we talk game
Posted: Sun Feb 19, 2012 3:26 am
hello guys, I'm just asking this because, in-short just wanna know all the ways you could do this,
a user action tracking system(feed) user action log, how I've done it before is.
The simple way is just to add a db like user-log and then on all the places you want to log action
add an db entries like for example if you edit picture post on feed user: ChickenLittle changed his profile picture.
and add the current date of that action and print it out, it made it post a lot of same thing's but fixed that.
With delete old post on check of a new entire basically it would run the script delete old ones and add new one
that way you did not have so many, but you can also update the one you had in db,
or you can do it the a tad bit difficult way, by logging all submits on specific pages you know you want a track on.
and just work from there and sort it out by logging the actions and appending notes for right action and so on.
and i know some other ways you could do this but if you don't mind just to satisfy my curiosity and more knowledge
to me and others i would greatly appreciate the knowledge of how you would do it!
Thanks in advance,
-UU
a user action tracking system(feed) user action log, how I've done it before is.
The simple way is just to add a db like user-log and then on all the places you want to log action
add an db entries like for example if you edit picture post on feed user: ChickenLittle changed his profile picture.
and add the current date of that action and print it out, it made it post a lot of same thing's but fixed that.
With delete old post on check of a new entire basically it would run the script delete old ones and add new one
that way you did not have so many, but you can also update the one you had in db,
or you can do it the a tad bit difficult way, by logging all submits on specific pages you know you want a track on.
and just work from there and sort it out by logging the actions and appending notes for right action and so on.
and i know some other ways you could do this but if you don't mind just to satisfy my curiosity and more knowledge
to me and others i would greatly appreciate the knowledge of how you would do it!
Thanks in advance,
-UU