Compatibility with bad-behavior-2.0.5
parvell - July 29, 2006 - 01:41
| Project: | Bad Behavior |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Bad-behavior itself has changed the directory structure with version 2.0.x. I tried with the new 2.0.4 but i think the module can't work with this.
Am I right? and if it's so, is there anyway to solve this problem?
Thx a lot

#1
Noticed this also... BB2.0.4 continues to say that
"The third party bad behaviour ..... are not installed"
#2
I have modified lines 203-204 to read:
if (file_exists(WP_BB_CWD . "/bad-behavior/core.inc.php")) {require_once(WP_BB_CWD . "/bad-behavior/core.inc.php");
This, however causes a bigger problem where, as administrator, I cannot access my own site! It comes back with the response:
Where, in fact, I was not cheating. I can't seem to access the page with any of my browsers from my machine, logged in or not. I am looking into this problem to see if I can fix the module to work with the current one. Either that or the new Bad Behavior third-party code is far too restrictive.
#3
Fixed: This change just has to be applied to the module. On lines 203-204, you should include the generic bad-behavior (llinking to the core is now a no-no).
if (file_exists(WP_BB_CWD . "/bad-behavior-generic.php")) {require_once(WP_BB_CWD . "/bad-behavior-generic.php");
Also, in bad-behavior-generic.php you need to change line 84 to return your own e-mail address. It will error out otherwise. Good luck! (Hopefully the module contributor will update this change? And maybe the documentation?)
#4
I'm closing this as there is a *full* solution to using BB2 available on this issues page.
Pobster