Page 1 of 6

[ABD] Multi-Forum 0.3.2

Posted: Tue Feb 17, 2009 6:05 pm
by MasterZ
Modification Name: Multi-Forum
Author: MasterZ
Modification Description:: Allows multiple forum installations to use the same set of phpBB3 files.
Modification Version: 0.3.2 (Dev)

Installation Level: Easy
Installation Time: 10 Minutes
Files To Edit:
  • includes/acm/acm_file.php
  • includes/acp/acp_board.php
  • includes/acp/acp_attachments.php
  • includes/template.php
  • config.php
Included Files:
  • adm/style/acp_multi_forum.html
  • includes/multi_forum_domains.php
  • includes/multi_forum.php
  • includes/acp/acp_multi_forum.php
  • includes/acp/info/acp_multi_forum.php
  • language/en/mods/acp_multi_forum.php
  • language/en/mods/permissions_multi_forum.php
  • multi_forum_install/*
Requirements: UMIL (required for the installer)
Tested With: phpBB 3.0.4

Features:
  • One set of files for multiple phpBB installs
  • Loads a different database config based on domain
  • One avatar galary for all installs
  • Individual files and upload avatar directory per install - Makes it easy to delete an entire board
Screenshots:

Demo URL: http://test1.zenorsoft.com
Demo Username: Demo (gives limited ACP access)
Demo Password: demo123

Bug Tracker http://www.zenorsoft.com/bugtracker

Modification Download: Version 0.3.2 Available for Download

Please consider donating to support the development of this modification.
:arrow: Image

Version History and Dev Track
Version 0.1 - 16 Feb 2009
  • Get the subdomain and load associated db values
  • Use separate cache, files, and images directories based on subdomain
  • Tested on 3.0.4
Version 0.2 - 17 Feb 2009
  • Prevent ACP from changing files directory and avatar upload directory
  • Move db configs to a new file
  • Created simple setup file
  • Tested on 3.0.4
Version 0.2.1 - 18 Feb 2009
  • Fixed a typo in multi_forum_config.php (Thanks kmklr72)
Version 0.2.2 - 19 Feb 2009
  • Added ranks to the domain folder and config file
  • Changed the mod to read the full domain name, not just the subdomain
  • Used phpBB3 dbal class for db config
  • Made the installer a lot more detailed
Version 0.3.0 - 28 Feb 2009
  • ACP page caches properly per domain.
  • ACP Page created
  • Master Domain is set in the config file, other domains cannot view certain ACP modes for Multi-Forum ACP.
  • List of all domains retrieved and listed only for the Master Domain in the ACP.
Version 0.3.1 - 30 Mar 2009
  • Full GUI Configuration & Installation Script, no more editing config files manually
  • Add css to the installer to make the setup look nicer.
  • Permission System for Multi Forum
  • Using UMIL to install the ACP pages with correct modes based on if domain is master or not
  • Each domain can select if it wants to use global or local ranks directory and avatar gallery.
Version 0.3.1 - 30 Mar 2009
  • List all domains in the ACP along with version number, and basic info such as enable status
  • Add a new forum to Multi-Forum [strong]Note:[/strong] You still need to install the forum db on your own
  • Fixed the bug with the display of the domain's settings
Features ready for next release
Version 0.4 - Alpha?
  • Master ACP can create a new forum complete with db installation
Version 0.5
  • When a new phpBB version is released, run the db changes on every user from the Master ACP
  • Add custom sql field to run commands on select (or all) domains, restrict which admins can access this - i.e. for adding mods
Version 0.6
  • Set a userid for each forum to use when interacting
  • Post a message to a forum (or all forums at once) - i.e. for announcing updates, down time, etc
  • See Private Messages available for the set userid in the Master ACP
  • Select 1 domain to view it from the Master ACP, lists all forums and posts and can post as if actually browsing that forum - Maybe, might be unpractical to do
  • When doing a backup, only allow the current domain DB to be backed up and restored (in case the same db is being used with different prefixes)
  • Allow non-master domains to send a message to the master acp domain admin
  • Each domain needs its own styles directory to upload custom styles
Please feel free to add comments and request features

Re: [DEV] Multi-Forum 0.2

Posted: Tue Feb 17, 2009 11:16 pm
by MasterZ
Version 0.2 is available for download.

Working on figuring out how to get the install file to use phpBB's db object so we can install on any db type.

Feedback welcome.

Re: [DEV] Multi-Forum

Posted: Tue Feb 17, 2009 11:37 pm
by Solo4868
Awesome, thanks for making this again :D what link you want on your site? ill give it a test tommorow too :P

EDIT: I cant download, I need to make an account first? Or you need to change permissions? :P

Re: [DEV] Multi-Forum

Posted: Tue Feb 17, 2009 11:45 pm
by MasterZ
Solo4868 wrote:Awesome, thanks for making this again :D what link you want on your site? ill give it a test tommorow too :P

EDIT: I cant download, I need to make an account first? Or you need to change permissions? :P
Thank you for pointing that out. The permissions should be fixed now.

If you want to support me in making this you can link to either of the two sites in my signature, I would greatly appreciate it :)

Re: [DEV] Multi-Forum 0.2

Posted: Wed Feb 18, 2009 3:39 pm
by MasterZ
If you test this script let me know what version of phpBB you tested it on.

Anybody know where you can download older versions of phpBB just so I can do compatibility testing?

Re: [DEV] Multi-Forum 0.2

Posted: Wed Feb 18, 2009 4:33 pm
by kmklr72
You might want to check the last @mkdir command in the multi_forum_config.php file. You have misspelled domains.

Re: [DEV] Multi-Forum 0.2

Posted: Wed Feb 18, 2009 6:53 pm
by MasterZ
kmklr72 wrote:You might want to check the last @mkdir command in the multi_forum_config.php file. You have misspelled domains.
:oops: Thanks. Fixed and package updated.

Re: [DEV] Multi-Forum 0.2.1

Posted: Thu Feb 19, 2009 3:48 am
by Mike.XIII
If I understand correctly, this MOD uses one set of phpBB files for multiple forums, without sharing any user details between each forum such as username/passwords. So essentially, if you have x amount of completely separate forums and want to have the exact same file modifications for all them you only have to do it once instead of once per board. Is that correct?

Re: [DEV] Multi-Forum 0.2.1

Posted: Thu Feb 19, 2009 3:50 am
by MasterZ
Mike.XIII wrote:If I understand correctly, this MOD uses one set of phpBB files for multiple forums, without sharing any user details between each forum such as username/passwords. So essentially, if you have x amount of completely separate forums and want to have the exact same file modifications for all them you only have to do it once instead of once per board. Is that correct?
Exactly.

Re: [DEV] Multi-Forum 0.2.1

Posted: Thu Feb 19, 2009 3:54 am
by Mike.XIII
wow, I think that's the fastest response I've ever gotten from a MOD author haha :o

MODs like this make me want to create new forums even though I don't need one just to try it out :P
Very interesting indeed.

Re: [DEV] Multi-Forum 0.2.1

Posted: Thu Feb 19, 2009 3:57 am
by MasterZ
:lol:

You just happened to catch me while I was online :p But yes, I do try to be quick when I'm not at work.

Re: [DEV] Multi-Forum 0.2.2

Posted: Fri Feb 20, 2009 5:21 am
by MasterZ
Did a few updates, mainly with the setup file.

Also, the script now uses the full domain name, not just the subdomain.

If you are upgrading, you will need to make the appropriate changes in the /includes/multi_forum.php file, then run the /multi_forum_config.php file to create all of the directories associated with the full domain name.

If anybody wants to add some quick css to make the installer look better, feel free to post it here and I will add it :)

Re: [DEV] Multi-Forum 0.2.2

Posted: Thu Feb 26, 2009 6:31 am
by MasterZ
Working on the ACP for this mod. If anybody has experience with ACP pages and is willing to help, please contact me :)

Re: [DEV] Multi-Forum 0.3.0

Posted: Sun Mar 01, 2009 3:06 am
by MasterZ
Version 0.3.0 is released.

The config files changed a bit, the domain list is now stored in a different file.

An ACP page was added, but all it does right now is list the domains. More will be added later.

Don't forget to reset the cache after you finish installing.

If you find any problems or suggestions, you can open a support ticket.

Re: [DEV] Multi-Forum 0.3.0

Posted: Tue Mar 03, 2009 6:16 pm
by MasterZ
I'm working on the ACP page that lists all of the domains, what stats should it display for each forum?

So far I have it showing the phpBB version. Anything else that would be helpful?