Call up an outside forum inside Nuke?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Call up an outside forum inside Nuke?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Can anyone lead me in the direction of how to do the following:?

I am running PHPNuke 7.4 Patched.

I am wondering if it is possible to have a forum in a different directory from nuke, and then be able to call to the forum so it shows up just like it is included in nuke. In other words, lets say I have PHPNuke installed in the root directory, html.

I have the forums (phpBB) installed in the forums directory. Is it possible using Iframe, or something so this forum is called into the phpnuke program just like the forum that comes with nuke?

Any help is appreciated.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#2   re: Call up an outside forum inside Nuke?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Hi, Yes I did this once with an Invision board I had. Save this code as index.php and insert it into a new module directory with whatever name you like.

<?php

if(!isset($mainfile)) { include("mainfile.php"); }
$index = 0; // right side off

include("header.php");
print "<div align=\"center\"><font size=\"-7\" color=\"$textcolor1\"></div>";
?>
<table width=100% border=0 cellspacing=0 cellpadding=2 height=100%>
<tr><td><table width=100% border=0 cellspacing=0 cellpadding=0" height="100%"><tr><td>
<center><iframe id=1 name="portal" src="ADD_HERE_YOUR_URL" width="100%" scrolling="auto" height="1200" frameborder="0"></iframe>
</center></td></tr></table></td></tr></table>
<?
include("footer.php");
?>


Just replace:

src="ADD_HERE_YOUR_URL"
to
src="http://www.yousite.com/forums/"

This worked for me with Nuke 6.5.


Back to top Reply with quote
#3   re: Call up an outside forum inside Nuke?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Thanks, that almost worked, but wasn't quite it. it made a frame which needed scrolled inside a frame.

I think this is on the right track though.




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#4   re: Call up an outside forum inside Nuke?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
I also run Nuke 7.4 patched, I just installed the standalone phpBB forum and made a test module and it works fine. Check it out here: [ Register or login to view links on this board. ] and click the module named "test". Is this what you wanted?



Back to top Reply with quote
#5   re: Call up an outside forum inside Nuke?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Well, what happens is if the forum is very long, ie. has several categories, it causes the page to add a scroll bar. Here, i will show you what I mean.
[ Register or login to view links on this board. ]

The link is Forum2




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#6   re: Call up an outside forum inside Nuke?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Yes I see that. I suppose you can always adjust the height:
height="1200"


Just change that part of the code to something other than 1200. Then again I see you have some addional side items on that forum and it kinda pushes everything to the right. Maybe Telli will see this post and help ya out. Sorry if it's not what you wanted.


Back to top Reply with quote
#7   re: Call up an outside forum inside Nuke?
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Not a prob. You got me on the right path here. I have the option of removing the other blocks, (I started that forum as a stand alone, and was checking on some options with it)




_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum