Hello
I have some big troubles with comment spam, when I upload words which should be filtered, they still appeare in the comments, but maybe with full caps or just with the first letter in cap, just a little change to the text and its in my comments.
like this : i filter boobs, but users can still Boobs.
there must be a solution to this, a little change to the code or somthing.
I have Gallery v1.5.5-pl1
Posts: 6818
Hello,
open util.php
find: function isBlacklistedComment
replace all ereg calls with eregi
Then the search is case insensitive.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 135
thanks, but I just noticed i have another problem, i have added a few more words to filter, then I press find comment spam and nothing happens, normaly it says nothing found, but now noting, it loads but then nothing.
Once thanks for your reply, you always help, thats great.
Posts: 135
another thing, look for everything with ereg and replace it with eregi, also ereg_bla bla
Posts: 6818
The search comsumes a lot memory. You may run out of it when you have a bigger Gallery.
Try increasing your PHP memory limit.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 135
i dont think its a memory thing, be cause I have done this before, with the same size. another thing, look for everything with ereg and replace it with eregi, also ereg_bla bla