Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: library on March 25, 2025, 01:59:40 AM

Title: redirect default ban screen to a custom ban screen
Post by: library on March 25, 2025, 01:59:40 AM
how do i redirect the default ban screen to a custom ban screen that i wrote in html?
Title: Re: redirect default ban screen to a custom ban screen
Post by: Kindred on March 25, 2025, 04:33:17 AM
You would have to recode sections of the core code...
Title: Re: redirect default ban screen to a custom ban screen
Post by: Doug Heffernan on March 25, 2025, 07:44:22 AM
i.e. it will require a custom mod or manual coding as it can't be done with out of the box features.
Title: Re: redirect default ban screen to a custom ban screen
Post by: library on March 25, 2025, 11:33:07 AM
Quote from: Doug Heffernan on March 25, 2025, 07:44:22 AMi.e. it will require a custom mod or manual coding as it can't be done with out of the box features.

what line in what file would i need to modify? i dont think a mod for this function already exists.
Title: Re: redirect default ban screen to a custom ban screen
Post by: Illori on March 25, 2025, 11:41:16 AM
Quote from: library on March 25, 2025, 11:33:07 AM
Quote from: Doug Heffernan on March 25, 2025, 07:44:22 AMi.e. it will require a custom mod or manual coding as it can't be done with out of the box features.

what line in what file would i need to modify? i dont think a mod for this function already exists.

if it was that easy we have told you already, if you dont know how to do it you need to hire a coder to do this for you.
Title: Re: redirect default ban screen to a custom ban screen
Post by: library on March 25, 2025, 12:08:18 PM
sorry. thanks for the help.
Title: Re: redirect default ban screen to a custom ban screen
Post by: Sesquipedalian on March 25, 2025, 12:18:46 PM
There's nothing to apologize for. :)

What you are asking for can be done, but it will take more effort than just a one-line edit. I suggest that you try posting in the Mod Requests (https://www.simplemachines.org/community/index.php?board=79.0) board to ask someone to help you.
Title: Re: redirect default ban screen to a custom ban screen
Post by: library on March 25, 2025, 12:53:27 PM
Quote from: Sesquipedalian on March 25, 2025, 12:18:46 PMThere's nothing to apologize for. :)

What you are asking for can be done, but it will take more effort than just a one-line edit. I suggest that you try posting in the Mod Requests (https://www.simplemachines.org/community/index.php?board=79.0) board to ask someone to help you.

ok! i will! ty for the help!
Title: Re: redirect default ban screen to a custom ban screen
Post by: a10 on March 25, 2025, 02:15:01 PM
This ? https://custom.simplemachines.org/index.php?mod=2385
Title: Re: redirect default ban screen to a custom ban screen
Post by: library on March 25, 2025, 02:25:49 PM
Quote from: a10 on March 25, 2025, 02:15:01 PMThis ? https://custom.simplemachines.org/index.php?mod=2385

wow!!! ty!!! you are incredible!!!

i guess i need to start doing more research going forward. :p