1 (edited by Martin R. 2009-07-06 17:56)

Topic: Viewforum.php: $id = 1,2,3;

Hi.

I took viewforum.php and replaced the id-variable with $id = 1;

Is it now possible to mix several forums this way? Something like $id = 1,2,3;

Thank you very much.
Martin


Ps. Thanks for this system. Its the fastest i found and i love it!

Re: Viewforum.php: $id = 1,2,3;

As I understand, you want to display several forums on one page? Or allow to display forums only with certain id?

3 (edited by Martin R. 2009-07-07 16:26)

Re: Viewforum.php: $id = 1,2,3;

Several forums on one page.

Re: Viewforum.php: $id = 1,2,3;

There is no ready extension for displaying several forums on one page at the moment.
You can implement this yourself, by editing the file viewforum.php. Examine its functioning before you do, though.

Follow these steps:
- Change the request for selection of several forums (30th line of viewforum.php)
- Organise saving the request results data in a loop (lines 61 to 152 of viewforum.php)
- Organise displaying forum data in a loop (lines 163 to 357 of viewforum.php)