bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Bad Behavior For bbPress (HowTo)

(4 posts)
  • Started 1 year ago by Trent
  • Latest reply from chrishajer
  • This topic is not a support question
  1. I have another post in the forum, but if you are interested in using a great software package that limits spam and server attacks before they access the site, then you might be interested in Bad Behavior. I really like it because it really decreases the load on the server as well.

    While they do not have a plugin for bbPress and creating one isn't in the cards right now, you can do it by downloading the newest Bad Behavior release and placing it as a folder in the root of your bbPress installation.

    After that, you just need to call it. I did this by adding the following to config.php after the /* Stop editing */ part.

    require_once( BBPATH . '/Bad-Behavior/bad-behavior-generic.php');

    That is the easy way without a plugin. Just thought I would share it for those that are interested.

    Trent

    Posted 1 year ago #
  2. Trent, I installed this and the install went smoothly. How can I test this or know that it's actually working? What differences would I see? I didn't see any testing procedure in the FAQ at http://www.homelandstupidity.us

    Thanks for sharing the procedure.

    Posted 1 year ago #
  3. The standalone version doesn't have the ability to log, so it is difficult to test it without having someone do something that Bad Behavior doesn't like! That being said, I am 99.9% sure it would be working if you are still able to bring up your forums because if you install it incorrectly, it will not let you access your pages and block everything until you get it right.

    The good thing about Bad Behavior is, install and forget about it!

    Trent

    Posted 1 year ago #
  4. Hi Trent, Merry Christmas. I did install it and it apparently was working since someone got blocked :yikes: I could not find any logging anywhere, and to fix it yourself with the code provided

    > Your technical support key is: 0000-zzzz-yyyy-xxxx
    >
    > You can use this key to fix this problem yourself.

    you need to log in to the ioerror/homelandstupitidy site here:
    http://www.ioerror.us/ip/

    But with the IP that was blocked. So, with no logging and no way to know why this legitimate user was blocked, I disabled it. I was looking at the logging a bit (using bad-behavior-wordpress.php as an example as suggested) but I haven't figured it out yet. I was hoping there was a config section with four lines like WP or BB, where I could enter the DB details, but it's not there :)

    So, turned off for now. It was doing something though, I just don't know what or why.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.