Page 1 of 1

miniBB integration

Posted: Mon 17. Oct 2005, 11:46
by maxinfo
Does anybody make an integration miniBB forum in phpwcms?
It can be simply intergrated in own scripts - that they say (http://www.minibb.net/forums/index.php? ... cludeindex) but I trywith "ext. content" .. and without success. :cry:

Posted: Tue 18. Oct 2005, 04:20
by Pappnase
hello

you need to use an iframe for this!

Posted: Tue 18. Oct 2005, 18:34
by maxinfo
And what if I don't wan't use iframe? Iframe works, but id unusefull if u want to add site to searchengines - spiders don't fallow iframe (I think).
Any others ideas?

Posted: Tue 18. Oct 2005, 18:56
by frold
Why dont you place that code in a phpfile (foruminclude.php) and call that file via the php reptag?

Posted: Tue 18. Oct 2005, 20:18
by maxinfo
ok... i try this. THe forum shows but when i click on forum link (to go inside topic) nothing happen. :cry: I'm still on forum index page, can't go inside forums and topics :?
Forum script doesn't recognize variables in URL, I think.
I made few sietes and there was no problems with including php scripts (for example http://www.astrada.net/index.php?cennikciscogpl) but with miniBB I have a BIG problem!

Posted: Tue 18. Oct 2005, 23:14
by pSouper
sorry frod - that will only work for the front page - you will need to edit almost every link in the forum code - it's not small

Posted: Wed 19. Oct 2005, 13:59
by maxinfo
Please look at this pictures:

When I use php include function and add this file using content part "ext.content"

Code: Select all

<?php
include('forum/index.php');
?>
Image

and I get this on fronted:

Image

or this (depending on forum configuration):

Image

And when I put all link to forum (http://www_mysite_com/forum/index.php):

Image

I get somethnig like this:

Image

This look ok and all links in forum are http://www_mysite_com/index.php?id=24,0,0,1,0,0&action=vtopic&forum=1
but I can't go inside forum. When click on this link I'm still on the forum front page :cry:

BTW... miniBB has a very usefull option in setup file. U can declare default index page for forum:

Code: Select all

$indexphp='index.php?id=24,0,0,1,0,0&';
Forum scripts use this variable to create forum links. If I change $indexphp to my forum page in phpwcms (like above) I get links:

Code: Select all

http://www_mysite_com/index.php?id=24,0,0,1,0,0&action=vtopic&forum=1

Posted: Thu 22. Dec 2005, 16:28
by Wurzelchensen
maxinfo wrote:spiders don't fallow iframe (I think).
Is that true?