Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Integration with PHP
Hi all
How is it possible to integrate the vanilla forum in an existing PHP-file?
my setup:
* index.php (my main script, runs every page request through htaccess)
* vanilla/index.php (the vanilla script. i won't use this path)
* domain.com/Page-Forum/ (should load the main vanilla page)
* domain.com/Page-Forum/discussion (like this should the other vanilla links looks like)
problem:
i can include the vanilla/index.php, but have big problems with the vanilla ressource paths and the generatet url's.
i can't rename the vanilla folder to "Page-Forum" because in my index.php is a lot of dynamic content that i want reuse.
js-embed is not my solution.
thanks for any help!
regards stefan
How is it possible to integrate the vanilla forum in an existing PHP-file?
my setup:
* index.php (my main script, runs every page request through htaccess)
* vanilla/index.php (the vanilla script. i won't use this path)
* domain.com/Page-Forum/ (should load the main vanilla page)
* domain.com/Page-Forum/discussion (like this should the other vanilla links looks like)
problem:
i can include the vanilla/index.php, but have big problems with the vanilla ressource paths and the generatet url's.
i can't rename the vanilla folder to "Page-Forum" because in my index.php is a lot of dynamic content that i want reuse.
js-embed is not my solution.
thanks for any help!
regards stefan
Tagged:
0