Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-07-2004, 11:21 PM
~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-07-2004, 11:46 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

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

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, 06: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, 05:16 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

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

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)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:27 PM
ASP.Net 2.0 - redirecting to filler page when site is down DevilDog#1 Web design and Programming 2 06-25-2007 05:13 AM
Moving... ShArP Gaming Talk 13 07-27-2004 08:20 AM
DFLWMS Moving to just forums Scott News 0 12-16-2002 01:07 AM


All times are GMT -5. The time now is 08:46 PM.




Powered by vBulletin®