Advertisement:

Author Topic: Share DB Tables  (Read 15929 times)

Offline Anguz

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,430
  • Gender: Male
    • cristianlavaque.com
Share DB Tables
« on: October 29, 2004, 09:28:01 PM »
Link to Mod

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.
Cristián Lávaque http://cristianlavaque.com

Offline Valconeye

  • Jr. Member
  • **
  • Posts: 183
  • Gender: Male
    • WarCraftWars
Re: Share DB Tables
« Reply #1 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  :-\

Offline Anguz

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,430
  • Gender: Male
    • cristianlavaque.com
Re: Share DB Tables
« Reply #2 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. :)
Cristián Lávaque http://cristianlavaque.com

Offline Valconeye

  • Jr. Member
  • **
  • Posts: 183
  • Gender: Male
    • WarCraftWars
Re: Share DB Tables
« Reply #3 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)

Offline Anguz

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,430
  • Gender: Male
    • cristianlavaque.com
Re: Share DB Tables
« Reply #4 on: November 27, 2004, 09:45:17 AM »
Cristián Lávaque http://cristianlavaque.com

Offline Anguz

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,430
  • Gender: Male
    • cristianlavaque.com
Re: Share DB Tables
« Reply #5 on: January 10, 2005, 04:46:17 AM »
Update

  • I had to remove the download for now. I'll put it back up after improving it.

If you have this mod installed, please contact me via PM.
« Last Edit: January 10, 2005, 04:54:15 AM by Anguz »
Cristián Lávaque http://cristianlavaque.com

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,285
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: Share DB Tables
« Reply #6 on: August 28, 2005, 07:08:15 PM »
i will re-liven this topic,
anyone to make this usable on 1.1 beta 3?
Home of Elmacik

Offline Flying Drupalist

  • Jr. Member
  • **
  • Posts: 294
    • http://www.miydai.com
Re: Share DB Tables
« Reply #7 on: January 01, 2007, 10:32:30 AM »
Hi, are there any updates on this mod?

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,708
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Share DB Tables
« Reply #8 on: January 12, 2008, 02:22:42 AM »
i know its old...but this should be updated :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Offline _Anthony_

  • Full Member
  • ***
  • Posts: 547
Re: Share DB Tables
« Reply #9 on: December 06, 2008, 09:07:04 PM »
Sorry for bump, but someone should really update this....

Offline NHWD

  • Jr. Member
  • **
  • Posts: 304
Re: Share DB Tables
« Reply #10 on: March 03, 2009, 10:40:27 PM »
bump for update

Offline azn_romeo_4u

  • Semi-Newbie
  • *
  • Posts: 22
    • Dragonica
Re: Share DB Tables
« Reply #11 on: May 18, 2009, 06:39:55 PM »
any updates on this?

Offline GrassrootsPA

  • Semi-Newbie
  • *
  • Posts: 45
  • Gender: Male
  • Convert from bbPress
    • GrassrootsPA
Re: Share DB Tables
« Reply #12 on: March 06, 2010, 11:16:00 PM »
Bump. Please someone update this for 2.0 RC2!!!
I'm Feeling This!

Offline Another Rob

  • Semi-Newbie
  • *
  • Posts: 40
Re: Share DB Tables
« Reply #13 on: May 30, 2010, 10:31:39 AM »
Any 2.0 update? We're running RC3

Offline Impsat-1

  • Jr. Member
  • **
  • Posts: 320
Re: Share DB Tables
« Reply #14 on: July 01, 2015, 10:52:08 PM »
Mmm.... Any 2.0 update? We're running SMF 2.0.10


Thanks & Regards
Have a Great Time 8).-
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,708
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Share DB Tables
« Reply #15 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.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.