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
Solved: 4 Years, 1 Week ago
(08-13-2015, 08:35 AM)Ad Bakker Wrote:
(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.

Alright! I did everything, and it worked! But now I need to disable word filter on the recent post on index.php

And possibly on search.php

EDIT: Alright, I think I have fixed it. Thank you so much everyone for helping !
just a noob.
Jump to the post that solved this thread.

Messages In This Thread
RE: Disabling Word Filter in Thread Subject - by nollidnosnhoj - 08-13-2015, 09:42 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)