Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 14 Jan 2013, 06:28
Carnage Carnage is offline
Join Date: Jan 2005
postdata_presave hook

I've been using the postdata_presave hook to log posts to an xml file for training a spam filter with, however for some reason none of the spam posts seem to have been logged. This is highly confusing as I was under the impression that EVERY post had to hit the postdata_presave hook at some point.

Is there a better hook to use to catch all posts before they are saved to the database?


Ughhh. It would seem that someone somewhere hates good code design... there are infact two main methods for posts to get into the db... apparently there is a need to treat a post separatly if its the first post in a thead :s

If you want/need to contact me, best thing is to pm me on that site, username Carnage.

Last edited by Carnage; 14 Jan 2013 at 06:35.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 13:41.

Layout Options | Width: Wide Color: