vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   2 sites one database (https://vborg.vbsupport.ru/showthread.php?t=109872)

delds 03-08-2006 09:46 PM

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.

Marco van Herwaarden 03-09-2006 09:48 AM

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.

LWillmann 03-09-2006 12:35 PM

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.

delds 03-09-2006 01:44 PM

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

Blaine0002 03-09-2006 02:06 PM

i dont think this would agree with the Jelsoft TOS :-/

delds 03-09-2006 02:43 PM

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.
-----------------

Marco van Herwaarden 03-09-2006 02:53 PM

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.

delds 03-09-2006 02:59 PM

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.

Marco van Herwaarden 03-09-2006 03:01 PM

Cookie would be of no use. You should base it on the domainname.

delds 03-09-2006 03:22 PM

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


All times are GMT. The time now is 09:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01915 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete