WordPress.org

Ready to get started?Download WordPress

Forums

Email Registration Moderation (16 posts)

  1. Scytle
    Member
    Posted 4 years ago #

    I used to use this method (dirty hack I know but it worked like a charm) to moderate user/site signups for wpmu, http://wpmututorials.com/hacks/how-to-moderate-signups/

    I found similar functions in the new ms-functions.php file but they same kind of hack doesn't seem to work, or perhaps I am doing it wrong, I can't seem to get the system to send me the first email with the information I need to determine if the user is a spammer or not. The nice part of this system was you got to decide if the user even got their blog approved instead of letting them sign up and then being forced to delete both a user and blog from the backend.

    If anyone could give me a hand in applying the same hack above to the new wordpress 3.0 system I would be your best friend!

    Thanks in advance.

  2. Scytle
    Member
    Posted 4 years ago #

    I am currently using that plug-in, but the problem is that that plug in allows the user to register a blog, and then you have to look up they user in the users tab, and the blog in the sites tab, and then if you figure they are spammer delete two things in two different places.

    The beauty of your previous solution was all you had to do was delete the email if you thought they were spammers and they never got put into the system.

    the code looks almost the same in both files, but I can't figure out a way to hack it the way you so eloquently did in the article on your site.

  3. Haven;t had a chance to look at the newest yet. :-/

    Also, I think now I would put a one-line hack in the original wp-signup then use a page template to do a new moderated signup page.

  4. Scytle
    Member
    Posted 4 years ago #

    well if you do look at the new one you will find its almost identical, but i don't think the arrays are the same because the %s don't pop out the same handy data.

    What were you thinking about a moderated signup page?

  5. Scytle
    Member
    Posted 4 years ago #

    does anyone else have a method for moderating signups that is a bit more streamlined than that plugin?

    How do you currently deal with splogs?

  6. I block 'em at the server level.

  7. I use Bad Behavior on my site to stop 'em from being able to access and WPMU-Block-Spam-By-Math to stop them from registering.

    So far, I get MAYBE 1 or 2 fake accounts a month.

    Yeah. Month.

  8. Scytle
    Member
    Posted 4 years ago #

    Andrea are you using an .htaccess edit? If so what, and ipstenu I will install that and see how it goes.

  9. No, I'm not using an htaccess edit.

  10. Hah :) No, I don't use .htaccess for that. I have access to my firewall and just block them at that level.

    But I save that for people running DDOS attacks or hacks.

  11. Scytle
    Member
    Posted 4 years ago #

    so here is my current setup

    Running
    Hash Cash
    bad behavior
    the moderate new blogs plugin
    block spam by math plugin
    and akismet

    Comment spam is totally gone, but I am still getting mad spolgs

    at this point I am still hoping for the original hack (from the first post) that used to work in wpmu to get working in wp 3.0

    If anyone is interested in helping me here is my problem.

    I can successfully get it to email me the activation email instead of the user (the user gets an email that says, "hold on we are checking if you are a spammer" or whatever)

    The problem being, I can't figure out a way to include extra information in that email that is vital to determining if they are spammers or not. Namely I want to include their email address, and what they titled the blog.

    In wpmu 2.9.2 it was easy to include a couple %s in the string it sent you and it just included that info, not so much in wp 3.0...any code gurus want to take a look and give me a hand I would be much appreciated.

    You can find the functions in ms-functions.php (in wp-includes) function name is wpmu_signup_blog_notification, on line 639 (the relevant stuff starts after line 654).

    Then right below that is the one for if they only want a user account, both functions are pretty much the same, so once you hack one you just do the same thing for the one below it.

    Any help would be GREATLY appreciated, as I have a nice little community going and its driving me nuts to delete these users/blogs every day.

    Thanks in advance.

  12. Have you tried putting this into the .htaccess?

    # BEGIN ANTISPAMBLOG REGISTRATION
     RewriteCond %{REQUEST_METHOD} POST
     RewriteCond %{REQUEST_URI} .wp-signup.php*
     RewriteCond %{HTTP_REFERER} !.*domain.com.* [OR]
     RewriteCond %{HTTP_USER_AGENT} ^$
     RewriteRule (.*) http://lmgtfy.com/?q=spammer [R=301,L]
    # END ANTISPAMBLOG REGISTRATION

    You may have to change RewriteCond %{REQUEST_URI} .wp-signup.php* to whatever your login/registration page is (mine is via BuddyPress so it's in a weird spot).

  13. Scytle
    Member
    Posted 4 years ago #

    I have this currently in my .htacess

    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-signup\.php*
    RewriteCond %{HTTP_REFERER} !.*bostonbiker.org.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://bostonbiker.org/2009/11/18/stopping-spammers/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION

    should I take that \ out before .php?

  14. Oh you know, no. You're right. But that should be helping.

Topic Closed

This topic has been closed to new replies.

About this Topic