vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Use user info from another server... is it possible? (https://vborg.vbsupport.ru/showthread.php?t=50909)

dejoslav 03-28-2003 11:05 AM

Use user info from another server... is it possible?
 
I have vbulletin forums installed on one server. Now I need to install forums on another server but I want to use user database from the 'old' one... Any way to do that?

To recap, everything on the new forums should be independent except for users...

Brian Briscoe 03-28-2003 12:29 PM

Well, if the host that you currently have your vBulletin database on supports database connections from outside their service then it should be fine, and quite easy to do. On this 'other server' is it with the same host? If so, is the database server you will be using the same as the one your vBulletin forums are currently running at?

dejoslav 03-28-2003 12:59 PM

Yes, I've allowed connecting from remote server and it works ok. I don't know what to do now...

Please notice that I cannot just edit /admin/config.php file and set $servername to the IP address of first server, because most of the mysql info should be taken from the second server (and it should remain 'localhost').

filburt1 03-28-2003 02:26 PM

It's not realistically possible because (1) it would require rewriting half of vB, and (2) it'll likely drive server load into the themosphere.

dejoslav 03-31-2003 08:39 AM

I thought that :(

I'll probably try to set a cron job which will run every couple of hours and do the following:

Make MySQL connections both to the first and second server (localhost) and update the user table (check how many new posts from an user are new). It will also check for changed user info and update what is modified...


All times are GMT. The time now is 11:16 AM.

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.00997 seconds
  • Memory Usage 1,708KB
  • 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