Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'spam'

Viewing 12 results - 2,701 through 2,712 (of 2,712 total)
  • Author
    Search Results
  • #36107
    fishbowl81
    Participant

    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

    #35965

    In reply to: News Control

    yu
    Participant

    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.

    #35823
    Anonymous User 303747
    Inactive

    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!

    #35795
    Anonymous User 303747
    Inactive

    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?

    #35390
    cdaniel09
    Participant

    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?

    #35289

    In reply to: Require Login

    bluocean
    Member

    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.

    #35038
    Slava Abakumov
    Moderator

    Nothing in spam-folder (I did this several times). Be waiting…

    #35028
    nicolagreco
    Participant

    slaFFik, i’m working on it now.. check your spam, i will activete your account..

    #34905
    David Bisset
    Participant

    I highly recommend something like this, especially for signups. Spammers target MU blogs to auto-register and then auto-create/post blogs.

    #34403
    Burt Adsit
    Participant

    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. :)

    #34016

    In reply to: SMTP Mail

    Burt Adsit
    Participant

    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.

    #33343

    In reply to: Open Use:

    ron_r
    Member

    One of the issues with this would be that spammers could create their own BP sites and gain access to hundreds of other sites.

Viewing 12 results - 2,701 through 2,712 (of 2,712 total)
Skip to toolbar