Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2006, 09:46 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 2 sites one database

Just checking if this is possible to do....

Have 2 websites, that share the same database. You register on one, and you are registered on both, post on one, and you can view and post/reply on both. The only difference is cosmetic in nature, with a different default template, different title header/logo, perhaps different color scheme, and different right side bar content mod. But all forums the same.

I reliaze it may require a second licence, but just want to know if it is even possible to do first.
Reply With Quote
  #2  
Old 03-09-2006, 09:48 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would be possible yes. But like you said, better first check with Jelsoft if the exact implementation you want would require 1 or 2 licenses.
Reply With Quote
  #3  
Old 03-09-2006, 12:35 PM
LWillmann LWillmann is offline
 
Join Date: Jan 2006
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But the URL for the board is stored in the database, so if you go to the secondary site for the board, it will probably kick you over to the primary site and not do like you're wanting.

You might be able to put a conditional into the code to test for the requested domain name, and then change the base URL for the objects based on that domain.

I'd say that there's a way to do it, but it might not be so simple.
Reply With Quote
  #4  
Old 03-09-2006, 01:44 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One other possible idea....

What if it could sense where you entered from....

That could automaticly determine which style was used based on the referer url. Perhaps even consider using a cookie, so it will remember the last style used, so when the same person enters again from a different direction it will read the cookie and keep the same style. No cookie, then it will base the style on the entry url
Reply With Quote
  #5  
Old 03-09-2006, 02:06 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont think this would agree with the Jelsoft TOS :-/
Reply With Quote
  #6  
Old 03-09-2006, 02:43 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a reply I got from Jake / vbulletin team on vbulletin.com

http://www.vbulletin.com/forum/showthread.php?t=178165

-----------------
Sharing the same userbase is much more difficult. For help with this I recommend you post on www.vbulletin.org.

From your description of what you want to do, I recommend you look into using different styles on the same forum that are activated by a plugin or file hack by the different domains.
-----------------
Reply With Quote
  #7  
Old 03-09-2006, 02:53 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delds
Sharing the same userbase is much more difficult. For help with this I recommend you post on www.vbulletin.org.
Sharing the userbase, but not the posts/forums is very complicated (unless you can life with a lot of limitations).

Accessing 1 board (users, posts, everything) from 2 different domains each showing their own style, is a lot simpler.
Reply With Quote
  #8  
Old 03-09-2006, 02:59 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to use the same user base / forums / posts, only cosmetic it would be different. I guess style based on entry url would do it, perhaps a cookie system that could remember style of the previous entry, and in the absence of a cookie than base on entry url, but would have to be an automated function.
Reply With Quote
  #9  
Old 03-09-2006, 03:01 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cookie would be of no use. You should base it on the domainname.
Reply With Quote
  #10  
Old 03-09-2006, 03:22 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

domain name would be fine, just need a plug in to do it
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:12 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.04455 seconds
  • Memory Usage 2,247KB
  • 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