Thanks for keeping on top of this everyone.
Have seen this before. Not sure how it’s done, revision history appears to be misleading. I’ve sent a message to Andy Peatling as a heads-up.
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=%22twitter+apps%22+site:codex.buddypress.org
I also found a spam link in the codex and deleted it.
Spammers ruin everything.
Fixed but it would be good for an admin to go and see who made the change in the first place. Well, assuming whatever wiki the site is using actually maintains that information.
I have a Buddypress 1.02 setup so I was looking at documentation for tips on upgrade path.
On the below page I realized a link to an irrelevant (and seemingly unresolving) a website.
http://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/
(search on page for “twitter aps”).
This looks as though somebody planted it in for SEO purposes.
It is possible there is more.
Thought you guys would like to know.
Along these lines…I haven’t seen much discussion about spammers lately.
Am I still the only one getting 100+ per day?
Please please please someone figure out how to make buddypress’s registration page reference the banned domain list!
Re #3 – if that record is deleted, they can sign up again using the exact same info. That record tho, is never displayed anywhere else.
Really, the mass deletion of spammers shoudl be handled on the WordPress end, as ultimately that’s the menu your’re using.
Without going and checking, I *think* you can sort the blogs/users so the spammers are all on one page, select all and delete all in one go.
For more than a screenful, I do it with a SQL command right in the database.
Actually, if you “Mark as Spammer”, I believe BP suspends the spammer’s blog too. The problem is with Delete. To expand on what I wrote earlier today,
When you “Delete User”:
1. The user is deleted from the Members list, but the URL to the Member profile is still reachable (I filed this as a bug at trac.buddypress.org)
2. The spam blog is NOT deleted.
3. The entry in wp_signups is NOT deleted.
4. The entry in wpmu-users.php page is NOT deleted.
@3sixty – I’m also interested in something similar. I’ve added a member as a spammer and as you say it doesn’t add the blog as spam so the blog entries that member (spammer) made is still visible on the activity stream. need something that delete’s everything that spammer is related to.
BuddyPress admin option “Delete User” does not go far enough. Simply deleting the user leaves behind (1) a spam blog (since almost every spammer also sets up a blog) and (2) an entry in wp_signups, which in my opinion is useless database bloat (since we are not collecting an IP address and autobots never use the same username twice)
There should be an option to at least wipe out the spam blog, if not also the wp_signup entry, at the same time as deleting the user.
I want to build something like this but before I do, is anyone aware of a delete plugin that achieves a similar goal?
DOH!
There is a BuddyPress admin option called “Disable Account Deletion”, and it’s either set to “Yes” by default or my finger slipped and I changed it…
DOH! DOH!
I’m going to file a trac ticket for this because I want my hour back and I can’t have it… the error message needs to be more descriptive:
“There was an error deleting (spam-username) from the system. Please try again, or check your BuddyPress settings to ensure that Account Deletion is enabled.”
I keep getting this error message:
There was an error deleting (spam-username) from the system. Please try again.
I tried the following so far:
-Delete and reinstall BuddyPress
-Disable all plugins
-Disable bp-custom.php
-Remove everything from .htaccess at the root of the BP folder (except for a few rewriteConds that BP needs to function)
Anyone have an idea what could be causing this?
Can someone give solution that users that wish to sign up dont use buddypress signup page, instead they use regular wordpress signup which is much much safer.
Then all you need to do is install SABRE and spammers are gone. This is urgent request because i dont wish to have spoammers on my sites, same goes for everyone else, i m getting hit by 20 spammers per hour.
BTW nothing mentioned in this topic works!!!!
I have a BP install in current beta-testing mode, however I can see around 40-50 people a day trying to register . ie, when I check Wassup, I have these kind of visitors:
/wp-signup.php?new=someusername
However none of them is registered. Is this some kind of intent of spam or hacking? Any experience with this?
I thought I’d almost had spam under control – I have a list of 50 or so email domains that can’t register on the site, but now that I’ve upgraded to 1.2 some of the email addresses that are listed as banned under Options are getting through. Suggestions?
@Boone,
….Not sure about your email problem – has your friend checked the spam folder?…….
I am very sure this issue is related to bug within your Plugin:
During the Step “Send Invites”, I clicked on the link “Send invitations by e-mail”. Then I entered the e-mail of my friend into the first e-mail-field. Then clicked send. Then I received the message “Invitation successfully sent”.
Then I hit the back-button of my browser to go back to the Tab “Send Invites” as there is the button which says “Finish” (for finishing the Group-Set-up).
The e-mail never reached my friend.
@kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.
@Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.
@roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments
@kriski – If you want to add users directly to groups (skipping invitations), try https://wordpress.org/extend/plugins/bp-group-management/. It’s not great for adding in bulk yet, but I plan to add checkboxes in the next version that’ll make it easier.
@Erich73 – Good call on the group creation issue. I think the answer is just to turn off the message for the group creation process. I’m about to check in version 0.5.2, which makes this correction. Email invitation can only be done from the normal Send Invites screen, so the confusion shouldn’t happen. Not sure about your email problem – has your friend checked the spam folder? I’m using the same wp_mail function that the rest of the BP functions use.
@roydeanjr – Very strange about the first errors – almost makes it seem like the plugin was loading before Buddypress was. If it starts happening again, please let me know, and give me as much info about your system setup as you can so I can try to reproduce it. And thanks for the kind compliments
I’m having a problem where about 3 out of every 50 people trying to register via my BP install ( http://piphut.com/register ) are not able to register. They fill out all the forms correctly, hit register and the page just refreshes – no error message given. I tried to register for a few of them on my machines and was not able to.
I think it has something to do with the email addresses (though I can’t see a pattern between any of them) because when I left everything the same but then changed the email I was trying to register it went through no problem, and a few other users noticed the same thing.
I’ve had them all try different browsers, clear their cache, make sure cookies are enabled etc., check their spam folders for registration email, etc, and the only thing fixes it (kind of) is using a different email.
Ideas?
That code worked without WHERE spam=0 but it outputs the user ID number, anyway to get the username?
That code worked without WHERE spam=0 but it outputs the user ID number, anyway to get the username?
Ah, if you only need it once, then it’s easier. Build a list of all members
$query = "SELECT * FROM {$wpdb->users} WHERE spam=0";
$members = $wpdb->get_results( $query, ARRAY_A );
Then loop through $members and do the operation that dre1080 mentions above:
foreach ( $members as $member ) {
$user_id = $member['ID'];
$args = array(
'per_page' => 10000,
'show_hidden' => true,
'user_id' => $user_id
);
if ( bp_has_activities( $args ) ) {
global $activities_template;
$count = $activities_template->total_activity_count;
} else {
$count = 0;
}
echo $user_id . " " . $count . "<br />";
}
I haven’t tested this but it or something very similar to it should print a list on the screen of user ids along side their activity counts.
Ah, if you only need it once, then it’s easier. Build a list of all members
$query = "SELECT * FROM {$wpdb->users} WHERE spam=0";
$members = $wpdb->get_results( $query, ARRAY_A );
Then loop through $members and do the operation that dre1080 mentions above:
foreach ( $members as $member ) {
$user_id = $member['ID'];
$args = array(
'per_page' => 10000,
'show_hidden' => true,
'user_id' => $user_id
);
if ( bp_has_activities( $args ) ) {
global $activities_template;
$count = $activities_template->total_activity_count;
} else {
$count = 0;
}
echo $user_id . " " . $count . "<br />";
}
I haven’t tested this but it or something very similar to it should print a list on the screen of user ids along side their activity counts.
tested again and an opted out email that I try and send a new invite to results in the message body textarea being added to subject line textarea.
for reference the option to allow user to customise both subject line and message body are checked but the user has not actually added or changed any of the default text displaying.
On a slightly odd note and harking back to my email issues invites were being flagged as spam while all other site emails i.e registration emails were arriving as expected normally , now this has changed despite me having changed nothing!! inviites are correctly being received and not flagged as spam any longer .
*sigh* it’s a black art, server email configuration
Just ran test on 0.5 on live test site.
Ran process from start to finish with all dashboard options in effect and used and all ran perfectly, checked DB and all screens no issues what so ever, congrats on that.
Ran second test but this time testing Opt Out and that equally ran smoothly.
A few things have occurred to me though:
Perfect world it would be nice to have access in admin to textarea to set the text that is displayed on the Opt Out confirmation screens that would ensure we could add any thing we thought necessary for our own particular circumstances.
In a similar vein having allowed users to configure the email message area it occurred to me that I would like one further textarea that admin might use to set a footer to the email for any disclaimers we might think necessary and that we DONT want changing by users.
I have a possible concern over the legal requirements of Opt Outs with respect – in our case – to the UK Data Protection Act and have asked our legal chap to think on it , my concerns may be ill founded but I’ll report back if they are confirmed.
Last little point and which is more an issue I have to resolve but sent invites arrive and are dumped to my spam folder yet registrations and all the attendant confirmation emails arrive correctly.