Redirect My Forum »  Show posts from    to     

Icy Phoenix


Old Support Topics - Redirect My Forum



PCAlligator [ Mon 28 Jan, 2008 16:45 ]
Post subject: Redirect My Forum
Hi everybody.

I have already install and configure Icy on a forder of my server. And convert the database with no problem.

Now, I would like that all my users begins to use the new forum without delete the previous one based on phpnuke for the moment.




How can I redirect the address of my web so that it go directly to Icy forum installed in folder /pruebas/phpbb2 instead of phpnuke that is in the root?

And on the other hand, I would like to stop the forum based un pnpnuke and import all the databases to Icy. Must I convert then to phpbb2 before, and reinstall Icy?

That you for your help.

--- Sorry for my english, I know it is very poor ---


novice programmer [ Mon 28 Jan, 2008 19:34 ]
Post subject: Re: Redirect My Forum
open index.php on your phpnuke forum.

search

<?

or

<?php

add after

redirect ('web_adress_you_want');

save/close all files

Enjoy!


Harimau [ Tue 29 Jan, 2008 11:42 ]
Post subject: Re: Redirect My Forum
Copy this script in to a blank index.php file and rename the http://www.yourwebsite.com/map/

Code: [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>


PCAlligator [ Tue 29 Jan, 2008 11:53 ]
Post subject: Re: Redirect My Forum
Harimau wrote: [View Post]
Copy this script in to a blank index.php file and rename the http://www.yourwebsite.com/map/

Code: [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>


Thank you very much!!

It really works!!


Harimau [ Wed 30 Jan, 2008 11:46 ]
Post subject: Re: Redirect My Forum
PCAlligator wrote: [View Post]
Harimau wrote: [View Post]
Copy this script in to a blank index.php file and rename the http://www.yourwebsite.com/map/

Code: [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>


Thank you very much!!

It really works!!


Your welkom




Powered by Icy Phoenix