Topic: phpWCMS Integration

Hi,

I try to integrate punBB into phpWCMS.

With phpWCMS, you can integrate external content in different ways.

Here is one possible way:

On phpwcms there you can use "phpwcmsalias". With this alias, you can call external scripts as index.php?punbb&misc.php?action=rules or index.php?punbb&viewforum.php?id=23 instead the regular url.

To integrate, you have to create a text content with a "replacement tag": {PHP:path_to_external_script/index.php} or {PHP:path_to_external_script/external.php}


Is there a way to manipulate the call "index.php?somewhat" to "alias&index.php?somewhat" (or similar)?

Can this be done with punBB?

Greetings, cyaneo

*****************************
Zen Cart - The Art of e-Commerce
*****************************

Re: phpWCMS Integration

in this version you will have to go through and edit each URL in the code, however in 1.3 i think you might be able to do it as a extra to the fancy urls bit

3 (edited by cyaneo 2005-03-09 20:38)

Re: phpWCMS Integration

in this version you will have to go through and edit each URL in the code

Does this mean I have to edit all "define('PUN_ROOT', './');" in all punbb files where they are definded?

Greetings, cyaneo

*****************************
Zen Cart - The Art of e-Commerce
*****************************

Re: phpWCMS Integration

no you will need to edit the links in the code PUN_ROOT is also used for includes not just links

Re: phpWCMS Integration

in the code PUN_ROOT

Sorry - what does this mean exactly?

I read about website integration in the docu and there is the part "However, in order to include this file, you need to define a constant called PUN_ROOT."

Where should I put this in? I try to do this in the index.php of phpWCMS, but doesn't work...

Greetings, cyaneo

*****************************
Zen Cart - The Art of e-Commerce
*****************************

Re: phpWCMS Integration

i don't really know what you'd have to do i've never looked at phpWCMS and i dunno what your trying to do excatly

7 (edited by cyaneo 2005-03-09 22:01)

Re: phpWCMS Integration

i dunno what your trying to do excatly

Just integrate punBB into phpWCMS without iFrames...

1.I installet punBB into a root folder "forums"
2.For integration into other sites I have to use common.php
3.then, I have to define the constant PUN_ROOT -> I have to put a code like

define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';

into my index.php

are this steps right?

On calling the punbb, I get this error:

The constant PUN_ROOT must be defined and point to a valid PunBB installation root directory

So, where do I have to define the constant PUN_ROOT?

Greetings, cyaneo

*****************************
Zen Cart - The Art of e-Commerce
*****************************

Re: phpWCMS Integration

thats not for integrating punbb thats for making a page that can use punbbs variables

Re: phpWCMS Integration

uups - totally missunderstood - wrong way sad

Thank you

Greetings, cyaneo

*****************************
Zen Cart - The Art of e-Commerce
*****************************