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:Badwords Hiccup (1 viewing) (1) Guest
TOPIC: Re:Badwords Hiccup
#6815
Badwords Hiccup 1 Year, 7 Months ago  
Hi, I have downloaded the latest files for Badwords2 from www.schoolastech.com/index.php?option=co...unc=select&id=3. After installation of the latest FireBoard build, I have found it was necessary to edit the edit the file

components/com_fireboard/template/default/view.php on line 31.
I changed
“require_once ('components/com_badword/class.badword.php';”
to
” require_once ('components/com_badwords2/class.badwords2.php';”.

That stopped the program tripping up however, when I set the badword option to yes, all posts now have * This message has been censored because it contained one or more words set by the administrator *. The problem here is the only badwords set are badword*,
badword2,
*test*
which I am using for testing. I would appreciate some assistance here please, thankyou.
airgasm (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
 
#7033
Re:Badwords Hiccup 1 Year, 7 Months ago  
Step 1: Modify code in /components/com_fireboard/template/default/view.php by

Delete or comment out

//add notification that the message was filtered for bad words
if ($badwords == "true" {
$msg_text = _COM_A_BADWORDS_NOTICE;
}


Modify

Old Code:

if ($fbConfig['badwords']) {
$badwords = Badword::filter($fb_message_txt, $my);
}


New Code:
if ($fbConfig['badwords']) {
$badwords = Badword::filter($fb_message_txt, $my);
if ($badwords) {
$fb_message_txt = Badword::flush($fb_message_txt, $my);
}
}


Step 2: Modify code in /components/com_fireboard/template/default/post.php by

Old Code:
if ($fbConfig['badwords']){
$badwords = Badword::filter($fb_message_txt, $my);
if ($badwords) {
$fb_message_txt = _COM_A_BADWORDS_NOTICE;
}
}


New Code:

if ($fbConfig['badwords']){
require_once ('components/com_badwords2/class.badwords2.php';
$badwords = Badword::filter($fb_message_txt, $my);
if ($badwords) {
$fb_message_txt = Badword::flush($fb_message_txt, $my);
}
}
begarzus (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#7103
Re:Badwords Hiccup 1 Year, 7 Months ago  
I think by creating this badwords childboard has most definitely increased the focus on the badwords issue.

I've been posting elsewhere without a resolution .... until now.


This has resolved my issues and is a real asset to the more professional forums that I'm in the midst of creating for a client.


I cannot thank you enough for your input in getting this resolved.

Thank you very much.

wilson1973 (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#7328
Re:Badwords Hiccup 1 Year, 7 Months ago  
Thank you for your assistance, it is very much appreciated. I could not agree more wlson1973
airgasm (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
 
#8633
Re:Badwords Hiccup 1 Year, 7 Months ago  
Thanks very much! It works fine.
zkorosi (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#8995
Re:Badwords Hiccup 1 Year, 7 Months ago  
I'd given up with this, but thanks to the mods provided by begarzus it works like a dream. My thanks also to airgasm for letting me know about thsi thread. Cheers guys

roly
roly (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#9908
Re:Badwords Hiccup 1 Year, 7 Months ago  
Hmm, I tried everything described in this post and had no luck.
cusa86 (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#11302
Re:Badwords Hiccup 1 Year, 7 Months ago  
I downloaded from mamboxchange.com/frs/?group_id=251&release_id=671 and didnt have to modify anything
yash (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/06/11 16:14 By yash.
 
 
#11307
Re:Badwords Hiccup 1 Year, 7 Months ago  
No Joy.
I tried to edit the post.php for this error:
Fatal error: Undefined class name 'badword' in /usr/www/users/myname/tacky/components/com_fi...ate/default/post.php on line 1310

And it did not work but produced more errors. I tried to install the latest version of the comp from the last post's link, and it helped not. When I added the changes suggested, I got the error about missing badwords2 something or other in addition to another error.

I don't have any badwords 2 comp as far as I know...

Jeff
jefferis (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#13425
Re:Badwords Hiccup 1 Year, 6 Months ago  
thankyou this helped me as well....

much appreciated

i used this badwords file and edited as advised by the first two posters with success
File Attachment:
File Name: com_BadWords2_1.zip
File Size: 77505
steve2 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/07/01 23:03 By steve2.
 
 
Go to top