View Full Version : [fixed] censored word's in search results
NickyNet
Sun 13th May '01, 7:03pm
now to BUG:
in the search results: CENSORED word's are not changed with asteriks..
tubedogg
Sun 13th May '01, 10:00pm
Make sure you have the words in the censor box correctly (e.g. make sure they have the correct things around them) and also make sure you have the option for censoring set to yes.
---------------------------------------------
You may not post new threads. ???
Post new threads in the troubleshooting forum and a moderator will move it to [the bugs] forum when it is confirmed as a bug.
Welcome to the bugs forum for vBulletin 2.0!
You cannot post new threads in this forum, so that the developers can keep track of what is and what isn't a bug. Post your new issues in the 'troubleshooting' forum, and if it is confirmed as a bug, then it will be moved into this forum.
NickyNet
Sun 13th May '01, 10:10pm
ohhh...
thank you for teaching me for the bug forum.... ;)
about the bug...
i have clicked on Enable censor? yes.
click above on the search button in this forum and enter s h i t (sorry but i must show you) as keyword without spaces and click on Show results as posts then search....
look for the word ;)
tubedogg
Sun 13th May '01, 10:14pm
Interesting...it does appear that search results are not run through censortext().
NickyNet
Sun 13th May '01, 10:20pm
well i don't think it's really a bug...
but should be changed.
John
Tue 15th May '01, 3:22pm
Fixed.
Change line 891 in search.php from:
$searchresult[pagetext]=substr($searchresult[pagetext],0,$spacepos)."...";
to:
$searchresult[pagetext]=censortext(substr($searchresult[pagetext],0,$spacepos))."...";
John
NickyNet
Tue 15th May '01, 3:33pm
thx,
great work
Powered by vBulletin™ Version 4.0.0 Beta 4 Copyright © 2009 vBulletin Solutions, Inc. All rights