Topic: Add new action to profile.php

Indispensably create new page based on profile.php, which available all including guests.
Link to page:

my.site/forums/profile.php?action=subscribeg

I added this code in profile.php after section "if ($action == 'change_pass') {...}":

else if ($action == 'subscribeg')
{

    // Setup breadcrumbs
    $forum_page['crumbs'] = array(
        array($forum_config['o_board_title'], forum_link($forum_url['index'])),
        $my_new_page)
    );

    ($hook = get_hook('pf_subscribeg_normal_pre_header_load')) ? eval($hook) : null;

    define('FORUM_PAGE', 'subscribeg');
    require FORUM_ROOT.'header.php';

    // START SUBST - <!-- forum_main -->
    ob_start();

    ($hook = get_hook('pf_subscribeg_normal_output_start')) ? eval($hook) : null;

?>
    <div class="main-head">
        <h2 class="hn"><span><?php echo $forum_page['own_profile'] ? $lang_profile['Change your password'] : sprintf($lang_profile['Change user password'], forum_htmlencode($user['username'])) ?></span></h2>
    </div>
    <div class="main-content main-frm">
<?php

    // If there were any errors, show them
    if (!empty($errors))
    {
        $forum_page['errors'] = array();
        foreach ($errors as $cur_error)
            $forum_page['errors'][] = '<li class="warn"><span>'.$cur_error.'</span></li>';

        ($hook = get_hook('pf_subscribeg_pre_errors')) ? eval($hook) : null;

?>
        <div class="ct-box error-box">
            <h2 class="warn hn"><?php echo $lang_profile['Change pass errors'] ?></h2>
            <ul class="error-list">
                <?php echo implode("\n\t\t\t\t", $forum_page['errors'])."\n" ?>
            </ul>
        </div>
<?php

    }

?>
    <div id="my_content">My content</div>
    </div>
<?php

    ($hook = get_hook('pf_subscribeg_end')) ? eval($hook) : null;

    $tpl_temp = forum_trim(ob_get_contents());
    $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);
    ob_end_clean();
    // END SUBST - <!-- forum_main -->

    require FORUM_ROOT.'footer.php';
}

But have error:

Bad request. The link you followed is incorrect or outdated.

I added "subscribeg" in "forum_urls.php" to all folders in folder "forums/include/url":
include/url/Default/forum_urls.php

    'subscribeg'                =>    'profile.php?action=subscribeg',

include/url/File_based/forum_urls.php

    'subscribeg'                =>    'subscribeg.html',

File_based_(fancy)

    'subscribeg'                =>    'subscribeg.html',

Folder_based

    'subscribeg'                =>    'subscribeg/',

Folder_based_(fancy)

    'subscribeg'                =>    'subscribeg/',

Wich error i did?