Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: CraftyLion on December 04, 2023, 01:30:01 AM

Title: Hiding Info Centre
Post by: CraftyLion on December 04, 2023, 01:30:01 AM
Forgive me if this has been asked before but is there any way of hiding the Info Centre completely? I'm using TinyPortal which already shows all the information I need in the blocks ...
Title: Re: Hiding Info Centre
Post by: Doug Heffernan on December 04, 2023, 06:23:48 AM
Quote from: CraftyLion on December 04, 2023, 01:30:01 AMForgive me if this has been asked before but is there any way of hiding the Info Centre completely? I'm using TinyPortal which already shows all the information I need in the blocks ...

Do you want it to hide it from everyone? If so at the BoardIndex.template.php file find the following code:

**
 * The lower part of the outer layer of the board index
 */
function template_boardindex_outer_below()
{
    template_info_center();
}

and replace it with:

**
 * The lower part of the outer layer of the board index
 */
function template_boardindex_outer_below()
{
    return;
}