Support » Networking WordPress » Email Registration Moderation

  • I used to use this method (dirty hack I know but it worked like a charm) to moderate user/site signups for wpmu,

    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.

Viewing 15 replies - 1 through 15 (of 15 total)
  • 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.

    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.

    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?

    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?

    I block ’em at the server level.

    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.

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

    No, I’m not using an htaccess edit.

    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.

    so here is my current setup

    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.

    Have you tried putting this into the .htaccess?

     RewriteCond %{REQUEST_METHOD} POST
     RewriteCond %{REQUEST_URI} .wp-signup.php*
     RewriteCond %{HTTP_REFERER} !.** [OR]
     RewriteCond %{HTTP_USER_AGENT} ^$
     RewriteRule (.*) [R=301,L]

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

    I have this currently in my .htacess

    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-signup\.php*
    RewriteCond %{HTTP_REFERER} !.** [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) [R=301,L]

    should I take that \ out before .php?

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Email Registration Moderation’ is closed to new replies.