Sorry Andy,
I made a real balls up - and yet I looked at that twice myself and convinced myself it was right.. Far too late at night to be doing anything I'm afraid - and I had already taken some sleeping pills. :(
You're in the right place and here's a zip I have patched so far if you want to use it.. There are still some paths that are wrong - but I'll get to them later today and post them separately so that MG can see those too. :twisted:
It would also probably be better if you did a clean install of IP and don't worry about merging DB's, files and adding it to the CMS straight away until as many errors can be taken out of it that's possible...
http://members.iinet.net.au/~cranky65/album.zip
And when you've downloaded that zip...
You can change these before you "Install" it ....
plugins/album/adm/
x3
admin_album_config_extended.php
admin_album_personal.php
admin_album_auth.php
Find:
$message .= '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid('index.' . PHP_EXT . '?pane=right') . '">', '</a>');
Replace With:
$message .= '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid(IP_ROOT_PATH . ADM . '/index.' . PHP_EXT . '?pane=right') . '">', '</a>');
plugins/album/includes/
x1
album_acp_functions.php
Find:
$message = $in_message . '<br /><br />' . sprintf($lang['Click_return_album_category'], '<a href="' . append_sid('admin_album_cat.' . PHP_EXT) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid('index.' . PHP_EXT . '?pane=right') . '">', '</a>');
Replace With:
$message = $in_message . '<br /><br />' . sprintf($lang['Click_return_album_category'], '<a href="' . append_sid('admin_album_cat.' . PHP_EXT) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid(IP_ROOT_PATH . ADM . '/index.' . PHP_EXT . '?pane=right') . '">', '</a>');
Edit:
After all of this - I put the url (local - xampp) to the album in the browser - and the Album works fine - even uploaded some pictures and went through the motions of checking all the "Pages".
:mrgreen: :lol: :xmas_02:
Later I'll try creating a CMS block - But at least the rest of it seems to be working just fine.
More Edits:
You can add this if you wish - which you will probably need to do anyway as I don't see it adding itself during "activation" of the Album.
templates/default/nav_quick_links.tpl
Find:
<tr>
<td class="tdalignl tw8px">{IMG_NAV_MENU_SEP}</td>
<td class="genmed tdalignl"><a href="{U_INDEX}">{L_LINK_FORUM}</a></td>
</tr>
After ADD:
<!-- Start Album Mod -->
<tr>
<td class="tdalignl tw8px">{IMG_NAV_MENU_SEP}</td>
<td class="genmed tdalignl"><a href="album.php">{L_ALBUM}</a></td>
</tr>
<!-- End Album Mod -->