Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 2
TOPIC:
#6815
Badwords Hiccup 1 Year, 1 Month ago  
Hi, I have downloaded the latest files for Badwords2 from http://www.schoolastech.com/index.php?op...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
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
The administrator has disabled public write access.  
#7033
Re:Badwords Hiccup 1 Year, 1 Month 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
 
The administrator has disabled public write access.  
#7103
Re:Badwords Hiccup 1 Year, 1 Month 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
 
The administrator has disabled public write access.  
#7328
Re:Badwords Hiccup 1 Year, 1 Month 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
 
Barry Ferguson
logic will get you from A to B - imagination will take you anywhere
Home of BrumbieAir
 
The administrator has disabled public write access.  
#8633
Re:Badwords Hiccup 1 Year, 1 Month 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
 
The administrator has disabled public write access.  
#8995
Re:Badwords Hiccup 1 Year, 1 Month 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
 
The administrator has disabled public write access.  
#9908
Re:Badwords Hiccup 1 Year, 1 Month ago  
Hmm, I tried everything described in this post and had no luck.
cusa86 (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#11302
Re:Badwords Hiccup 1 Year ago  
I downloaded from http://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
 
Last Edit: 2007/06/11 16:14 By yash.
 
The administrator has disabled public write access.  
#11307
Re:Badwords Hiccup 1 Year 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_fireboard/template/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
 
The administrator has disabled public write access.  
#13425
Re:Badwords Hiccup 1 Year 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
 
Last Edit: 2007/07/01 23:03 By steve2.
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop