Ok, I'm getting ready to install which involves some manual updates.
The first manual update I have to make is:
In ./Sources/Subs-BoardIndex.php
-------------------------------------------------------------------
Find
'href' => $scripturl . '#c' . $row_board['id_cat'],
Replace with
'href' => $scripturl . '?action=forum#c' . $row_board['id_cat'],
-------------------------------------------------------------------
Well when I search that file for:
'href' => $scripturl . '#c' . $row_board['id_cat'],
I only find:
'href' => $scripturl . '#' . $row_board['id_cat'],
That little "#C" is only "#" in my file.
In fact I think that is why almost all of the errors I've received happened. All of the manual mods have that "#c"
If I mod these should I drop the "c" in the mods?
Thanks for any help you can give me.
Here's a full list of the mods I have to make manually:
In ./Sources/Subs-BoardIndex.php
-------------------------------------------------------------------
Find
'href' => $scripturl . '#c' . $row_board['id_cat'],
Replace with
'href' => $scripturl . '?action=forum#c' . $row_board['id_cat'],
===================================================================
In ./Sources/Load.php
-------------------------------------------------------------------
Find
// Start the linktree off empty..
$context['linktree'] = array();
Replace with
// Start the linktree off empty..we need forum for portal
$context['linktree'] = array(array('url' => $scripturl . '?action=forum', 'name' => 'Forum'));
-------------------------------------------------------------------
Find
// Build up the linktree.
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '#c' . $board_info['cat']['id'],
'name' => $board_info['cat']['name']
)),
Replace with
// Build up the linktree. (Need SPortal in linktree)
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '?action=forum#c' . $board_info['cat']['id'],
'name' => $board_info['cat']['name']
)),
-----------------------------------------------------------------
Find
// Set the top level linktree up.
array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => $context['forum_name']
));
Replace with
/* I've never liked this guy, shut him down.
// Set the top level linktree up.
array_unshift($context['linktree'], array(
'url' => $scripturl,
'name' => $context['forum_name']
));
*/
-------------------------------------------------------------
Find
// Verify the id_theme... no foul play.
Replace with
// Maybe we have a portal specific theme?
if (!isset($_GET['action']) && !isset($_GET['board']) && !isset($_GET['topic']) && !empty($modSettings['portalactive']) && !empty($modSettings['portaltheme']))
$id_theme = (int) $modSettings['portaltheme'];
// Verify the id_theme... no foul play.
=================================================================
In ./Sources/Recent.php
--------------------------------------------------------------
Find
'href' => $scripturl . '#c' . $row['id_cat'],
'link' => '<a href="' . $scripturl . '#c' . $row['id_cat'] . '">' . $row['cname'] . '</a>'
Replace with
'href' => $scripturl . '?action=forum#c' . $row['id_cat'],
'link' => '<a href="' . $scripturl . '?action=forum#c' . $row['id_cat'] . '">' . $row['cname'] . '</a>'
---------------------------------------------------------------
Find
'url' => $scripturl . '#c' . (int) $_REQUEST['c'],
Replace with
'url' => $scripturl . '?action=forum#c' . (int) $_REQUEST['c'],
--------------------
Find
'url' => $scripturl . '#c' . (int) $_REQUEST['c'][0],
Replace with
'url' => $scripturl . '?action=forum#c' . (int) $_REQUEST['c'][0],
---------------------