ok - here's what I've done to make it NOT show the error, however, it's not filtering the words...
in file: components/com_fireboard/template/default/view.php (change default to your specific template if you're using a different template)
On line 46, find:
| Code: |
if ($fbConfig['badwords']) {
if (is_file($mosConfig_absolute_path.'/components/com_badword/class.badword.php')) {
require_once ($mosConfig_absolute_path.'/components/com_badword/class.badword.php');
|
and replace with:
| Code: |
if ($fbConfig['badwords2']) {
if (is_file($mosConfig_absolute_path.'/components/com_badwords2/class.badwords2.php')) {
require_once ($mosConfig_absolute_path.'/components/com_badwords2/class.badwords2.php');
|
On line 922, find:
| Code: |
if ($fbConfig['badwords']) {
$badwords = Badword::filter($fb_message_txt, $my);
|
and replace with:
| Code: |
if ($fbConfig['badwords2']) {
$badwords2 = Badwords2::filter($fb_message_txt, $my);
|
On line 947, find:
| Code: |
if ($badwords == "true") {
|
and relace with:
| Code: |
if ($badwords2 == "true") {
|
Now to figure out why it's not filtering words....
EDIT: Bot MUST be installed along with the component.
Component can be found here:
link
Bot can be found here:
link
NOTE: You MUST unzip this to get to the bot.zip. It seems that it's a .zip within a .zip.