Advertisement:

Author Topic: Share user database for 2 (or more) different forums.  (Read 380204 times)

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #120 on: November 14, 2006, 10:16:37 PM »
You can create as many forums as you wanted, all using one database, one installation. Check out http://www.goosemoose.com and look at the 7 forums there.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #121 on: November 19, 2006, 11:13:55 PM »
is there a modification that does all of this...it would make it really easy for the wiki template to just have that installed...or some command that goes through all of the files and makes the necessary find and replaces?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #122 on: November 20, 2006, 01:53:40 AM »
Look up my Shared Forum Mod.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #123 on: November 20, 2006, 07:37:46 AM »
but thats not what I want...I want a completely separate forum except for the userlist. Plus I want search engine friendly urls. I want 2 different installations that have the same userlists.

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #124 on: November 20, 2006, 12:53:58 PM »
Then use the code like in this thread and only change the members table to both point to the same place. Note that none of there other settings will transfer and you will have to maintain two different forum installations and upgrades.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #125 on: November 20, 2006, 04:31:16 PM »
I realize that. Does it maintain moderators and admins by any chance?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #126 on: November 20, 2006, 04:37:02 PM »
That would not work correctly without some additional work since you are not sharing the groups table.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #127 on: November 20, 2006, 04:39:48 PM »
could you just share the groups table and it would work?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #128 on: November 20, 2006, 04:47:01 PM »
I'm not sure. There is a cascading effect since so many of the tables have column that match up with other tables. The only thing I can suggest is to try it and see.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #129 on: November 20, 2006, 05:27:53 PM »
would the membergroups get screwed up if it said that someone was in a usergroup that didn't exist?

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #130 on: November 20, 2006, 05:33:05 PM »
the membergroups are shared in the instructions...

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #131 on: November 20, 2006, 10:17:03 PM »
sorry for triple posting, would templates get screwed up as well?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #132 on: November 21, 2006, 12:25:13 PM »
Possibly. You'd have to try it out and see. Set up 2 test forums to try it out on. This thread hasn't been needed in a long time, so I have not kept up on those areas of the code, nor do I have time to look at it now. Sorry.

Offline nathan42100

  • Semi-Newbie
  • *
  • Posts: 82
Re: Share user database for 2 (or more) different forums.
« Reply #133 on: November 21, 2006, 05:51:56 PM »
Its ok. Decided not to do it anyway, just gunna use a wiki. The wikitemplate isn't all its hyped up to be...

Offline sodmanccc

  • Jr. Member
  • **
  • Posts: 219
Re: Share user database for 2 (or more) different forums.
« Reply #134 on: March 13, 2007, 07:37:18 PM »
hello,
anyone that has done this and would like to make some cash doing it for me PM me. please.

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 861
  • Gender: Male
  • The Tired One
Re: Share user database for 2 (or more) different forums.
« Reply #135 on: March 17, 2007, 11:41:57 PM »
Looks like a great idea,
A mod to do this would be great, its just so time consuming to
do all this as we have 4 forums we could use this on.

Ohwell maybe someday, but great ideas you did here.

Cozmo
 
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #136 on: March 19, 2007, 04:06:40 PM »
This has been replaced by two other mods. Do a search for Shared Forum and you will find them.

Offline tbobker

  • Semi-Newbie
  • *
  • Posts: 56
Re: Share user database for 2 (or more) different forums.
« Reply #137 on: April 29, 2007, 03:51:55 PM »
This is good but what if i wanted to share all accept the default template. Would it be easier....i managed to get two forums sharing all, but the themes cannot be different and wandered where in the script it sets the theme so i could just put it in manually in one forum?

Offline Roxius

  • Semi-Newbie
  • *
  • Posts: 12
Re: Share user database for 2 (or more) different forums.
« Reply #138 on: June 21, 2007, 04:40:24 PM »
What if I don't share the membergroups table?
I want different membergroups for each forum, if I don't share this table, would the forum crash?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: Share user database for 2 (or more) different forums.
« Reply #139 on: June 23, 2007, 08:42:03 PM »
tbobker, you can look in the mod I posted, there's conversation about this.

If you aren't sharing the membergroups you might as well just install 2 copies of smf, in 2 different directories with 2 different database prefixes.