These are all the pages I edited for my custom page.
index.php...
Code:
// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
// Start Custom Home Action
'home' => array('Home.php', 'HomeMain'),
// End Custom Home Action
// Start Custom Donation (Minecraft) Action
'donatemc' => array('Donatemc.php', 'DonatemcMain'),
// End Custom Donation (Minecraft) Action
Index.english.php...
Code:
$txt['message_index'] = 'Message Index';
$txt['news'] = 'News';
$txt['forums'] = 'Forums';
$txt['home'] = 'Home';
$txt['donatemc'] = 'Donatemc';
Modification.english.php...
Code:
// Start Custom Donation (Minecraft) Action
$txt['donatemc'] = 'Donatemc';
$txt['donatemc_PageTitle'] = 'Website Name Here - Donation (Minecraft)';
// End Custom Donation (Minecraft) Action
Who.english.php...
Code:
// Start Custom Donation (Minecraft) Action
$txt['whoall_donatemc'] = 'Viewing <a href="' . $scripturl . '?action=donatemc">Index Title</a>.';
// End Custom Donation (Minecraft) Action
Subs.php...
Code:
'donatemc' => array(
'title' => 'Server',
'show' => true,
'sub_buttons' => array(
'donatemc' => array(
'title' => 'Donate (Minecraft)',
'href' => $scripturl . '?action=donatemc',
'show' => true,
),
'votemc' => array(
'title' => 'Vote (Minecraft)',
'href' => $scripturl . '?action=votemc',
'show' => true,
),
'donaters' => array(
'title' => 'Donate (soon)',
'href' => $scripturl . '?action=soon',
'show' => true,
),
'voters' => array(
'title' => 'Vote (soon)',
'href' => $scripturl . '?action=soon',
'show' => true,
),
),
),