WordPress.org

Ready to get started?Download WordPress

Forums

bad behavior plugin on multisite installation (43 posts)

  1. Ovidiu
    Member
    Posted 3 years ago #

    @Ipstenu: please don't take this personal, you know I have thanked you for your advice a couple of times but this was not a question about it working or not rather about the newest version incorporating MrBrian's changes as outlined above:

    Unfortunately, it has to go in the plugins folder and be activated network wide. It's not really optimized for multiuser because it creates an SQL table for every blog and stores it's options per blog - you would have go into each individual blog's dashboard to see whats been blocked or change the options making it impossible to use the blacklist api feature.

    That's why I created a modified version for WPMU - it's working great for my blog network. You can put this one in mu-plugins and manage options/logs network wide instead of per blog. Thought I might as well share it.

  2. Right, and what I was saying was 'The plugin works fine as it is today.' Which I feel is important to point out. App works fine. MrBrian's fix ... well, I've never needed it on any of my multisites.

    Unfortunately, it has to go in the plugins folder and be activated network wide.

    When MrBrian says THIS, I have to repeat "Don't do that!" Activate it per-site, works fine.

    And yes, it does store options per-blog. That doesn't mean it doesn't work, it just doesn't work the way MrBrian (or you) wants it to :) It's not the best way for MultiSite, I agree, but it certainly works.

    Also, please don't take this the wrong way, but if you want to know the answer to your question, you need to go to the developer directly. He answers questions faster if you ping him directly, not via the forums (which, when you consider that Bad Behavior is not so much a WordPress plugin but a tool that happens to work on WP, makes perfect sense - also remember that there's no rule saying you must provide support in the WP forums).

    You're asking the wrong people :) Go ask him at http://bad-behavior.ioerror.us/

  3. Ovidiu
    Member
    Posted 3 years ago #

    point taken, I'll contact him directly.

    besides that, you see, my post started with @error and contained a specific question directed at him. he hasn't answered, fine. I haven't bumped the topic. I haven't asked if the original works, I haven't asked if MrBrian's fix works or is needed and I haven't asked how to activate this plugin.

    I'll just assume your answer wasn't directed at me since it is not relevant to my question and leave it at that.

  4. treydock
    Member
    Posted 3 years ago #

    I have done my best to update the plugin mod provided by MrBrian. His mod was of version 2.0.38, so I just merged the changes of the official plugin to bring the mod up to 2.0.43. Please let me know how it works. I'm also going to work on updating the plugin to show up only in the network admin interface introduced in WP 3.1. Here's a link to my article that has the patch file and zip for the plugin, http://itscblog.tamu.edu/wordpress-bad-behavior-plugin-mod/ .

    Thanks
    - Trey

  5. Ovidiu
    Member
    Posted 3 years ago #

    :-) sounds great. how sure are you this is ready for a live site? I don't have a test bed right now.

  6. treydock
    Member
    Posted 3 years ago #

    The modifications were minimal so I would say as long as your running 3.1+ it's production ready. Right now the changes don't check for non-Network installs or earlier versions to add the options pages in the correct places for those particular installs. I'm working on adding in the necessary checks to apply the options pages to non-Network installs and such. Also am working on adding to the options page the ability to add additional whitelist items rather than modifying the array directly in the PHP. Will post once I have that ready.

    - Trey

  7. Ovidiu
    Member
    Posted 3 years ago #

    some people over here mentioned the author is quite responsive on his own site, maybe try contacting him for a merge?
    I also read he's working on a major big version so better keep in touch :-)

  8. Ovidiu
    Member
    Posted 3 years ago #

    @treydock:

    got another idea for your next version: if you get blocked you are presented with an email address to complain. the address show is always the one of the admin, but that doesn't make sense with multisite as they should always get the siteadmin's email or another one but not the individual blog's email....

    whats your take on this?

  9. The network admin is the only one with the power to add a user's IP to the whitelist anyway. Also, presumably, they run the server, so they can make any other changes that are needed. The most a per-site admin can do is forward the email to them.

  10. Ovidiu
    Member
    Posted 3 years ago #

    @Ipstenu: Precisely! Thanks for elaborating. I could change the code myself, but since treydock seems keen on keeping this plugin up to date...

  11. Ovidiu
    Member
    Posted 3 years ago #

    @treydock:

    if you're serious about keeping this mod running, please pay attention to its updated: I just found that my old version was falsely blocking msnbot. found the patch here and all is good now. http://tracker.glfusion.org/view.php?id=712 to make things clear: this was MrBrians modded version, haven't found the time to upgrade to your version yet.

  12. treydock
    Member
    Posted 3 years ago #

    @Ovidiu

    I've actually already contacted the author of Bad Behavior and am sharing all my changes with him. So hopefully down the road there will be a merge.

    The latest Bad Behavior actually has the functionality to keep legitimate bots like msnbot from being blocked. It was 1 or 2 revisions after the version modded by MrBrian. The one linked on my blog , http://itscblog.tamu.edu/wordpress-bad-behavior-plugin-mod/ , incorporates that feature, and another others 2.0.43 and older.

    The idea about a different email would be a good addition. For now the mods I'm making are focused primarily for use with multisite installs. I work for a University and once the students leave and summer roles around I will begin to have more time for my coding work.

    - Trey

  13. Ovidiu
    Member
    Posted 3 years ago #

    great. thanks for your mod, will definitely update MrBrian's right now and start using your version.

Topic Closed

This topic has been closed to new replies.

About this Topic