Posted by Andrea under
Plugins
This looks awesome: WPMU Spam reporter. It puts a “Report Spam” button on every blog and send the site admin an email with the details.
Hmm, although maybe it could be called “report splog” but some people aren’t aware that splog means spam blog. Would be easy enough to edit if you’re that picky.
Thanks Rune.
EDIT: There are now variables in there to easily change text in certain areas. (I’m still giggling.)
Share This
google.load("language", "1");
var curstate = 0;
var hasloaded = 0;
function bnc_show_translated() {
if (hasloaded == 0) {
bnc_lang_callback();
hasloaded = 1;
}
for (i = 0; i < 9; i++) {
var elem = $("bnc_original_" + i);
if (elem) {
if (curstate) {
elem.show();
} else {
elem.hide();
}
}
}
for (i = 0; i < 9; i++) {
var elem = $("bnc_trans_" + i);
if (elem) {
if (curstate) {
elem.hide();
} else {
elem.show();
}
}
}
if (curstate) {
$("bnc_trans_state1").show();
$("bnc_trans_state2").hide();
curstate = 0;
} else {
$("bnc_trans_state1").hide();
$("bnc_trans_state2").show();
curstate = 1;
}
}
function bnc_detect_div(div_id) {
var text = document.getElementById(div_id);
if (text) {
text = text.innerHTML;
if (text.length > 0) {
google.language.detect(text,
function(result) {
if (!result.error) {
if (result.language != "en") {
if (result.confidence > 0.25) {
$("bnc_translating").show();
bnc_xlate_div(result.language, div_id, "en");
}
}
}
} );
}
}
}
function bnc_xlate_div(src_lang,div_id,o_lang) {
var text = document.getElementById(div_id);
if (text) {
text = text.innerHTML;
google.language.translate(text, src_lang, o_lang,
function(result) {
var translated = document.getElementById(div_id); if (result.translation) { translated.innerHTML = result.translation; } });
}
}
function bnc_lang_callback() {
bnc_xlate_div("en", "bnc_lang_i_0_94", "en");
bnc_xlate_div("en", "bnc_lang_i_1_94", "en");
bnc_xlate_div("en", "bnc_lang_i_2_94", "en");
bnc_xlate_div("en", "bnc_lang_i_3_94", "en");
bnc_xlate_div("en", "bnc_lang_i_4_94", "en");
bnc_xlate_div("en", "bnc_lang_i_5_94", "en");
bnc_xlate_div("en", "bnc_lang_i_6_94", "en");
bnc_xlate_div("en", "bnc_lang_i_7_94", "en");
bnc_xlate_div("en", "bnc_lang_i_8_94", "en");
bnc_xlate_div("en", "bnc_lang_i_9_94", "en");
bnc_xlate_div("en", "bnc_lang_i_10_94", "en");
bnc_xlate_div("en", "bnc_lang_i_11_94", "en");
bnc_xlate_div("en", "bnc_lang_i_12_94", "en");
bnc_xlate_div("en", "bnc_lang_i_13_94", "en");
bnc_xlate_div("en", "bnc_lang_i_14_94", "en");
bnc_xlate_div("en", "bnc_lang_i_15_94", "en");
bnc_xlate_div("en", "bnc_lang_i_16_94", "en");
bnc_xlate_div("en", "bnc_lang_i_17_94", "en");
bnc_xlate_div("en", "bnc_lang_i_18_94", "en");
bnc_xlate_div("en", "bnc_lang_i_19_94", "en");
bnc_xlate_div("en", "bnc_lang_i_20_94", "en");
bnc_xlate_div("en", "bnc_lang_i_21_94", "en");
bnc_xlate_div("en", "bnc_lang_i_22_94", "en");
bnc_xlate_div("en", "bnc_lang_i_23_94", "en");
bnc_xlate_div("en", "bnc_lang_i_24_94", "en");
bnc_xlate_div("en", "bnc_lang_i_25_94", "en");
bnc_xlate_div("en", "bnc_lang_i_26_94", "en");
bnc_xlate_div("en", "bnc_lang_i_27_94", "en");
bnc_xlate_div("en", "bnc_lang_i_28_94", "en");
bnc_xlate_div("en", "bnc_lang_i_29_94", "en");
bnc_xlate_div("en", "bnc_lang_i_30_94", "en");
bnc_xlate_div("en", "bnc_lang_i_31_94", "en");
bnc_xlate_div("en", "bnc_lang_i_32_94", "en");
bnc_xlate_div("en", "bnc_lang_i_33_94", "en");
bnc_xlate_div("en", "bnc_lang_i_34_94", "en");
}
function bnc_startup() {
bnc_xlate_div("en", "bnc_translate_info", "en");
bnc_xlate_div("en", "bnc_translate_info2", "en");
bnc_detect_div("bnc_lang_i_0_94");bnc_detect_div("bnc_lang_i_1_94");bnc_detect_div("bnc_lang_i_2_94");bnc_detect_div("bnc_lang_i_3_94");bnc_detect_div("bnc_lang_i_4_94");bnc_detect_div("bnc_lang_i_5_94");bnc_detect_div("bnc_lang_i_6_94");bnc_detect_div("bnc_lang_i_7_94");bnc_detect_div("bnc_lang_i_8_94");bnc_detect_div("bnc_lang_i_9_94");bnc_detect_div("bnc_lang_i_10_94");bnc_detect_div("bnc_lang_i_11_94");bnc_detect_div("bnc_lang_i_12_94");bnc_detect_div("bnc_lang_i_13_94");bnc_detect_div("bnc_lang_i_14_94");bnc_detect_div("bnc_lang_i_15_94");bnc_detect_div("bnc_lang_i_16_94");bnc_detect_div("bnc_lang_i_17_94");bnc_detect_div("bnc_lang_i_18_94");bnc_detect_div("bnc_lang_i_19_94");bnc_detect_div("bnc_lang_i_20_94");bnc_detect_div("bnc_lang_i_21_94");bnc_detect_div("bnc_lang_i_22_94");bnc_detect_div("bnc_lang_i_23_94");bnc_detect_div("bnc_lang_i_24_94");bnc_detect_div("bnc_lang_i_25_94");bnc_detect_div("bnc_lang_i_26_94");bnc_detect_div("bnc_lang_i_27_94");bnc_detect_div("bnc_lang_i_28_94");bnc_detect_div("bnc_lang_i_29_94");bnc_detect_div("bnc_lang_i_30_94");bnc_detect_div("bnc_lang_i_31_94");bnc_detect_div("bnc_lang_i_32_94");bnc_detect_div("bnc_lang_i_33_94");bnc_detect_div("bnc_lang_i_34_94"); }
google.setOnLoadCallback(bnc_startup);
June 21st, 2008 at 7:30 pm
Yea, I know, splog is a “better” term, but most common users (the ones that are going to press the button) are not that used to the use of splog as an synonym og spam(blog)
But I plan to make an backend to the plugin, so the site admins can make there own text for email, and change the text on the button and choose an other email address to recive the spam mails.
–
Rune
Yea, I know, splog is a “better” term, but most common users (the ones that are going to press the button) are not that used to the use of splog as an synonym og spam(blog)
But I plan to make an backend to the plugin, so the site admins can make there own text for email, and change the text on the button and choose an other email address to recive the spam mails.
–
Rune
June 21st, 2008 at 8:46 pm
I’m sort of an old hat to wordpress, but very new to mu.. Are there a lot of bots out there that troll for and create what you’re calling “spam blogs”?
More over what do they traditionally do with the blog once they create it?
I’m sort of an old hat to wordpress, but very new to mu.. Are there a lot of bots out there that troll for and create what you’re calling “spam blogs”?
More over what do they traditionally do with the blog once they create it?
June 21st, 2008 at 8:52 pm
Yep, there are. They auto-register and on an open vanilla install it fills up FAST. And when they have a blog, they then auto-post spam posts to it.
Pr0n is a biggie too. And you don’t want pr0n all over your sites (most people don’t anyway).
Why? I dunno really. Getting link backs? hoping for clicks? In all the things I’ve read, the people who do this sort of thing think a 1% return is pretty good.
Rune - just giving’ you a hard time on terminology.
Yep, there are. They auto-register and on an open vanilla install it fills up FAST. And when they have a blog, they then auto-post spam posts to it.
Pr0n is a biggie too. And you don’t want pr0n all over your sites (most people don’t anyway).
Why? I dunno really. Getting link backs? hoping for clicks? In all the things I’ve read, the people who do this sort of thing think a 1% return is pretty good.
Rune - just giving’ you a hard time on terminology.
June 21st, 2008 at 9:15 pm
What about some sort of akismet like spam blog detector?
What about some sort of akismet like spam blog detector?
June 21st, 2008 at 10:53 pm
I’ve installed this and it works great. Such a simple solution to a complex problem, if your users care about the community they’re involved in;)
Great job Rune!
I’ve installed this and it works great. Such a simple solution to a complex problem, if your users care about the community they’re involved in;)
Great job Rune!
June 22nd, 2008 at 7:40 am
@Andrea;
Just like water off a duck’s back
–
Rune
@Andrea;
Just like water off a duck’s back
–
Rune
June 22nd, 2008 at 2:21 pm
New version => http://shuttlex.blogdns.net/2008/06/22/wpmu-spamreporter-02/
You got your splog, Andrea
–
Rune
New version => http://shuttlex.blogdns.net/2008/06/22/wpmu-spamreporter-02/
You got your splog, Andrea
–
Rune
June 22nd, 2008 at 3:46 pm
I like it. Have to admit that it’s better than the one we were currently using.
You can convert it into other things as well. A report mature feature. Or heck, even a Vote for a Blog system and let your users vote for a User’s Blog of the Day.
I like it. Have to admit that it’s better than the one we were currently using.
You can convert it into other things as well. A report mature feature. Or heck, even a Vote for a Blog system and let your users vote for a User’s Blog of the Day.
July 6th, 2008 at 9:19 am
Hi,
I’m just building my first WPMU site and thought I’d drop by to look for some advice on just this problem. How serendipitous!
I’m going to add this along with a captcha on signup.
Thanks for the tutorials.
Hi,
I’m just building my first WPMU site and thought I’d drop by to look for some advice on just this problem. How serendipitous!
I’m going to add this along with a captcha on signup.
Thanks for the tutorials.