[ABD] phpBB3 Hosting Script

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
JasonNapol
Registered User
Posts: 1
Joined: Wed Jul 28, 2010 9:08 pm

Re: [BETA] phpBB3 Hosting Script

Post by JasonNapol » Wed Jul 28, 2010 9:12 pm

Hexcode wrote:I think this will work:

Open phpBB3/config.php and find

Code: Select all

$split = explode('.', $_SERVER['HTTP_HOST']);
if($split[0] == "http://" OR $split[0] == "www" OR $split[0]  == "http://www")
{
	$subdomain = $split[1];
	$domain = $split[2].".".$split[3];
}
else {
	$subdomain = $split[0];
	$domain = $split[1].".".$split[2];
}
replace with:

Code: Select all

$split = explode('/', $_SERVER['REQUEST_URI']);
$subdomain = $split[2];
Open phpBB3/includes/functions.php
Find:

Code: Select all

	// Datenbank Prefix auslesen 
	$split = explode('.', $_SERVER['HTTP_HOST']); 
	if($split[0] == "http://" OR $split[0] == "www" OR $split[0] == "http://www"){ $subdomain = $split[1];} 
	else { 
	$subdomain = $split[0]; 
}
replace with:

Code: Select all

$split = explode('/', $_SERVER['REQUEST_URI']);
$subdomain = $split[2];
Open phpBB3/includes/acm/acm_file.php
Find

Code: Select all

		$split = explode('.', $_SERVER['HTTP_HOST']); 
		if($split[0] == "http://" OR $split[0] == "www" OR $split[0] == "http://www"){ $subdomain = $split[1];} 
		else { 
		$subdomain = $split[0]; 
		} 
Replace with:

Code: Select all

$split = explode('/', $_SERVER['REQUEST_URI']);
$subdomain = $split[2];
Open the .htaccess in the Script-Root, not the .htaccess of the forum find:

Code: Select all

RewriteEngine On
and add after

Code: Select all

Options +FollowSymlinks
RewriteBase /
RewriteRule ^forum/(.*)$ /forum1/ [L]
I think that that should work, can someone test this? Because I don't have test it yet...

//Edit: After i have tested it now, it went something wrong with the htaccess... i have to search a better version of it
Okay, I am not a newbie when it comes to running websites. Especially that of phpBB 3 and MyBB forum softwares.

But i am getting familiar with PHP Scripts, so how do I install this? Do I simply create a form in PHP on my website and code it in my <body></body> tags to make the form appear?

If you want to know what I want to accomplish, I want to accomplish a phpBB 3 hosting site where members fill out the simple form andf their forums are created with a default template, and default settings and permissions. A great example of that would be prophpbb.com

Can someone plz help me with this?

Jan Christensen
Registered User
Posts: 140
Joined: Sun May 16, 2004 10:42 am
Location: Denmark

Re: [RC] phpBB3 Hosting Script

Post by Jan Christensen » Mon Feb 07, 2011 4:50 pm

Dead download link, please correct it.
Jan Christensen • Danish language package author • Olympus DK Team

User avatar
KeithR
Former Team Member
Posts: 750
Joined: Mon Jun 16, 2008 6:59 pm
Location: Manchester, UK
Name: Keith R

Re: [RC] phpBB3 Hosting Script

Post by KeithR » Tue Feb 08, 2011 3:06 pm

This topic has been marked as [ABD] - Abandoned as the mod author has not been active since 26 May 2010. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Thank you,

On behalf of:

The phpBB Modifications Team

KeithR

Locked

Return to “[3.0.x] Abandoned MODs”