Author Topic: Badword list doesn't work  (Read 5642 times)

0 Members and 1 Guest are viewing this topic.

Offline Maarten

  • Newbie
  • *
  • Posts: 16
    • View Profile
Badword list doesn't work
« on: June 03, 2006, 10:07:11 PM »
Hi,

As the subjectline suggest the badword list doesn't work in my gallery (1.7.2). The objective is to add http and www as badwords, to avoid spam.
But any other addition to the badword list has no effect either ("test", for instance).

Any clues would be greatly appreciated.

Thanks.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Badword list doesn't work
« Reply #1 on: June 03, 2006, 10:38:55 PM »
bad words where?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Badword list doesn't work
« Reply #2 on: August 12, 2006, 03:58:32 PM »
well it seems i also have a problem with the bad word list in ACP setting (v1.7.2 & 1.7.3)!

when i save my setting, i can't see the bad word list  8O because the words are hidden by the remplacement caracters!
So the remplacement seems to work but it's a problem if you can't see the words you have already writen...

someone with the same problem?
ch€ri{Bi}²


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Badword list doesn't work
« Reply #3 on: August 12, 2006, 09:09:38 PM »
I dont have this problem on fresh v1.7.2/1.7.3
what is the list you have?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Badword list doesn't work
« Reply #4 on: August 12, 2006, 10:32:29 PM »
 :? same effect with all words!
asap i will send a link to a test gallery...
ch€ri{Bi}²


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Badword list doesn't work
« Reply #5 on: August 12, 2006, 10:40:40 PM »
Strange, is your format_text function modifyed from the original one?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Badword list doesn't work
« Reply #6 on: August 12, 2006, 11:33:50 PM »
yes i have some modifications for bbcode....
but even if i delete the modifications the problem is still present !

in fact i also have a problem when use the * character as replacement: my list grows with extra **** each time i save my settings !
i don't have this last problem when i use another character.
ch€ri{Bi}²


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Badword list doesn't work
« Reply #7 on: August 13, 2006, 01:01:54 AM »
Ok, for test sake, replace your includes/funktions.php, and admin/settings.php with fresh, not modifyed, at least it will tell you if these two files are responsible...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Badword list doesn't work
« Reply #8 on: August 13, 2006, 08:48:47 AM »
:oops: i found my mistake! it comes from my last upgrade...
in functions.php, the line with $text = replace_badwords($text); was in the wrong place, outside an if statment....

thank you for your help V@no! it works now!
ch€ri{Bi}²