I try to integrate this forum to phpWCMS (http://www.phpwcms.de)
In this CMS, there is a cool way to integrate external scripts:
Create a new article with text content in it, like
{PHP:path_to_your_script/external.php}
As an example, I integrated the singapore gallery (http://singapore.sourceforge.net) - you can see it in action here (http://www.achilles-kreta.de/gallery.htm)
This would be easy, but the only problem is, that I also have to use the $phpwcmsalias (created with the name oft the article) to call external scripts.
HINT: $phpwcmsalias = name of the article with the content
Another example:
to call a post in smf, the url is "index.php?action=post;blabla..."
Now, in phpWCMS, the url have to be "index.php?forum&action=post;blabla..." where "forum&" ist the phpwcmsalias
Is there a simiar way to do this with smf?
Well, I would personally use output buffering, like this:
smf.php:
<?phpob_start('ob_phpwcms');include_once('/path/to/smf/index.php');ob_end_flush();function ob_phpwcms($buffer){ global $scripturl; return strtr($buffer, array($scripturl . '?' => 'http://www.achilles-kreta.de/index.php?forum&', $scripturl => 'http://www.achilles-kreta.de/index.php?forum'));}
Or similar.... this would have some caveats, see the development of the Mambo Bridge (http://www.simplemachines.org/community/index.php?board=77.0) for more information.
-[Unknown]