Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

How about a Stack Overflow style Activity/Reputation history?

+13 votes

Still working on this one, here's an image of what it looks like so far:

 

What it does is add custom "incoming" events to the event logger database table (tied to the receiving user, rather than the triggering user), keeps a list of descriptions for all events, and outputs this list on a user profile (only visible to that user).  Kind of a combination of Stack Exchange's "reputation" and "activity" tabs.

Anyone interested? 

EDIT:  Okay, here's the first draft:

https://github.com/NoahY/q2a-history

seems to work okay, with a little testing.  Requires the event logger plugin set to log to database.

Features:

- shows almost all events in list
- shows incoming events (e.g. user's question voted on)
- shows points gained and lost for each event if applicable.
- option to replace old activity list
- set max age of events to show in admin/plugins
- set event exceptions to hide from profile owner and those to show to public, via admin/plugins
- css configurable, all strings configurable via admin/plugins

EDIT (Nov 2):

added new incoming event bubble to user name:

UPDATE:

added badges to history (requires badge plugin)

asked Oct 27, 2011 in Plugins by NoahY
edited Nov 28, 2011 by NoahY
hi, all functions of the plugin work right now, thank NoahY for your excellent plugin and pixelgrain for your beautiful theme. I hope someday I have the chance to work with you.
this is such a great plugin! Love the yellow notification "event bubble"!
and the options, available from admin. no php hacking. respect!

7 Answers

+1 vote
I'm interested..I seems very useful..Thanks
answered Oct 27, 2011 by fudicie
0 votes
Nice, seems working ok, are you planning to include translation file ?
answered Nov 1, 2011 by Another one
By the way what "c_claim" means ?
Yeah, that sounds right about switching navs... probably the best answer is to make the poll tab optional, then you'll have to use the main nav tab only.

c_claim = claims a comment, after posting it as an anonymous user.
0 votes

Hello NoahY.

Error search russian chars.

answered Nov 21, 2011 by Ербол Сери
That's funny... it works for me.  Search for Ербол Сери shows the correct characters on my site.
question marks should be fixed in latest code.
Thanks NoahY ! ))
0 votes
Probably not directly the intention of your plugin, but it might be an opportunity to add an auto-block feature for users without any activity for x days after their registration, or for those who received only negative points for the last x days. (I have some users with random-looking usernames who correctly registered and since then are idle, while it is not necessary to register in order to read the posts. I'm a bit afraid that these guys are just waiting for the day when they all will post spam.)
answered Dec 27, 2011 by Chris
0 votes

I've just installed History Plugin but I cannot active this :(, everytime a go to Admin > Plugins > History plugin options and check the "Show user activity list" check box and go to another page and go to the option again (or F5 the plugin page), every options don't change!

Note: I've checked Log events to qa_eventlog database table

answered Apr 18 by Đặng Minh Tuấn
edited Apr 18 by Đặng Minh Tuấn
not sure... it's working for me.  maybe check your php log?
0 votes
How can I get notificaton number after user name same as your screen shot?
answered Apr 20 by pixelngrain
+1 vote

Dear NoahY, I implemented your plugin, great work!

Question 1: What about performance? Let's imagine you have 10 000 users, all activities logged, how much is this influencing the speed of the DB / server?

Question 2: Why have you chosen "Activity types to hide from profile owner". I think it would be better to only choose what to show. At least I'm hiding most of the activities from the users as they should not have the feeling of being spied!
My proposal: "Activity types to show to profile owner".

thx :)

 

PS: This is what I let the users see from their history:

q_post
a_post
c_post
q_flag
a_flag
c_flag
in_a_question
in_c_question
in_c_answer
a_select
a_unselect
in_a_select
in_a_unselect
q_vote_up
q_vote_down
a_vote_up
a_vote_down
in_q_vote_up
in_q_vote_down
in_a_vote_up
in_a_vote_down
u_confirmed
u_register

 

answered 5 days ago by echteinfachtv
edited 5 days ago by echteinfachtv