Automate spam/pending comments deletion in WordPress + bbPress

If you expose your bbPress forums to the public, it is likely you will be getting loads of spam every day. Most of it is actually caught either by WordPress itself, and set as pending, or by Akismet, and set as spam. Either way,

  1. bulk purging pending content is not possible from wp-admin; one needs to go through each page of comments individually.
  2. spam comments bulk removal can timeout wp-admin if you have many.

That is why it is best to schedule the deletion of spam and pending topics as a cron job. The following two commands will delete spam and pending topics for the previous week (not the current one, so there is some time to review them, if something legitimate is actually marked as spam). Just add them to cron (on Linux) through crontab -e (but care to change the --path value).

Doing the same for regular comments is unfortunately not possible, since WP-CLI does not support array input yet, so it is not possible to filter comments by date.

Posts To-Do List: keep track of writing ideas

I worked for several blogs and websites. In most of them, we often felt the need to share hints and ideas about future posts, about what each of us stumbled upon while surfing. Unfortunately, there was not a great way to fulfill that need, and we often told each other via email, or emailed the admin who would in turn forward to all the writers. That is the reason why I wanted to build a WordPress tool that could simplify this sharing process.

That WordPress tool is a plugin and is called Posts To Do List. 

Continue reading

Post Pay Counter: WordPress payment manager

banner-772x250

Easily calculate and handle authors’ pay on a multi-author blog by computing posts’ remuneration basing on admin defined rules. The administrator can specify criteria upon which payments should be computed and the stats will immediately be viewable. Both a general view with all users and a specific one for a author are possible. It can easily help you implement a revenue sharing/paid to write model for your business.

Continue reading