Hi. I hope you are well.
I am trying to create a custom ban screen for my phpBB installation. More specifically, when a user gets banned from my forum, I want to redirect the default screen to a separate page (that I wrote in HTML). Thus, I inserted the below code in the "functionuser.php" file (immediately after the "if ($ban_len)" tag). Thankfully, doing so did not break my site at all, but the bad news is that the code in question did not redirect the default ban screen to the intended page.
(Code referenced above: redirect(append_sid("/my/file/path.html"));)
So, what should I do? Is there an extension that could do this for me, or do I need to insert a different script in a different file? How can I redirect the default ban page to a custom ban page?
Thanks in advance.
I am trying to create a custom ban screen for my phpBB installation. More specifically, when a user gets banned from my forum, I want to redirect the default screen to a separate page (that I wrote in HTML). Thus, I inserted the below code in the "functionuser.php" file (immediately after the "if ($ban_len)" tag). Thankfully, doing so did not break my site at all, but the bad news is that the code in question did not redirect the default ban screen to the intended page.
(Code referenced above: redirect(append_sid("/my/file/path.html"));)
So, what should I do? Is there an extension that could do this for me, or do I need to insert a different script in a different file? How can I redirect the default ban page to a custom ban page?
Thanks in advance.
Statistics: Posted by paddington_bear — Thu Sep 19, 2024 4:23 am