SimplePortal

Customization => Custom Coding => Topic started by: Nabil on May 01, 2009, 04:47:14 AM

Title: Some Manual Installation
Post by: Nabil on May 01, 2009, 04:47:14 AM
Hi everyone,
I tried to Install Simple Portal 2.2 using the Package Manager
I get some errors when applying , those errors are in the following files :

Index.php
BoardIndex.php
Recent.php
Who.english.php


I beleive this is happening because I made changes or Installed other Mods before , so I need the Manual Installation of the above mentioned Files, the rest are successful and can be applied .
it'll be nice if you can show me the Manual Installation of the above files , thanks .


Title: Re: Some Manual Installation
Post by: Nathaniel on May 01, 2009, 06:49:39 AM
You can use the 'Manual Install Instructions for SMF' function on the SMF download page for SimplePortal (http://custom.simplemachines.org/mods/index.php?mod=1104) to get a list of all the edits that are required for those files.

If you need help with the edits, then you'll have to post those files as attachments. :)
Title: Re: Some Manual Installation
Post by: Nabil on May 01, 2009, 09:11:43 AM
where is
Code: [Select]

// Action and board are both empty... BoardIndex!

Can't find it !!

I have the following in ./Index.php
Code: [Select]

// Action and board are both empty... SPortal!
if (empty($board) && empty($topic) && !empty($modSettings['portalactive']))
{
require_once($sourcedir . '/SPortal1-1.php');
return 'SPortal';
}
// Action and board are still both empty but no portal... BoardIndex
elseif (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir . '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir . '/Display.php');
return 'Display';
}
}
SimplePortal 2.3.8 © 2008-2024, SimplePortal