Simple Portal en SMF 2.0 RC4

Started by Boxerforum, November 03, 2010, 03:34:20 AM

Previous topic - Next topic

Boxerforum

Na de upgrade van één van onze forums naar RC4 was Simple Portal 2.3.2 niet opnieuw te installeren.

Van Simple Portal kreeg ik de volgende oplossing:

Open de SimplePortal_2.3.2.zip en verwijder onderstaande regels uit het bestand package-info.xml:

<!-- Install scripts -->
      <database>install2.php</database>


Hierna kan Simple Portal wel worden geìnstalleerd.


Na de installatie werkt Simple Portal wel maar de knop "Forum" ontbreekt.

Dit is als volgt op te lossen:

Open het bestand subs.php

Zoek:
'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),


Vervang door:
'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href'   => $scripturl . ($modSettings['sp_portal_mode'] == 1 &&   empty($context['disable_sp']) ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
            'sub_buttons' => array(
            ),
         ),


Hierna is de knop forum ook weer terug.

Ik zet dit even in dit support board, dat scheelt voor de anderen misschien een hoop gezoek  :)

Advertisement: