Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 07-22-2003, 02:35 AM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Multiple sites with one user database

I run a network of several automotive websites. My members constantly complain about having to register on each site in order to post. I've searched and concluded that it would be far too difficult to use a single user database for all sites, but i'm trying to come up with other idea's. What about a cron job or something that could compare the user table of each site and copy the new users to all the sites? I have a speedy dedicated server, and all the sites are on that one server. Any other idea's?
Reply With Quote
  #2  
Old 07-22-2003, 09:32 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you searched in this board I'm sure you run into my post why it is too hard to manage.

CRON job is a good idea but it is still hard to achieve because you have to keep userids same in the all boards to have a solid structure and even with a CRON job it is not easy to keep userids same. (You have to disable registrations in all boards but one.).

I always say the same thing: If this is easy to do, why would vb.com and vb.org has different registrations anyway? This should prove that this is hard to achieve or does not worth working on it even for VB devs.

It can be still possible with a clever design, but frankly I wouldnt bother working on it if I were you.

Though a member here claimed that he managed to do it, so you may want to contact him (I dont remember his name, but he posted in the the other thread) if you are determined to do it.
Reply With Quote
  #3  
Old 07-22-2003, 09:50 AM
NanoEntity NanoEntity is offline
 
Join Date: Oct 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySql 4, has a nice feature that leats you link databases, tables & colums together, like forum1.user=forum2.user, it would take a lot of hacking, but it can be done, the only problem, 2 forums have to be on same server.

here is example

PHP Code:
SELECT s.* 
FROM some_database.some_table galleryanother_database.another_table forum 
WHERE gallery
.some_column=forum.another_column 
This will be used in my vgallery I'm rewriting for vbulletin 3, https://vborg.vbsupport.ru/showthrea...threadid=47436
Reply With Quote
  #4  
Old 07-22-2003, 10:56 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could also do some back-end code and make the multiple sites run from one board installation. It will require a bit of trickery but is responably easy to do.
Reply With Quote
  #5  
Old 11-25-2003, 12:09 AM
fengshui-123 fengshui-123 is offline
 
Join Date: Aug 2003
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician
I always say the same thing: If this is easy to do, why would vb.com and vb.org has different registrations anyway? This should prove that this is hard to achieve or does not worth working on it even for VB devs.

I saw this mod for invisionboard here: http://forums.ibplanet.com/index.php?showtopic=2142


Why it is difficult in doing this in vB?
Reply With Quote
  #6  
Old 11-30-2004, 11:26 AM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhmm i know this is comming late, but if all the sites are on 1 server, just make all the config.php fields point to the same server.
its as easy as that
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 06:27 AM.


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.04021 seconds
  • Memory Usage 2,205KB
  • 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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete