Forums in Sub Folder
Started by jkmcgrath, Oct 07 2008 06:44 PM
10 replies to this topic
#1
Posted 07 October 2008 - 06:44 PM
Hi,
I have my forum software installed in a sub directory so to access the forums it would be http://johnmcgrathracing.com/forums/ which gives me the Unreal Portal page.
What I would like is to have http://johnmcgrathracing.com take me to the portal. In other words I want the portal page out side of the ./forums directory.
Can this be accomplished?
Also I have another problem, depending on which side column block is colapsed, the width of all the blocks in that side column reduce in width and then expand when the colapsed block is expanded. Anyway to stop this?
Thanks,
John
I have my forum software installed in a sub directory so to access the forums it would be http://johnmcgrathracing.com/forums/ which gives me the Unreal Portal page.
What I would like is to have http://johnmcgrathracing.com take me to the portal. In other words I want the portal page out side of the ./forums directory.
Can this be accomplished?
Also I have another problem, depending on which side column block is colapsed, the width of all the blocks in that side column reduce in width and then expand when the colapsed block is expanded. Anyway to stop this?
Thanks,
John
#2
Posted 08 October 2008 - 09:15 AM
For the first one, You need to upgrade to Unreal Portal 2.3 for the functionality. After you upgrade to Unreal Portal 2.3, edit init.php and change
After that, use mod_rewrite to make /portal to to /index.php?act=uportal
If you have no idea what I mean by mod_rewrite, then simply google it.
For your second question, the content in the block that distorts the layout most likely contains content that has dimensions greater than the width of the column. For example, a picture of large dimensions, a table with a specific width, etc. Unfortunately, in the current version of Unreal Portal, there isn't anything you can do about it other than changing the widths of the columns or modifying that block so it doesn't distort your portal layout.
define( 'IPB_MAKE_UPORTAL_HOMEPAGE', 1 );to
define( 'IPB_MAKE_UPORTAL_HOMEPAGE', 0 );
After that, use mod_rewrite to make /portal to to /index.php?act=uportal
If you have no idea what I mean by mod_rewrite, then simply google it.
For your second question, the content in the block that distorts the layout most likely contains content that has dimensions greater than the width of the column. For example, a picture of large dimensions, a table with a specific width, etc. Unfortunately, in the current version of Unreal Portal, there isn't anything you can do about it other than changing the widths of the columns or modifying that block so it doesn't distort your portal layout.
#3
Posted 08 October 2008 - 03:59 PM
Here's what you need to do for the mod_rewrite part.
In your root directory, create a file called .htaccess and add the following code:
Now in your forums directory, create a file called .htaccess and add the following code:
This should take care of that.
In your root directory, create a file called .htaccess and add the following code:
RewriteEngine on RewriteRule ^$ forums/index.php?act=uportal [L] RewriteRule ^([^*]+)$ forums/$1 [NC]
Now in your forums directory, create a file called .htaccess and add the following code:
RewriteEngine off
This should take care of that.
#5
Posted 06 November 2008 - 01:59 PM
dv2236, on Nov 1 2008, 11:34 PM, said:
Nice I never played around with that Mod rewrite stuff before.
when i read the title i was first thinking something along the lines of "forums.website.com" would that code work the same for that cricket?
when i read the title i was first thinking something along the lines of "forums.website.com" would that code work the same for that cricket?
Not the exact same code, but you can use mod_rewrite to do that too.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












