Running 2 scripts on same site: Seb's and phpbbhs- problem?

Pre-sales questions for phpBB 3 forum hosting script.
Post Reply
panmedia
Posts: 42
Joined: 07 Apr 2008, 02:47

Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by panmedia »

Hey,
So i'm a long time user of seb's script (and frequent seb's forum - shoutout to CyberAlien!). It has worked pretty well for me.

Now, since I do not want to erase all pre-existing phpbb2 forums, nor do I want to start a separate site just for phpbb3...

is it possible to have both phpbbhs and seb's phpbb2 multi-forum host running on the same site? The reason i ask is because i'm concerned with the subdomain function -- would it interefere? Like, what if someone registers the SAME subdomain in both phpbb2 AND phpbb3?

Also, CyberAlien - do you do freelance programming? If I do go ahead with the purchase, i just need some tweaking of the format / registration template.

Thanks!
PanMedia (Formerly PanCorp)
User avatar
CyberAlien
Coder
Posts: 2159
Joined: 07 Jun 2007, 07:57
Hosted Forums: 0
Contact:

Re: Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by CyberAlien »

You can do that if scripts are in different directories, or if you'll be using subdomain.

For example: *.website.com - phpbb2, *.website.com/phpbb3/ - phpbb3 (same hosting account, different directories)
or: *.website.com - old phpbb2, *.3.website.com - phpbb3 (different hosting accounts)
panmedia
Posts: 42
Joined: 07 Apr 2008, 02:47

Re: Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by panmedia »

Oh, that's too bad...

So if I already have my board set up as:

http://userforum.site.com

... for phpbb2...

I would not be able to use:

http://userforum.site.com

... for phpbb3?

It would need to be http://userforum.3.site.com?

Also, could you let me know if you do freelance programming?

Thanks
User avatar
CyberAlien
Coder
Posts: 2159
Joined: 07 Jun 2007, 07:57
Hosted Forums: 0
Contact:

Re: Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by CyberAlien »

Your domains point to same IP, using same hosting account, and if you want them to be in same directory then files should also be in same directory. How do you expect to run two scripts from same directory while scripts are using filenames common for both scripts?

There is a solution for that in theory, but it will require lots of customization. You'll need to replace all phpBB files that are used by both phpBB 2 and 3 with file that checks which version is needed and includes appropriate file. That would be very hard to do and will cause big mess.
panmedia
Posts: 42
Joined: 07 Apr 2008, 02:47

Re: Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by panmedia »

.... OR --

do you think it's possible to move the phbpb2 forums to a folder, and run phpbb3 from the root and have phpbb3 forums as subdomains?

e.g.

http://www.site.com/phpbb2/userforum.

and

http://userforum.site.com (for phpbb3 forums)
User avatar
CyberAlien
Coder
Posts: 2159
Joined: 07 Jun 2007, 07:57
Hosted Forums: 0
Contact:

Re: Running 2 scripts on same site: Seb's and phpbbhs- problem?

Post by CyberAlien »

Yep, but you'll need to setup subdirectories mod for phpbb2 to work properly, or you'll have to use "good old" mforum variable for phpbb2 forums.
Post Reply