PUNBB Forum Integration Help
PUNBB Forum Integration Help
Can anyone help me out with how to integrate the PUNBB Forum into phpwcms...
I think it is suppose to work, but everyway I try I get errors...
Thanks....
Details available upon request, I don;t really know what you need ( I am a newbie)
Thanks Again!
I think it is suppose to work, but everyway I try I get errors...
Thanks....
Details available upon request, I don;t really know what you need ( I am a newbie)
Thanks Again!
Michael S. Wilson
Michael,
Here's exactly what you're looking for: http://phpwcms.de/forum/viewtopic.php?t=9003
PunBB was integrated here - http://www.pourunquebecsolidaire.org/index.php?forum
They integrated the forum using a dynamically-sized iframe. If you view source, you'll notice the following code in the head:
Then, they just inserted the following iframe code to plunk it in the page:
Let me know how this works out for you.
Here's exactly what you're looking for: http://phpwcms.de/forum/viewtopic.php?t=9003
PunBB was integrated here - http://www.pourunquebecsolidaire.org/index.php?forum
They integrated the forum using a dynamically-sized iframe. If you view source, you'll notice the following code in the head:
Code: Select all
<script type="text/javascript" language="JavaScript">
<!--
function calcHeight()
{
var the_height=document.getElementById('the_iframe').contentWindow.document.body.scrollHeight; //find the height of the internal page
document.getElementById('the_iframe').style.height=the_height; //change the height of the iframe
}
//-->
</script>
Code: Select all
<iframe src="include/inc_ext/punbb/index.php" id="the_iframe" onLoad="calcHeight();" width="600px" height="1" name="the_iframe" scrolling="no" frameborder="0">If you see this text your browser didn't support iframes. so see the page click on at the following link. <a href="http://www.pourunquebecsolidaire.org/include/inc_ext/punbb/index.php.com/albums/" target="_blank">Photoalbum</A></iframe>
I don't know of any situations where it won't work well, but the code in between the opening and closing iframe tags is a nice safeguard:
Code: Select all
If you see this text your browser didn't support iframes. so see the page click on at the following link. <a href="http://www.pourunquebecsolidaire.org/include/inc_ext/punbb/index.php.com/albums/" target="_blank">Photoalbum</A>
Recent Posts
Does anyone know how I can call the Recent Posts using extern.php in the Navigation column of my site...Under the Menu
Thanks....
Thanks....
Michael S. Wilson
The Answer and ANOTHER QUESTION
In my main site template, I placed the following code in the Left: Section:
Then in the extern.php file I changed the following line:
I just modified the end number until the text did not wrap...
You can see how it looks here...www.lpwv.org
Besides that, there was nothing else...
I am a newbie, but it seems you can call any <?includes> just by placing the [PHP] REPLACEMENT TAGS around it...
Hope this helps someone else....
MIKE
QUESTION:
When you click the links in the Recent Posts...It is opening a new window...Does anyone know how to get that to call to the page where it is integrated into the phpwcms? I.E. http://www.lpwv.org/index.php?id=18,0,0,1,0,0
Code: Select all
<hr><table padding="3"><tr><td>
<b>ACTIVE FORUM TOPICS</b><br /><br />
[PHP]include('http://www.lpwv.org/forums/extern.php?action=new&show=10&fid=5,6,7');[/PHP]</tr></td></table><hr>
Code: Select all
// The length at which topic subjects will be truncated (for HTML output)
$max_subject_length = 30;
You can see how it looks here...www.lpwv.org
Besides that, there was nothing else...
I am a newbie, but it seems you can call any <?includes> just by placing the [PHP] REPLACEMENT TAGS around it...
Hope this helps someone else....
MIKE
QUESTION:
When you click the links in the Recent Posts...It is opening a new window...Does anyone know how to get that to call to the page where it is integrated into the phpwcms? I.E. http://www.lpwv.org/index.php?id=18,0,0,1,0,0
Michael S. Wilson