Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+27 votes
13.5k views
in Plugins by
edited by

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)

by
Looks great!
by
It adds a great feature to Q2A. but bubble didn't work for me.
any Idea?
by
did you turn it on in admin/plugins?
by
yes, history(recent activity) works. but after installing it on my host (just like 3rd answer) I got ??? question marks on history. there is no such problem on localhost!
and I rechecked options. every thing is right and there is no sign of those lovely bubbles.I even inspected html source for hidden tags.

If you are interested I can send you my admin user/pass.
my site is askweb.ir , it's pretty empty now
by
it must be a mysql problem with the question marks... I'll try to fix it now.  As for the bubble, it only shows for incoming events, and you need to check a special option in admin/plugins, even if the history is activated.
by
okay, I think the question marks should go away now... try updating the plugin.
by
yes, question marks are fixed. thanks a lot.
by
You are amazing NoahY... thanks buddy to put your effort and time in this. If you need any help for style, css, html let me know I would happy to work on this.
by
I can help for css, html, js, php, too. I like the idea of this plugin very much.
by
Thanks for the offers... it's on github, I'm using it and it seems to work okay; if anyone wants to tweak it, just fork it on github and let me know.
by
I unable to see notification number (e.g 3) right after user name. any clue?
by
@pixelngrain I used your theme and met your problem, too.
by
But I am getting this issue with even default theme too. Is there anything what I am missing to setup for this plugin or what? no clue
by
Ignore this. I'm just trying to set it so I don't get notified everytime someone replies to this thread.
by
Means still in progress?
by
@kai,
Today  I got point right after user name see my below answer attached image. I got that in all theme including my theme too.
by
how can you do that?
by
In reality, I didnt do any modification. It just appear next day.. I just wonder why not at the same time but next day...
by
Me too. I didn't do any thing and some functions just appear, but "new incoming event bubble" and "badges added to history" (I have my badge plugin installed) still doesn't appear. Wait for them :(
by
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.
by
this is such a great plugin! Love the yellow notification "event bubble"!
and the options, available from admin. no php hacking. respect!
by
how to show bubble after user name its not working noahy... Please help me
by
Hello, am using version 1.5.3, i've installed the plugin as per the instructions, but there's nothing being shown. What am i missing?

7 Answers

+4 votes
by
I'm interested..I seems very useful..Thanks
+2 votes
by
Nice, seems working ok, are you planning to include translation file ?
by
got it... missing the save call, thanks.  

If I get time, I'll look into finding a better way to get the polls tab to show up where it should... but again, it still shows up where it should for me :)
by
Issue may be in theme becouse my submenu is removed from where it should be in custom theme like this:

function nav_main_sub()
        {
            $this->nav('main');
            //$this->nav('sub');
        }

And placed $this->nav('sub'); into function main() function.
by
By the way what "c_claim" means ?
by
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
by

Hello NoahY.

Error search russian chars.

by
That's funny... it works for me.  Search for Ербол Сери shows the correct characters on my site.
by
question marks should be fixed in latest code.
by
Thanks NoahY ! ))
+1 vote
by
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.)
+1 vote
by
edited by

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

by
not sure... it's working for me.  maybe check your php log?
+2 votes
by
How can I get notificaton number after user name same as your screen shot?
+3 votes
by
edited by

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

 

...