Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-08-2004, 12:21 AM
~BLÃÐE~
Unregistered

Posts: n/a

Moving /Redirecting Forums

I have forums at
http://www.nova-outpost.com/phpBB/

and a site at http://www.nova-outpost.com

The site comes with it's own forums in a module
http://www.nova-outpost.com/modules.php?name=Forums

What i want to know is how do i change it so
/modules.php?name=Forums is directed to
/phpBB/

I did try to move all files from phpBB to the module but it didn't work as i assumed.
So i assume i have to change the script somewhere for it to work.

Any help here would be much appreciated.
Reply With Quote
  #2  
Old 11-08-2004, 12:46 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,934

Right after <?(or <?php) in modules.php put in this:

PHP Code:
$temp=$_GET['name'];

If(
$temp=="Forums") {
header("Location: [url]http://www.nova-outpost.com/phpBB/[/url]");
exit;
}
unset(
$temp); 
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 11-08-2004, 07:51 AM
~BLÃÐE~
Unregistered

Posts: n/a

Sweet it worked
I just copy n pasted it in and wOOt!

Thanks very much Scott
Reply With Quote
  #4  
Old 12-07-2004, 06:16 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,934

hmmn i guess unset insn't valid there since it exits before it . oh well glad it works.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Moving J-Factor General Chat 6 11-01-2007 07:27 PM
ASP.Net 2.0 - redirecting to filler page when site is down DevilDog#1 Web design and Programming 2 06-25-2007 06:13 AM
Moving... ShArP Gaming Talk 13 07-27-2004 09:20 AM
DFLWMS Moving to just forums Scott News 0 12-16-2002 02:07 AM


All times are GMT -5. The time now is 12:51 PM.




Powered by vBulletin®