integrating Phorum under CMS
Posted by Zdravko Balorda
integrating Phorum under CMS December 03, 2009 05:53AM |
Registered: 16 years ago Posts: 59 |
Hi,
I have a large static platform and I want to integrate Phorum as one "category".
How to run phorum from inside pages generated by static CMS (namely Bricolage). I beleive the phorum
templates could be stripped of (header.tpl, footer.tpl) but I wonder is there something like an "entry point" into
phorum application?
Regards, Zdravko.
I have a large static platform and I want to integrate Phorum as one "category".
How to run phorum from inside pages generated by static CMS (namely Bricolage). I beleive the phorum
templates could be stripped of (header.tpl, footer.tpl) but I wonder is there something like an "entry point" into
phorum application?
Regards, Zdravko.
Re: integrating Phorum under CMS January 28, 2010 06:45AM |
Registered: 15 years ago Posts: 24 |
January 28, 2010 08:14AM |
Moderator Registered: 18 years ago Posts: 1,301 |
Take a look at my External Authentication module and my Generic Integration template. The External Authentication module is geared at integrating the behind-the-scenes code of Phorum into an external application, in this case CMS. The Generic Integration template is geared to placing the Phorum pages within another application by pulling out redundant header/footer information and allowing the necessary Phorum headers to be added to the external application's header.
I have tried to document how to use both the module and the template to do this sort of integration and both have descriptive comments within the code as well. The Drupal plugin makes use of the Generic Integration template so you can use that plugin as an example. I also created a Base plugin which can be used as a jumping off point for creating your own CMS plugin for the External Authentication module.
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
I have tried to document how to use both the module and the template to do this sort of integration and both have descriptive comments within the code as well. The Drupal plugin makes use of the Generic Integration template so you can use that plugin as an example. I also created a Base plugin which can be used as a jumping off point for creating your own CMS plugin for the External Authentication module.
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: integrating Phorum under CMS February 03, 2010 09:19AM |
Registered: 16 years ago Posts: 59 |
Hi,
does this Generic integration works without External Authenticaton? What I have in mind is static CMS that can produce
say, something like
<?php
generic_phorum_entry_point(); //everything inside #phorum div
?>
which I guess does not exist.
Another way would be that CMS makes an "empty" page: that is a page without body, from which header and footer
are extracted and preprocessed by header.tpl (or php) and footer.tpl(php). I haven't figured out all the details, here.
Maybe I just don't see how Generic Integration works?!
does this Generic integration works without External Authenticaton? What I have in mind is static CMS that can produce
say, something like
<?php
generic_phorum_entry_point(); //everything inside #phorum div
?>
which I guess does not exist.
Another way would be that CMS makes an "empty" page: that is a page without body, from which header and footer
are extracted and preprocessed by header.tpl (or php) and footer.tpl(php). I haven't figured out all the details, here.
Maybe I just don't see how Generic Integration works?!
Sorry, only registered users may post in this forum.