View Full Version : Same users DB, "different" Forum
Sergio68 28th February 2007, 08:45 PM How did you manage it Floris ? Just forums and child forums ?
I mean, it is showed a different Home Page according on where you want to redirect them.
I'd like to do the same, I have a forum that is fitness oriented and I would like to let some other people partecipate, but for each subject they should access a different home page, like here.
I'd like to made a computer leated home page, another for cars, one for everything.
I would like as well hold everything in just one user data base.
Floris 28th February 2007, 11:36 PM We have 1 hosting account, 1 install of vb, so one set of files and one database.
And using a plugin and .htaccess we can determine where the user comes from, and which forums they have permission to view.
Global forums show on all the sites, and content specific ones per site.
As it is one install, it is one user account, so you can use it on each url you enter. And we have to upgrade only once. Of course, we must have a license for each url - as they appear as a different forum for each site.
Sergio68 1st March 2007, 01:45 AM And using a plugin and .htaccess we can determine where the user comes from, and which forums they have permission to view.
Ok, great, here is the point, it's a plugin that hide forums according to directions we give.
Can you tell me where I can find it Floris? I'd like to install it and most probably I'll order some other license.
Disjunto 1st March 2007, 02:05 AM to my knowledge, it is a custom plugin.
Sergio68 1st March 2007, 02:28 AM Opps, I ran into a secret :cool:
Ok, IF, just say if, I decide to do it by myself, can we discuss about it a little bit ? :) I don't mean to download anything, just don't want to waste time in the wrong direction and optimize my work.
Sergio68 1st March 2007, 05:37 AM Ok, what if I add some IF to the $forumbits, show forums only if a boolean condition is set.
Then in a plug in I let the program check $_SERVER['HTTP_HOST'] and the forums number, according to this I can switch Off and On the boolean condition.
:)
Sergio68 1st March 2007, 07:24 AM Did it and it's working.
Now it would be interesting to change the forum order according to what we like. We could fill different arrays and select the one we prefere for the query still according with our condition.
cratercraver 13th May 2007, 07:35 PM Hi! I'm interested in exactly the same kind of thing, and I'm wondering if, rather than trying to "reinvent the wheel" or paying someone to attempt the same, anyone here is willing to share the results.
I fully understand that a separate license is required for each installation, yet this idea is still appealing.
Sergio68 14th May 2007, 11:27 PM I creatercraver, I modified the templates instead of doing plugins, I'm not too confident.
It's working, but right now I have no time to make it better.
I just added in forumhome_forumbit_level1_nopost :
<if condition="$_SERVER['HTTP_HOST']=="www.vburl.com" and $forum[forumid]==4">
<else />
So that you show the forum according to the correct url.
Sergio68 12th August 2007, 10:13 PM Sorry to bump this post but I can explain better what is needed.
This time I need to step on with my site (www.bodyweb.it), I need an international part and an italian part, I'll buy two licenses, but I'd like to know if anyone has a ready made mod or he wants to share something already made, well made of course :D
Anything on vbulletin.org ? I can't find.
shridevi 30th October 2008, 01:57 PM I felt my problem is similar to this thread hence posting here
Below is the scenario:
We have many sites and each site has set of forums. All the forums are in single vB database.
Is there any way, can we show only relevant forums for each site among the forums in the database.(for ex i have domains aaa.com and bbb.com among 10 forums in the database first 5 should be visible in aaa.com and only first 2 in bbb.com)
We have single vB database to share with different sites. we have one vB license for each site. but all these vB application should talk to one database and we should be able to restrict forums and to show relevant forums for each site
pls advise.
|
|