Search Results for 'spam'
-
Search Results
-
Hi, I think you should apply filters to the queries done by function get_users() :
eg. with my plugin bp-real-names :
when you search a user by “word”, the core query looks like :
SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID LEFT JOIN wp_bp_xprofile_data pd ON u.ID = pd.user_id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pd.field_id = 1 AND pd.value LIKE ‘%%admin%%’ ORDER BY pd.value ASC
but I need to be able to change this to
SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID LEFT JOIN wp_bp_xprofile_data pd ON u.ID = pd.user_id WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND pd.field_id = 4 AND pd.value LIKE ‘%%Smith%%’ ORDER BY pd.value ASC
This is not possible actually as I see…
I’ve installed buddy press 1.1.3 and wpmu 2.8.6. I tried everything to stop spammers but all in vain. Is there any remedy to stop spammer. I tried wp-recaptcha code but it doesn’t appear on sign up page. I changed .htaccess file per this blog post http://wpmututorials.com/how-to/spam-blogs-and-buddypress/ but it didn’t work. I made changes per this blog post http://www.bp-tricks.com/tips_and_tricks/stopping-the-sploggers/ but all in vain. Could anyone please help.
Hey guys,
Just thought I’d share my own little script that I’ve embedded in to wp-config.php. True I should ideally place this in to a plugin, but this is just a quick example which others may find useful.
I’ve noticed that pretty much all of the ‘sploggers’ originate from China. Whilst I’m sure that there are many innocent visitors over there, I felt that my own needs for Buddypress did not extend to that country, so using Maxminds GeoIp mod, you can simply ban the entire country.
http://geolite.maxmind.com/download/geoip/api/php/
Save geoip.inc and place it somewhere on your server. Then get the ip lookup table here:
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and place it in your home/username/ directory (underneath public_html)
You can probably set up a cron job to download the lookup table each month. As its updated monthly.
All I did was place the following in wp-config.php after /* That’s all, stop editing! Happy blogging. */.
### GEOIP BAN CHINA
include('path/to/geoip.inc');
$gi = geoip_open("path/to/GeoIP.dat",GEOIP_STANDARD);
$ip = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$country = geoip_country_code_by_addr($gi, $ip);
geoip_close($gi);
if ($country == 'CN') {
die('Service Unavailable');
}
### END GEOIPSo there you go – it simply reads in the visitors ip, then compares it to the lookup table – if the ip originates from China, then simply kill the connection. As I say, its very harsh, but personally my own project doesn’t cover that area, and so far I haven’t had any problems.
What I’m going to potentially look at, is to see if I can flag users from China… so enable them to sign up and log in, but they must ‘earn’ reputation before they can start a blog. This will cut away most of the splogger issue as spammers don’t tend to hang around.
I have around 15,000 members registered in my WPMU installation and I tried enabling Private Messaging in BuddyPress for a few days.
Within around 2 weeks, 20,000+ messages were sent through Private Messaging – 99% of them being spam. Most of my members received messages through emails and got furious.
I disabled Private Messaging around a month ago and have been visiting this forum frequently to see if there has been any solution.
When the messaging was still enabled a month ago, I kept checking the messaging table in database and kept marking the users as spam who would send hundreds of messages in one go. I had successfully enabled recaptcha on the wordpress signup, but it was not useful as spammers were manually registering and sending lots of messages via scripts.
I have got few questions:
– Is there a way to at least disable the email notification globally for everyone, with an option of manually enabling for anyone who needs it?
– Can someone help in adding recaptha on the compose message page? I am willing to pay for these services.
– Is there is any other way someone can suggest to limit the spam via private messaging?
Thanks in advance!
dotpk
I’m trying to make reCaptcha (http://recaptcha.net/plugins/wordpress/) appear in the register page of buddypress, currently it doesn’t appear on either /register or /wp-signup.php and Im stuck. It only appears in the comment section of the main blog.
If it’s not possible to get reCaptcah workign is there an alternative way to prevent spam uers from signing up on wordpress mu?
Hi –
I’m still in the dark ages, using bp1.03 and wpmu 2.8.4a. Be that as it may, can anyone shed any light on how to change the sender email address for the group news notifications?
Currently, our group updates come from an email address that seems to be created by Buddypress, in the format of [domainname]@hostingcompanysendmail.hostingcompanydomain.com
This causes many email inboxes to interpret the message as spam and discard it.
I would like to use your normal outbound admin email address? Has anyone succeeded in modifying this sending email address?
Thanks,
brian