collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 685
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Path problems  (Read 7008 times)

0 Members and 2 Guests are viewing this topic.

Offline N.E.Media

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Path problems
« on: November 01, 2009, 02:59:42 PM »
I've read and read other topics and none of it fixes my problem.

I'm running smf 1.1.10.

I installed sp 2.3.1

Installed great!

If I set to "Frontpage" I get the full sp portal page with blog and article areas and no boards - this replaces my board index page since my b.index page is in the /forum/ root.

Here's what I want:

I want the page I just described (blogs, articles, no boards) as my welcome home page.  at "www.mysite.com".  Which is "/httpdocs/", one directory back from "/forum/".

Then I want users to hit the forum button which will take them to my usual board directory page:  "www.mysite.com/forum" just as it is now.  Where my boards show.  I will add some blocks to the left of the boards.

Very, very much like THIS site that I'm posting on right now.

How do I do this?

Thank you VERY much!

Dan

Offline N.E.Media

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Path problems
« Reply #1 on: November 02, 2009, 02:02:10 PM »
Heck with it.

24 hours - no help.


Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Path problems
« Reply #2 on: November 02, 2009, 05:24:28 PM »
24 hours is not a long time to wait for support, especially when we have such a small team.

The "Portal Mode" that you want to use is "Standalone".

Move the PortalStandalone.php file from your 'forum' directory to the '/httpdocs/' directory, then rename it to index.php. You will need to edit the 'SSI.php' url within that file (with a relevant text/code editor of some sort).

You will also need to change the 'Standalone URL' to 'www.mysite.com' or 'www.mysite.com/index.php'.

From your post, I think that you might also be having problems adding a 'forum' button. See this tutorial if that is the problem: General Custom Theme Tutorial
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline N.E.Media

  • Semi Newbie
  • *
  • Posts: 21
  • Gender: Male
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Path problems
« Reply #3 on: November 06, 2009, 07:55:20 PM »
I sincerely apologize for a lack of patience!

I'm used to the rapid fire of smf forum.  I kinda forgot where I was.

Very sorry.

Your answer solved my issue!

Dan

Offline mudechevy

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Path problems
« Reply #4 on: January 05, 2010, 06:05:47 AM »
You will need to edit the 'SSI.php' url within that file (with a relevant text/code editor of some sort).


Can you please explain this better to me? I would like to do the same and understand everything but this. What exactly do I change and what do I change it to?
Thanks!

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Path problems
« Reply #5 on: January 05, 2010, 07:37:27 AM »
You will need to edit the 'SSI.php' url within that file (with a relevant text/code editor of some sort).


Can you please explain this better to me? I would like to do the same and understand everything but this. What exactly do I change and what do I change it to?
Thanks!

You can find the relevant instructions within that file, they tell you everything that you need to know. There is a line that you need to edit.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline mudechevy

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Path problems
« Reply #6 on: January 05, 2010, 09:10:03 AM »
I am getting this error: Wrong $forum_dir value. Please make sure that the $forum_value variable points to your forum's directory.
Here's my file:
Code: [Select]
global $sp_standalone;

// Should be the full path!
$forum_dir = 'full/path/to/forum';

// Let them know the mode.
$sp_standalone = true;

// Hmm, wrong forum dir?
if (!file_exists($forum_dir . '/index.php'))
die('Wrong $forum_dir value. Please make sure that the $forum_value variable points to your forum\'s directory.');

// Get out the forum's SMF version number.
$data = substr(file_get_contents($forum_dir . '/index.php'), 0, 4096);
if (preg_match('~\*\s*Software\s+Version:\s+(SMF\s+.+?)[\s]{2}~i', $data, $match) != 0)
$forum_version = $match[1];

// Call the SSI magic.
require_once($forum_dir . '/index.php');

Do I need to change this 'full/path/to/forum'; to '/index.php' or the actual forum /smf/index.php or leave it alone? It loks like I should have just changed this which I did. Call the SSI magic.
require_once($forum_dir . '/index.php


But I tried changing the full/path/to/forum also and still got the error.

Offline jesustarre

  • Semi Newbie
  • *
  • Posts: 8
  • Gender: Male
    • Mundo Mustang
  • SMF Version: 1.1.10
  • SP Version: 2.3.1
Re: Path problems
« Reply #7 on: January 09, 2010, 08:31:10 PM »
Just Go to SMF Admin -> Server Config -> SMF Directory

Copy the Ful Directory and change for full/path/to/forum, that it

Regards


Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Path problems
« Reply #8 on: January 11, 2010, 10:04:15 PM »
Any updates on this issue mudechevy? You need to change the '$forum_dir' value as jesustarre indicated.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Molly

  • Newbie
  • Posts: 2
  • SMF Version: None
  • SP Version: None
Re: Path problems
« Reply #9 on: September 04, 2010, 10:18:26 PM »
I changed my PortalStandalone.php to the index.php file from a previous thread, I don't know where that was. I found it after posting in another thread about the forum botton not showing, another story altogether; anyways.

I went to my forum and edited the configuration to standalone and put a url (http://www.oakgrovehome.com/index.html) in there but put .html instead of .php, I realized later. I cannot load my forum at all. No links work, I get Http 404 error, Http 500 Internal Server Error and this "[an error occurred while processing this directive] " I went back and put my original index.php file back and I'm still getting the same errors.

Can anybody tell me what I did or did not do correctly? If I missed anything or you have any questions ask. I'm just "Ugh" :0 lol.

Molly

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Path problems
« Reply #10 on: September 13, 2010, 02:45:40 PM »
Portal Standalone Mode -- for when you want your portal in one directory and the forum in another.
(But not in different domains)
 
1) You want your portal page /index.php, but you want your forum at /smf/index.php (or /form/index.php or /<something>/index.php)
 
2) So you install (or have already installed) your forum at /<something>/index.php
 
3) Now, you want to set up your standalone portal.  Find the Standalone Portal file. that's PortalStandalone.php  in SimplePortal 2.3.2  Edit that file, following the instructions you find in it to put in the correct path to your forum.
 
4) Save that file as /index.php, so that when someone comes to your site -- that's the file they'll get.
 
5) Go to /<something>/index.php?action=admin;area=portalconfig;sa=generalsettings and make the following changes:
  a) Portal Mode: Standalone
  b) Standalone URL: /index.php
 
Now, your standalone portal page understands where to find the forum, SimplePortal knows where to find the portal page, and your site works the way SimplePortal is designed to work.
 
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?