Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 1 Week ago Disabling Word Filter in Thread Subject
#9
Solved: 4 Years, 1 Week ago
(08-13-2015, 06:29 AM)nollidnosnhoj Wrote: I commented it out, and it worked when viewed in forumdisplay.php

but when viewing showthread.php (like the screenshot presented in the first post), it didn't work.

I tried commenting out the lines in showthread.php with the phrase (badwords) and none didn't work.

I hope you did not comment out line 82, because then it is better to change lines 82 and 83 into:

$reply_subject = $thread['subject'];
$thread['subject'] = htmlspecialchars_uni($reply_subject);

I left it in this way because the coding is a bit messy there, and the variable $reply_subject is used also elsewhere.

In attitionĀ  line 1141 could be commented out, although this is only for similar threads and probably not relevant here. The same yields for line 1554, which is only used for threaded view, whereas I expect you only use linear mode.

I just see now, that for showthread, the subject is parsed on bad words again in inc/functions_post.php line 166, so also this line should be commented out.
Regards, Ad Bakker (NL)
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: Disabling Word Filter in Thread Subject - by Ad Bakker - 08-13-2015, 08:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)