vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Two Forums, Shared Userbase (https://vborg.vbsupport.ru/showthread.php?t=115473)

TRStealth 05-13-2006 05:38 PM

Two Forums, Shared Userbase
 
I'm pretty sure this has been asked here before, but I can't seem to find it at all.

What I need is basically to be able to run two seperate forums, and seperate sites entirely, but be able to share the same userbase. That way when one person registers on one forum, he'll also be able to user the second forum without have to re-register, and vice versa.

I already have two owned licenses, so that's not a problem.

Is this even possible? And how? (Note, this needs to be done using 3.5.x, whatever the latest version is)

Xorlev 05-14-2006 03:53 AM

Well, the way I see it is you'd run both forums off one database...different prefixes. Then edit both of the registration forms to insert a record into both of the user tables, then for the password change, change for both, and so on for all the features you want shared. It shouldn't be too hard, just replicating a query.

TRStealth 05-14-2006 04:11 AM

When someone registers, what tables are exactly affected though? Just the user table?

Xorlev 05-14-2006 04:04 PM

Also, the userfields and usertextfields. I'm not overall too sure. You could always take a look in the code.

Marco van Herwaarden 05-14-2006 05:21 PM

The most easy way and most upgrade proof, would be to create a new table in each database. When a user registers on Site A, also write a record to that table in the site B database. Now create a scheduled task, that will read that table, and use the datamanager to insert a new user..etc.

It could also be done directly by setting up a second database connection and use that to let the datamanager insert into the other database also, but that could give problems if both forums are not on the same vBulletin version.


All times are GMT. The time now is 10:55 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.01626 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete