Search Results for 'spam'
-
Search Results
-
Is there a plugin I can use to ban email domains that are usually spammer domains from registering on my site? I really would like the ability to specify what emails are allowed to register for example: google and yahoo domains allowed and aol and usa are banned. I am getting spam on my buddypress activity every day. WP 3.2.1 and BP 1.5.1. I appreciate it and thank ya, thank ya very much!
Does anyone know that? Thanks!
I have had a crack at this, and it worked a little but:
1) it’s too hacky (editing core files)
2) it broke activity replies (no text in a reply)So what do you guys think about this:
/wp-content/plugins/buddypress/bp-activitybp-activity-filters.php
`/**
* Finds and links @-mentioned users in the contents of activity items
*
* @since 1.2.0
*
* @param string $content The activity content
* @param int $activity_id The activity id
*
* @uses bp_activity_find_mentions()
* @uses bp_is_username_compatibility_mode()
* @uses bp_core_get_userid_from_nicename()
* @uses bp_activity_at_message_notification()
* @uses bp_core_get_user_domain()
* @uses bp_activity_adjust_mention_count()
*
* @return string $content Content filtered for mentions
*/
function bp_activity_at_name_filter( $content, $activity_id = 0 ) {
global $wpdb;$usernames = bp_activity_find_mentions( $content );
if(is_site_admin() && in_array(“all”, $usernames)){
$all_users = $wpdb->get_col( $wpdb->prepare(“SELECT $wpdb->users.user_login FROM $wpdb->users”));
foreach($all_users as $i_users){
array_push($usernames, $i_users);
}
}if ( !$usernames = array_unique( $usernames ) )
return false;foreach( (array)$usernames as $username ) {
if ( bp_is_username_compatibility_mode() )
$user_id = username_exists( $username );
else
$user_id = bp_core_get_userid_from_nicename( $username );if ( empty( $user_id ) )
continue;// If an activity_id is provided, we can send email and BP notifications
if ( $activity_id ) {
bp_activity_at_message_notification( $activity_id, $user_id );
}$content = preg_replace( ‘/(@’ . $username . ‘b)/’, “@$username“, $content );
}// Adjust the activity count for this item
if ( $activity_id )
bp_activity_adjust_mention_count( $activity_id, ‘add’ );return $content;
}`(The site admin check is to stop spamming
)
And also, how would I go about using this as part of a plugin (I think i’d have to use add and remove filter or something).
If anyone can take a look at this and point me in the right direction to get all this working i’d be grateful!– Eliott
Topic: Banned Domains List
Apologies in advance if this question has been asked and answered but I am wondering if BP is now using the WP banned domain list. I am having a hell of a time with spam user signups and I need to get this working. Any help here would be much appreciated.
I just created two test accounts on my site to try and test various permissions. However, neither e-mail address I used received an activation e-mail (and yes, I checked my spam folder). However, friends who have also signed up HAVE received these e-mails. Any suggestions as to what might be going on?
Thanks in advance.
Website – http://www.mycollectr.com
Hi
The site URL is http://www.latestsightings.com/.
When ever I try and mark a person as a spammer, it sends me to a “Page not found” error. The same when I delete their account.
Thanks
Topic: Mark as Spammer 404 error
Before upgrading to 1.6, I used the buddybar’s mark user as spammer functions a lot. I’m still using the buddybar now, but the user tools now lead to 404 pages.
How can I add these tools manually to my them so there will be no missing page error? Thanks!
How to disable users to post what’s new in profile?
Users are spamming what’s new in the activity sectionHow do I stop this?
Topic: Disable User Update spam
How do I make it so people can not create fake profiles, and abuse user updates to post spam updates.
An example is here http://bit.ly/S9Ed56