Anonymous User 303747Inactive
I think it somewhat depends on the kind of network you have but I generally recommend against open registration for blogs and, instead, have people request a blog with you instead. Yeah, it’s a bit more work and yeah, it takes away some spontaneity – but the reality is you’ll have tenfold the amount of work with monitoring for SPAM blogs AND people that do the spur of the moment “let’s start a blog” thing are not your long term bloggers either. What’s the benefit of having 100 inactive blogs on your network? I’d rather have 5 that update daily with solid, quality content. As with many things in life, quality trumps quantity any day of the week.
So, it may sound a bit counter-intuitive but I’m all for slowing down to speed up with blogs/members that are worth your effort.
I’ve seen various “free” blog sites (WPMU and otherwise) that have quit offering free blogs because of spam. That makes me wonder…how bad a problem is blog spam? Did the other sites have problems because they weren’t protected properly with Akismet or something else, or is the spam pervasive enough to sidestep the protection?
I guess I’m basically wondering if the spam will cause me big problems down the road.
Thanks,
Mark
There’s gotta be a way for a user to create his or her own password when registering. I know alot of people that have several specific passwords they use when joining sites. Having buddypress send one to you in the mail makes it more difficult for people to sign in once they’ve joined. I agree that it helps against spammers but I’ve got re-captcha hooked up and its working great!
Any more suggestions? Does a plugin like Register plus work with buddypress and do this?
thanks for your help
1. not to be a dick but it would help a lot if you could create a better topic title than WTF??
2. that error smells really fishy…almost spam like. scary. curious to see what comes of it
It can, but the amount of spam accounts will increase dramatically. The reason for sending the account password via e-mail is to prevent spammers from simply entering a known username and password and creating 1000’s of spam blog posts on wordpress mu.
I have a similar situation, where I have a current site with 15k users, username and passwords. What I used is this plugin. It works well on wordpress and buddypress.
https://wordpress.org/extend/plugins/external-database-authentication/
When a user logins, it checks my “other” database for the username, and validates the password against it. This means they don’t need to do the e-maiil thing, as their e-mail was already validated on the old site. It then creates the user in wordpress and the user doesn’t notice anything.
How you could do this for your friends, just make a table of all the friends, and set the same password for everyone initially, and ask them to change it. I only suggest this for very small beta sites with friends you trust, like less then 10 people.
Brad
http://gorgeousgamers.com/beta
yuParticipant
change function in bp-blogs/bp-blogs-classes.php ->
function get_latest_posts( $blog_id = null, $limit = 5 ) {
global $wpdb, $bp;
if ( $blog_id )
$blog_sql = $wpdb->prepare( " AND p.blog_id = %d", $blog_id );
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
for ( $i = 0; $i < count($post_ids); $i++ ) {
$posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);
}
return $posts;
}
to
function get_latest_posts( $blog_id = null, $limit = 5 ) {
global $wpdb, $bp;
if ( $blog_id )
$blog_sql = $wpdb->prepare( " AND p.blog_id = %d", $blog_id );
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = 1 WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
for ( $i = 0; $i < count($post_ids); $i++ ) {
$posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);
}
return $posts;
}
Note this part ON p.blog_id = 1
– this is blog ID you want to see on your front page & news.
Anonymous User 303747Inactive
gerbilo, I owe you one. Perfect!
In summary – objective was to limit the output in the Recent Blog Posts widget to only a few selected (in my case self-owned) blogs.
Edit bp-blogs-classes.php:
Replace:
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
With
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id IN (1,2) WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
In my example, I use blog_id 1 and blog_id 2.
I don’t like hacking the code, so if there’s anyone who knows to get this done by putting it in the mu-plugins directory and leave the BP code untouched, I’d be interested in learning about it.
Thanks again, gerbilo!
Anonymous User 303747Inactive
In times of desperation, the brutal way trumps anything else
function get_latest_posts( $blog_id = null, $limit = 5 ) {
global $wpdb, $bp;
if ( $blog_id )
$blog_sql = $wpdb->prepare( " AND p.blog_id = %d", $blog_id );
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
for ( $i = 0; $i < count($post_ids); $i++ ) {
$posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);
}
return $posts;
}
That’s the function. What would need adjustment here?
yuParticipant
After delete post in blog i got strange duplicate on my front page in widget ‘Latest posts from blogs’ -> http://tf2.lv
I’ve allready used this function to add DISTINCT for unique record in this widget.. so now i just dunno what to do.. please help (
function get_latest_posts( $blog_id = null, $limit = 5 ) {
global $wpdb, $bp;
if ( $blog_id )
$blog_sql = $wpdb->prepare( " AND p.blog_id = %d", $blog_id );
$post_ids = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT p.post_id, p.blog_id FROM " . $bp['blogs']['table_name_blog_posts'] . " p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = '0' AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit" ) );
for ( $i = 0; $i < count($post_ids); $i++ ) {
$posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);
}
return $posts;
}
I am having issues with recaptcha on signup after an upgrade.
I have all new recaptcha plugin installed, new BP, WPMU 2.6.5., new recaptcha key.
When I register with recaptcha on it loops between initial sigup page and blog title page.
Turn off recaptcha , all is good.
Need recaptcha , I get way too much spam signups.
Any ideas?
Just a quick note to all members of the forums that if you happen to see a thread that looks like spam or has something that needs attention to change or fix, mark the thread with the “modlook” tag. This doesn’t apply to normal threads, generally just use it for spam! Thanks!
yuParticipant
Hey guys! I’ve got strange bug in Recent Blog Posts widget. After editing post by anyone (including author) this widget gets copy of this post in output. Please see it on http://tf2.lv
And also this widget gets post with NON PUBLISH status!
+++
I hope somebody could edit this fuction to help me with that problem ->
function get_latest_posts( $blog_id = null, $limit = 5 ) {
global $wpdb, $bp;
if ( $blog_id )
$blog_sql = $wpdb->prepare( ” AND p.blog_id = %d”, $blog_id );
$post_ids = $wpdb->get_results( $wpdb->prepare( “SELECT p.post_id, p.blog_id FROM ” . $bp . ” p LEFT JOIN {$wpdb->base_prefix}blogs b ON p.blog_id = b.blog_id WHERE b.public = 1 AND b.deleted = 0 AND b.archived = ‘0’ AND b.spam = 0 AND b.mature = 0 $blog_sql ORDER BY p.date_created DESC LIMIT $limit” ) );
for ( $i = 0; $i < count($post_ids); $i++ ) {
$posts[$i] = BP_Blogs_Post::fetch_post_content($post_ids[$i]);
}
return $posts;
}
Alrighteethen, I’ve given up on a reg form on a custom login page.
Even simpler, from a code standpoint is a message on the login page that says “This is a private site. To join, please email the site administrator.” with a spam-proof mailto link. I can then manually sign them up. Pretty clunky, but it sounds like BP will be better at this kind of thing someday soon.
Nothing in spam-folder (I did this several times). Be waiting…
slaFFik, i’m working on it now.. check your spam, i will activete your account..
Yesterday i thought about a Plugins Directory, given that there isn’t one.
To help developers and community i wrote a Plugins Directory where users share his own plugins at http://buddypressdev.org/plugins
I think that who wrote a plugins should have to add his plugin filling out this page
http://buddypressdev.org/add-plugin
/* PLEASE READ
I hope that users understand that this is NOT a spam post but an help to the BuddyPress community to have a Plugins Directory and to share our own plugins..
*/
(i clicked on publish without selecting a category for this topic -.- sorry)
I highly recommend something like this, especially for signups. Spammers target MU blogs to auto-register and then auto-create/post blogs.
Al momento de que un nuevo usuario se registra, no manda el mail confirmatorio de registro, no se que pueda ser, el hosting de la pagina en donde tengo el BP soporta el envio de mails y pues no se como hacerle.
Si alguien me puede dar opiniones o alguna ayuda, gracias de antemano.
El sitio es: http://www.upibi .org/wpmu
(sin el espacio entre la i y el punto, es para evitar spam)
I’ve had a problem similar to #1. The email is actually sent but the recipient’s email server just blocks it. They never get it. It doesn’t get sent to ‘spam’ like gmail or yahoo. They just don’t get it at all.
hotmail
Right? Try complaining to Microsoft.
You don’t
EDIT: That was a bit harsh. I don’t know any way of doing that. I don’t think I want people to be allowed to do that. Spam city. I can have a 1000 junk blogs by somebody generating 1000 emails? No thanks.
When users are signing up on BP, they’re getting the password emailed to them but it’s coming from a funky address, mysite@box387.bluehost.com. That is definitely not what I have on the WPMU backend. The really bad thing is that this address is getting sent to the spam folder for many people. How do I fix this? Thanks!
I know this is a WPMU question but I can’t find the answer anywhere. Plus, BP people are the best.
Not sure if this is a bug or feature.
I requested a “friend” but was still able to send them a wire message even though they had not yet accepted my friendship. I can also post a wire on anyones profile friend or not.
I am guessing this might be a spam/provacy issue?
Just thought i’d let you know!
One of the issues with this would be that spammers could create their own BP sites and gain access to hundreds of other sites.