Firefox PHP

Joomla and Phorum integration

Posted by scottmason 
Re: Joomla and Phorum integration
May 30, 2007 03:02PM
Look like you use mostly div in your template and the phorum stuff get flow to the top.

Try to use some table code to contain phorum stuff to see if that make any different.

[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Re: Joomla and Phorum integration
May 30, 2007 05:01PM
Hi,

yeah it's a free tableless template from joomlie junkie, i really don't want to have to start messing about with the code for the template, especially to add tables to it, thanks for the suggestion.

Are there any Joomla people out there who can help with this.

cheers

Scott
Re: Joomla and Phorum integration
May 30, 2007 05:23PM
My site use mostly div in my template too and phorum work just fine in it.

There might be some missing tag that surface when you enable phorum to your site.

Try to run through the validation to see where is the possible problem with your template.

[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Re: Joomla and Phorum integration
May 30, 2007 05:40PM
hi, I tried it with a few different templates, even the default joomla template and it's still the same so i don't think it's a template problem.

I really want to get this working, but i'm completely lost now, i'm sure it's something really simple. HELP!!!

Cheers
Re: Joomla and Phorum integration
May 30, 2007 07:21PM
It's not really the template. In the source code of the page, you can see that the connector's body output is really in front of everything. So it's Joomla, not capturing the printed body data from the connector, but showing it immediately. So the question is if there is a different way of providing the body data for a component. Please check for that with Joomla people / docs. If the data can be sent to Joomla through a function or variable, then it's easy to change the printing to doing the apparent right thing.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Joomla and Phorum integration
May 30, 2007 08:04PM
thanks for all your help guys however, i'm stuck now as im not a coder and have no idea how to do this. I'll try over at the Joomla forum to see if there is a solution. In the meantime if you come up with a solution, please let me know.

How did you guys get it to work with Joomla, was it a simple install or did you have to do a bit of playing around?

thanks again

Scott
Re: Joomla and Phorum integration
May 30, 2007 08:15PM
I didn't do much with it. I just had to modify the Phorum path in the code, install the component and link it to a menu. That's what I needed to get it running.

Please do post to the joomla forum, because it probably is something obvious with the component not providing the data that should go in the body part correctly. Joomla component writers are welcome to join this thread and help figuring out what needs to be done to make this work.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Joomla and Phorum integration
May 31, 2007 10:22AM
Hi Maurice,

In the README file included in the embedded_phorum module, there's a whole bunch of info. Are these instructions? am i supposed to be making changes to files according to any instructions? There's stuff in there about the templates, am i supposed to do anything with the .tpl files. Or is all this just for information purposes.

I Posted the problem on the Joomla site but no responses as yet.

Cheers

Scott
Re: Joomla and Phorum integration
May 31, 2007 10:58AM
It's all just information about the structure of the embedding module. The template instructions are there as a reminder how to convert a template into an embedded template. Only the very start describes what to do with Phorum. But any documentation about how to install Phorum in combination with a connector should go with the connector code, since there's no generic installation instruction that I could provide with the module.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Joomla and Phorum integration
May 31, 2007 11:09AM
Hi,

Thanks,

What is a single glue script? do i have to do anything with this:

Phorum now fully expects to be run from within a master application.
A single glue script is needed to run all Phorum code. A simple
example glue script can be found in:

connectors/stub_example/index.php

Important in the glue script is the creation of a PhorumConnector object,
which is put in $PHORUM_CONNECTOR. This is actually the most important
part for embedding Phorum into another application, because this class
describes how to fit Phorum in there. The connector for this example
glue script can be found in:

connectors/stub_example/connector.php

After that, the glue script will have to include the worker script:

run_phorum.php

Are these instructions that i have to follow? I'm totally confused.

Thanks

Scott
Sorry, only registered users may post in this forum.

Click here to login