Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:Badword Class - what's the big deal? (1 viewing) (1) Guest
TOPIC: Re:Badword Class - what's the big deal?
#53690
Re:Badword Class - what's the big deal? 6 Months ago  
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.
JDuc (User)
Junior Boarder
Posts: 94
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178490440 Gender: Female DucatiJan bandit098@hotmail.com DucatiJan Location: Little Elm, Texas Birthdate: 1981-06-16
Logged Logged
 
Last Edit: 2008/07/13 21:21 By JDuc. Reason: added info
 
Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC
Database Version: MySQL 5.0.45
Database Collation: UTF-8 Unicode CI
PHP Version: 5.2.2
Web Server: Apache
 
 
#54419
Re:Badword Class - what's the big deal? 5 Months, 2 Weeks ago  
JDUC,

I followed your instructions, and I seem to be making progress, however, the only problem I'm currently having is that when I try to input badwords into the component, I get this error "An Error Has Occurred! Unable to open config file to write!"

Any idea what is causing this?
cusa86 (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#54420
Re:Badword Class - what's the big deal? 5 Months, 2 Weeks ago  
do you have your firebaord_config.php file on the server?
JDuc (User)
Junior Boarder
Posts: 94
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178490440 Gender: Female DucatiJan bandit098@hotmail.com DucatiJan Location: Little Elm, Texas Birthdate: 1981-06-16
Logged Logged
 
Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC
Database Version: MySQL 5.0.45
Database Collation: UTF-8 Unicode CI
PHP Version: 5.2.2
Web Server: Apache
 
 
Go to top