Previous Thread
Next Thread
Print Thread
Hop To
#253807 10/16/2013 10:11 AM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Hi Guys,
Ive just re-installed / restored my forums after a hard drive failure. Does anyone have the link to make your index page the forum portal page?

I need to check the how too and some settings as mine is not working.

Thanks mark


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Are you talking about creating a wrapper page?
or something as simple as a meta tag refresh in the head tag of a html page.
Such as
Code
<head>
<meta http-equiv="refresh" content="0;URL=http://www.wikiwirral.co.uk/forums/ubbthreads.php">
</head>

If you want to to wait say 10 seconds to test it change the 0 after content=" to 10


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Hi Ruben,
Its been that long since i implemented it if forgotten where i got the information from. I may have to do a search on Rick or Gizmo as i'm sure they created it.

Basically along time ago in a far away galaxy members were asking how to make there index.html or index.php dosplay the forums portal page as the landing page to your domain name and not mydomain.com/fourms/

I'm probably a bit mixed up with it but ive had it that way for years i have the file its just not working as expected well not working is the thing.

I will do more digging if i get the answers i will post it.
As its handy to have.

mark


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
There are several methods:
index.php:
Code
<?php
$_REQUEST['ubb'] = "portal";

include("/home/user/public_html/forums/ubbthreads.php");
?>


.htaccess:
Code
# Set Directory Indexing #
DirectoryIndex ubbthreads.php ultimatebb.php index.php maintenance.php index.shtml index.html index.htm


You could also setup an html redirect; many ways to do the same thing really. The index.php will make the forum load wherever the file is, the .htaccess will make ubbthreads.php an index document so if the directory is loaded it'll look for that as the index page.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Gizmo,
I think what Mark is looking for is that the browser will display
a url of
http://www.wikiwirral.co.uk

But the page content will display

http://www.wikiwirral.co.uk/forums/ubbthreads.php

Correct me if I am wrong Mark.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
PHP Code

<?php
$_REQUEST['ubb'] = "portal";

include("/home/user/public_html/forums/ubbthreads.php");
?>


That's the one Gizmo but it was not working.
I'm knee deep at the moment so i will give them a go in a little while. Thanks for you help so far.

mark


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Ok ive just stripped the index file to its minimum and its a white page there has to be a config issue somewhere.

The only difference is a different php version i can see up to now, but the forums are working as expected and no issues else where <thinks long and hard >


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I replied to your PM.
It appears you are missing the opening php code.
<?
and it should be
<?php


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Changed it to satisfy me and no change.
I need to dig a little deeper.

Its got to be a config problem somewhere.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Actually I get a error using firefox now for index.php.
Quote
Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
The file may be corrupt and i need to create a new one.
Its come from a restore so anything is possible.
I'm happy the forums are running with out having to configure it all.

Will keep you updated.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Dumb question, did you update the path to be the path from your root? I highly doubt yours is /home/user/public_html lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
You could also do:
index.html:
Code
<html><head>
<meta http-equiv="refresh" content="0;URL=forums/ubbthreads.php">
</head>
<body>
</body>
</html>

Or index.php
Code
<?php
header("Location: http://www.yoursite.tld/forums/ubbthreads.php");
exit;
?>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Code
<?php
$_REQUEST['ubb'] = "portal";

include("/home/user/public_html/forums/ubbthreads.php");
?>

A stripped back file on its own worked. Phew. . .

Previous PHP Version 5.2.16
Re-install Version PHP 5.3.27

apparently there are some changes that could have broken the code in the old page.

Thanks for your help ruben / Gizmo


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Originally Posted by Gizmo
Dumb question, did you update the path to be the path from your root? I highly doubt yours is /home/user/public_html lol


I did cheers Gizmo.

Software is moving forward. I just hung on to Centos 5.9
If i had gone to Centos 6 then im sure the php and sql would have screwed up my forums.

Lets hope i don't have any e-mails from smart Error in the near future lol


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 797 guests, and 200 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)