Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Anguz on October 29, 2004, 09:28:01 PM

Title: Share DB Tables
Post by: Anguz on October 29, 2004, 09:28:01 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=41)

This modification adds to Settings.php, an array with the forum's tables and modifies every query in the Sources dir to use it.
      
PRO: This simplifies down to a single line, changing the prefix for a table in order to share it with another forum in the db.
CON: Other mods depending on a query to find where to make a change, will most probably not work, since every query is different.

I know this mod is not required by most and those that do, will work less updating the other mods they want to install than they would changing all the queries to share tables, not to mention that even then, many mods will not install fine.

This is a major modification, so a lot of testing is needed to make sure it works right, that's why I didn't even version it 1.00. If you don't actually need this, but have a test forum or could setup one and could help me test, it'd be great.

Please let me know of any problems or lack of them. I hope someone finds this useful.
Title: Re: Share DB Tables
Post by: Valconeye on November 19, 2004, 04:19:59 PM
Loved this mod, however when i fresh install the smf 1.0 preview, this mod doesnt install on it, unless i am doing something wrong  :-\
Title: Re: Share DB Tables
Post by: Anguz on November 19, 2004, 05:01:09 PM
My mods haven't been updated for the new version yet, I'm waiting for the public release. Soon. :)
Title: Re: Share DB Tables
Post by: Valconeye on November 27, 2004, 12:16:56 AM
Is there a way for me to modify the settings.php so that each forum shares everything except the boards? (unshare everything that requires the boards to be seperate)
Title: Re: Share DB Tables
Post by: Anguz on November 27, 2004, 09:45:17 AM
This topic may help you with that:

http://www.simplemachines.org/community/index.php?topic=16190.0
Title: Re: Share DB Tables
Post by: Anguz on January 10, 2005, 04:46:17 AM
Update


If you have this mod installed, please contact me via PM (http://www.simplemachines.org/community/index.php?action=pm;sa=send;u=76).
Title: Re: Share DB Tables
Post by: Elmacik on August 28, 2005, 07:08:15 PM
i will re-liven this topic,
anyone to make this usable on 1.1 beta 3?
Title: Re: Share DB Tables
Post by: Flying Drupalist on January 01, 2007, 10:32:30 AM
Hi, are there any updates on this mod?
Title: Re: Share DB Tables
Post by: Jade Elizabeth on January 12, 2008, 02:22:42 AM
i know its old...but this should be updated :)
Title: Re: Share DB Tables
Post by: _Anthony_ on December 06, 2008, 09:07:04 PM
Sorry for bump, but someone should really update this....
Title: Re: Share DB Tables
Post by: NHWD on March 03, 2009, 10:40:27 PM
bump for update
Title: Re: Share DB Tables
Post by: azn_romeo_4u on May 18, 2009, 06:39:55 PM
any updates on this?
Title: Re: Share DB Tables
Post by: GrassrootsPA on March 06, 2010, 11:16:00 PM
Bump. Please someone update this for 2.0 RC2!!!
Title: Re: Share DB Tables
Post by: Another Rob on May 30, 2010, 10:31:39 AM
Any 2.0 update? We're running RC3
Title: Re: Share DB Tables
Post by: Impsat-1 on July 01, 2015, 10:52:08 PM
Mmm.... Any 2.0 update? We're running SMF 2.0.10


Thanks & Regards (http://media.simplemachinesweb.com/smf/default/images/post/thumbup.gif)
Have a Great Time 8).-
Title: Re: Share DB Tables
Post by: Jade Elizabeth on July 02, 2015, 01:15:08 AM
You can do it by hand but it's a lot of work. Not sure how likely it is that this will be updated.