![]() |
What did you guys do to get the front page of the portal to show up first. I have installed it and renamed the renamed folder as "home" because I couldnt get the coding right in the index file. That works but the forums are the first page everyone sees
|
Normally, this is in the PCA under general configuration :)
|
Quote:
<?php Header("Location: http://www.wars-realm.com/index.php?home"); ?> Just save it as index.php in your main directory. |
Quote:
Code:
Then save it as index.php. Make sure its not index.php.txt. Then simply upload it to your web server. Normally you upload it into the public_html directory. Then when someone vists your domain name then it will take you right to the portol. Changes urls of course. Thats the easy way. ;) |
Tried that. It didnt work for me
|
Quote:
You do have php right? lol What do you mean it does not work? Is it plain text, blank white page, error message or something else? Meta refresh of course works as well. ;) Code:
Or just simply like this. index.html Code:
|
This what the some of the code looks like in the portal file that should be index.php but I had to rename it to "home" to get the portal to work. Anything that needs to be changed here? I tried to use "forums"(which is where my board is installed) but I got errors and it didnt work .Php version is 4.3.8
// Define the path to where the forums directory is // located. This might be "./forums/" for example. // Don't forget the trailing slash! //define( 'ROOT_PATH', "./" ); define( 'ROOT_PATH', "./" ); define( 'KERNEL_PATH', ROOT_PATH.'ips_kernel/' ); // Define the URL to this script. If you're happy to // use relative URLs - you can leave this blank. // You can also rename the script here. $this_script = 'home.php'; |
Im about ready to chuck it unless someone can un-confuse me. Actually the instructions say to upload the file to the public.html or www folder. When I do that it does absolutely nothing and by the way theres no file call index.html. Its useless as a second page unless I can get it to come up first.
|
Now one more thing. How do you place a banner in the front page ?
|
haha Good job. How do you think? :P
I have not even touched IPB 2.0 so dont have a clue what file to eidt or anything. Sure its board.php or fourm.php or whatever. Sorry cant remember for the live of me and not home atm. |
All times are GMT +1. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.