[multiple plugins] Moderation issues
-
Hello.
I want to start by thanking the following developers: _ck_, Nightgunner5, Yu-Jie Lin, Olaf Lederer and michelwppi; for their time and effort in bringing about some very useful plugins.
I have a few comments of my own, and in some cases, very important questions as well.
Even though I have very few genuine users on my forum – four to be more precise, I have decided to (try to) offer as good of a service as I can. I have had a couple of spam posts (5.88%), which Akismet handled impeccably so far.
Also, in the last few days I have had about 20-25 new users that only registered, and considering some of their email addresses, have no other intention but to spam. In this case, another useful plugin came to my rescue, Enhanced Registration, which appears to be doing the perfect job. In conjunction with this plugin, I am using New User Notification Email, so I am always notified whenever a new user registers and if in X hours he/she doesn’t login, then their username is removed and my database kept clean. A very good combination in my opinion.
Further on, a common plugin for moderation that I am also using is bbPress Moderation Suite, and I am sure that it would prove its worth when people will be more interested in what I have to say on my forum. Anyway, I think it’s missing a very useful feature, provided (luckily enough) by Moderate new members’ first posts. Now, I have no doubt that this last plugin is working fine with some people, but not with me. What I wanted was to be notified once at an email address of my own choice (other than admin_email), whenever a new member made his first post (or after two). After that, he/she would post unhindered.
So, I (think that I) have identified the section in the plugin that needs attention, where the post count is made:
if(!is_moderator($bb_current_user->ID)) {
$sql = "
SELECT COUNT(*)
FROM $bbdb->posts
WHERE poster_id = $bb_current_user->ID AND post_status = 0
";
$userpostcount = intval($bbdb->get_var($sql));
}And where they are marked for moderation (as spam):
if($userpostcount <= POST_NUMBER_MODERATION) {
$sql2 = "
UPDATE $bbdb->posts
SET post_status = 2
WHERE poster_id = $bb_current_user->ID
";
$markedasspam = $bbdb->get_results($sql2);
}Now, I wouldn’t know what or where to edit in order to have it do what I want, and that is why I would appreciate it if someone who does know it would assist me. No matter how many times my dummy user called “testing” makes a post, I always get a notification, at the default email address.
I only want to be notified of the first post because I am using xili New Post Notification (xnpn) for the rest of them, at a different email address. What I like about this plugin is that it gives me the possibility to assign an email address of my own choice. It’s true that I would get an email twice when an user would post for the first time (2 plugins), but I can live with that, since they are at different email addresses (the default and my choice).
Thank you,
Bob
You must be logged in to reply to this topic.
, then you should be ok.