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

to prevent some kind of spam I want to track all edits done by users in questions answers and comments.

Are there any existing plugins or core features to do that?

Thank you!
Q2A version: 1.6.2
by
The easiest way is to subscribe with all activity feeds

1 Answer

+1 vote
by
edited by

Hi,

to answer my own question: I have made a plugin that notifies the admin about all new questions, answers or comments with links inside or all edited questions, answers or comments with links inside.

Download: http://www.fairtraffic.de/web/link-check.zip

Hint #1: You have to enable the event-logger plugin "Log events to qa_eventlog database table".

Hint #2: This is my first plugin and I am pretty new to PHP. It would be cool if someone could review/edit the code.

Christoph

by
Nice try !

Tips:
Event logger plugin has nothing to do with the Q2A core event handler.
//        if (!qa_opt('event_logger_to_database'))
//            return;

Addition:
I want to support q_edit, a_edit, c_edit in NP1.2.
http://www.question2answer.org/qa/25217
by
Thank you for this advice. I have modified the plugin and deleted unnecessary code.
...