Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2003, 02:57 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Two domains, two licenses, one server, one vB, possible?

Hello,

Like some advice please, I've asked for some feedback/help at vBulletin.com, but nothing much doing over there as yet.

I would like to share my forum (www.mini2.com/forum) between two websites I own and run (on the same server, obviously). Both sites will be on the exact same subject (just from different 'angles'), which is why I want a complete 'mirror' of content.

I would like the forum to have two different looks, and two different domain names, so in effect they appear and act as two completely seperate forums. I want all links in each one to the correct domain name. All emails to be from the correct site, and all references to be for the correct site.

So basically, I want to share content and members, but to visitors to domain1 they only ever see any references/links to domain1, and visitors to domain2 only ever see any reference/links to domain2.

All I can think of is that they'd need a different config file, and somehow they would need a different settings database table. Although I've no idea just now how to do this.

I've had using 'styles' suggested, but that's not going to give me the COMPLETE seperation in terms of admin contacts, subscription email 'from' and links etc.

I've searched, but drawn a blank.

Any help or thoughts/ideas much appreciated.

Thanks.

Paul
www.MINI2.com
Reply With Quote
  #2  
Old 08-14-2003, 03:57 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thinking about this further, the only things I can see that would need to be different to create this seperation would be that you'd need...

Two different setting database tables.
Two different config.php files (but that's no problem as they will be two different installs).
Possibly two different template tables, but I could probably work it with one.

I would have to probably hack the code and change all references in domain2's install to the alternative table(s).

Anything else people think I might be missing, or that you might like to add?

If/when I do this I'll of course share results, however frightening.

Paul
Reply With Quote
  #3  
Old 08-15-2003, 09:27 AM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nearly done this, 9 files modified, and two database tables need copying.

If I get this to work I will publish details later, although I'm actually working this now on vB3, so I wont post until we're allowed to.
Reply With Quote
  #4  
Old 08-18-2003, 01:54 PM
AmericanWoman AmericanWoman is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be very interested to hear how this is going. We're working towards launching a similar concept (across 10 domains and subs!), and the logistics of a shared vBB database are getting complicated.
Reply With Quote
  #5  
Old 08-18-2003, 02:21 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's basically done, although I'm not sure I'll use it now! Still might.

The only catch I've encountered (and I will try and work this out probably later this week) is this.

I sign up and use domain1.com, I surf it, post on it, join in on it all fine. Everything I do is reflected on domain2.com, and everything there is reflected on domain1.com.

I've managed (although it took a bit of manual tinkering) to allow different names etc. too, even for forums and categories.

The ONLY issue I've encountered which gives the game away to the user is that private message and subscription notifications are always sent from the domain the private message or new post is posted to. I.e. a user of domain1.com gets sent a PM from a user on domain2.com, the email comes from domain2.com. The same on email notifications.
Reply With Quote
  #6  
Old 08-18-2003, 02:23 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been surprised how incredibly easy it's been, especially considering some of the offers of 'solutions' I've had which don't, or barely, hide the fact they're a shared forum at all!

Reply With Quote
  #7  
Old 08-18-2003, 02:33 PM
AmericanWoman AmericanWoman is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We wouldn't care whether the user became aware of it being a shared site, as they'd know about the superentity prior to being aware of subsets.

Easier to explain with examples.

www.acuraworld.com --> this is the superentity, and all that exists right now. It's getting terribly cluttered, so next year we're hoping to launch each of the models as their own subdomain (tsx.acuraworld.com etc), and leave the existing metadata and integrated sales/off-topic intact, while allowing each model to have its own complete community and regional meets/clubs.

Going to be a massive project, and I've been trying to work it all out on paper. I'm glad someone else is doing this same kind of thing already - I'll have to pick your brain!
Reply With Quote
  #8  
Old 08-19-2003, 06:32 PM
fmoise99 fmoise99 is offline
 
Join Date: Oct 2001
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm interested in this too. I am will too help out in the testing & developement of this.
Reply With Quote
  #9  
Old 08-19-2003, 11:32 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not hard to do with $HTTP_SERVER if statements in php_include template or global.php The domains should be totally transparent really since the templates are not domain name dependent - at least in vB3.
Reply With Quote
  #10  
Old 08-20-2003, 04:37 PM
AmericanWoman AmericanWoman is offline
 
Join Date: Jan 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:32 PM Erwin said this in Post #9
Not hard to do with $HTTP_SERVER if statements in php_include template or global.php The domains should be totally transparent really since the templates are not domain name dependent - at least in vB3.
Therein lies the problem - I refuse to take on even trying to plan out an integration effort of this size without knowing what vb3.0 is going to look like.

Any idea when it's coming to the RC stage, at all, or how far it is from full release?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04740 seconds
  • Memory Usage 2,256KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete