Here is the way to disable update check for phpbb3 forum.

 

1) /adm/style/acp_main.html

Comment out the update check notification red warning box;

Add {# after the <p>{L_ADMIN_INTRO}</p> line and before the {% if S_UPDATE_INCOMPLETE %} line.

And add the #} before the <!– IF S_SEARCH_INDEX_MISSING –> <div class=”errorbox”> line.

 

2)  /includes/acp/acp_main.php

Block by comment out the whole section > acl_get(‘a_board’) as below:

 

        /*

        if ($auth->acl_get('a_board'))

        {

            $version_helper = $phpbb_container->get('version_helper');

            try

            {

                $recheck = $request->variable('versioncheck_force', false);

                $updates_available = $version_helper->get_update_on_branch($recheck);

                $upgrades_available = $version_helper->get_suggested_updates();

                if (!empty($upgrades_available))

                {

                    $upgrades_available = array_pop($upgrades_available);

                }

                $template->assign_vars(array(

                    'S_VERSION_UP_TO_DATE'      => empty($updates_available),

                    'S_VERSION_UPGRADEABLE'     => !empty($upgrades_available),

                    'S_VERSIONCHECK_FORCE'      => (bool) $recheck,

                    'UPGRADE_INSTRUCTIONS'      => !empty($upgrades_available) ? $user->lang('UPGRADE_INSTRUCTIONS', $upgrades_available['current'], $upgrades_available['announcement']) : false,

                ));

            }

            catch (\RuntimeException $e)

            {

                $message = call_user_func_array(array($user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));

                $template->assign_vars(array(

                    'S_VERSIONCHECK_FAIL'       => true,

                    'VERSIONCHECK_FAIL_REASON'  => ($e->getMessage() !== 'VERSIONCHECK_FAIL') ? $message : '',

                ));

            }

        }

        else

        {

            // We set this template var to true, to not display an outdated version notice.

            $template->assign_var('S_VERSION_UP_TO_DATE', true);

        }

        */
Then do the next task in the same file;
Find the <td class=”tabled”>{{ lang(‘BOARD_VERSION’) ~ lang(‘COLON’) }}</td> line.

Replace the following lins;

 

<td class=”tabled”>
<strong><a href=”{{ U_VERSIONCHECK }}” {% if S_VERSION_UP_TO_DATE %}style=”color: #228822;” {% elseif not S_VERSIONCHECK_FAIL %}style=”color: #BC2A4D;” {% endif %}title=”{{ lang(‘MORE_INFORMATION’) }}”>{{ BOARD_VERSION }}</a></strong> [&nbsp;<a href=”{{ U_VERSIONCHECK_FORCE }}”>{{ lang(‘VERSIONCHECK_FORCE_UPDATE’) }}</a>&nbsp;] </td>

 

With the new lines;

 

<td class=”tabled”>
<strong>{{ BOARD_VERSION }}</strong>
</td>

 

3) System Tab Module Permission

 

ACP > System > Module Management > Administration Control Panel

System > Automation > disable

 

Leave A Comment