Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: zijO - toukokuu 04, 2008, 09:45:09 AP

Otsikko: Two forums one DB.
Kirjoitti: zijO - toukokuu 04, 2008, 09:45:09 AP
Can I have same forum installed at 2 places, using same database.

For example

www.mysite/forums  and
www.mysite/forum
where the last one would have different template.

I tried it but, for some reason even if I completely remove "forum/templates" it still uses template from "/forums.
::)
Otsikko: Re: Two forums one DB.
Kirjoitti: rsw686 - toukokuu 04, 2008, 10:16:37 AP
What you are asking is not possible. The paths are hard coded into the database. Why not just install multiple templates on the one forum. User's can select between the template they prefer.
Otsikko: Re: Two forums one DB.
Kirjoitti: zijO - toukokuu 04, 2008, 12:26:53 IP
/forum
/forums
it would be easy to change it, anyway i need to use redirection forum-forums

Thanks for the answer :-)
Otsikko: Re: Two forums one DB.
Kirjoitti: Rumbaar - toukokuu 18, 2008, 09:10:19 IP
This thread might be helpful, though I'm unsure of the true nature of what you are trying to do.
Share user database for 2 (or more) different forums. (http://www.simplemachines.org/community/index.php?topic=16190.0)
Though like said you wont be able to avoid two db's, but you'll be able to share portions of them.
Otsikko: Re: Two forums one DB.
Kirjoitti: ONLiNEZONE - toukokuu 19, 2008, 08:54:13 IP
Lainaus käyttäjältä: zijO - toukokuu 04, 2008, 09:45:09 AP
Can I have same forum installed at 2 places, using same database.

For example

www.mysite/forums  and
www.mysite/forum
where the last one would have different template.

I tried it but, for some reason even if I completely remove "forum/templates" it still uses template from "/forums.
::)

Use a different, prefix.
Example: SMF_ SMF1_
Otsikko: Re: Two forums one DB.
Kirjoitti: Rumbaar - toukokuu 19, 2008, 09:46:07 IP
I think he's looking to use the same data, but on two separate URLs.  So that isn't possible.
Otsikko: Re: Two forums one DB.
Kirjoitti: ONLiNEZONE - toukokuu 21, 2008, 07:07:10 IP
Lainaus käyttäjältä: Rumbaar - toukokuu 19, 2008, 09:46:07 IP
I think he's looking to use the same data, but on two separate URLs.  So that isn't possible.

Okay, Rumbaar.

Sorry I couldn't help you, zijO.
Otsikko: Re: Two forums one DB.
Kirjoitti: Realinfo - helmikuu 10, 2009, 10:24:11 AP
Due to some reasons.............. I also want that to have two diffrent URL with same data..................... when i tried that............. it seems that it's working................. but when i make post in second ( URL Forum)................. then path for first forum's THEME is changed to second one............ if that not happen.......... then i guess we can have that...............