Firefox PHP

Newbie: Integrate in CMS...

Posted by lindstrom 
Newbie: Integrate in CMS...
December 11, 2006 02:23PM
First of all I know that there simliar questions pending around, bu I am an absolutely newbie and just need some tips:

I am using the CMS webEdition for my site. Recently I found Phorum and I am very impressed. I installed it without problems and decided to include in my running site. So in future I want to use Phorum - but without registration and so on. I read in FAQ´s below point 8 that I have to use the portable folder for including, but as I said before - I am a newbie - and so that´s all I know.

Could you please give me a step by step "how to" for including Phorum into another site? (I don´t need registration - and so I guess I don´t need the addon with connectors I found here in the forum)

Thanks a lot and sorry for my stupid question and my bad English ;-)
Re: Newbie: Integrate in CMS...
December 13, 2006 02:06AM
Please, give me some help...
Re: Newbie: Integrate in CMS...
December 13, 2006 08:02AM
Since you don't need to integrate the phorum and your CMS, what you want to do is a portable installation. The phorum files are installed in a subdirectory of your site. You will end up with phorum_admin and phorum_settings in your root website folder (these files will have to be modified for your configuration.
Re: Newbie: Integrate in CMS...
December 13, 2006 10:01AM
Ok, thanks for message. This means:

1. I copy these two files in the Phorum root directory
2. modify these files
3. include Phorum in my CMS

Correct? If this is correct, I have two questions:

1. What do I have to change in these two files?
2. Which file do I have to include?

Thanks a lot...
Re: Newbie: Integrate in CMS...
December 13, 2006 10:46AM
> 1. What do I have to change in these two files?

depends on your cms, its url-format and stuff.
just dig into the files.

> 2. Which file do I have to include?

phorum.php


Thomas Seifert
Re: Newbie: Integrate in CMS...
December 13, 2006 03:12PM
Ok, I did it and it seems almost to work. Now, when I go to the url: www.mydomain.de/phorum.php the forum appears and it works fine. But when I include it with the include-function of my cms (webEdition) nothing appears. When I use the normal include option with <? include ("/kunden/83050_33184/webseiten/projekte/phorum/phorum.php"); ?> appears this error:

Warning: main(./phorum_settings.php): failed to open stream: No such file or directory in /kunden/83050_33184/webseiten/projekte/phorum/phorum.php on line 9

Warning: main(): Failed opening './phorum_settings.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/83050_33184/webseiten/projekte/phorum/phorum.php on line 9

Warning: chdir(): No such file or directory (errno 2) in /kunden/83050_33184/webseiten/projekte/phorum/phorum.php on line 11

Any idea?
Re: Newbie: Integrate in CMS...
December 13, 2006 03:14PM
you need to change that line

> include_once "./phorum_settings.php";

otherwise it can't find the settings.


Thomas Seifert
Re: Newbie: Integrate in CMS...
December 14, 2006 03:31AM
Ok, thank you. I changed the path and now the forum appears in my template. But when I click on a link - the next page appears in Phorum-design again. So for now it is not all integrated but only the start page. Where can I change this?



Edited 1 time(s). Last edit at 12/14/2006 03:55AM by lindstrom.
Re: Newbie: Integrate in CMS...
December 14, 2006 04:06AM
Ok, now it works. The path in admin area was wring. Thanks a lot for your help!!!

Just a last question: When I click on Login the following message appears above the form:


Warning: Cannot modify header information - headers already sent by (output started at /kunden/83050_33184/webseiten/projekte/site/cms/webEdition/we/templates/forum.tmpl:29) in /kunden/83050_33184/webseiten/projekte/phorum/login.php on line 238

Any idea?



Edited 1 time(s). Last edit at 12/14/2006 04:28AM by lindstrom.
Re: Newbie: Integrate in CMS...
December 14, 2006 08:52AM
this might help:
[www.phorum.org]


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login