vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Has this hack been mentioned? (https://vborg.vbsupport.ru/showthread.php?t=11361)

SNA 03-14-2001 01:45 PM

2 Boards: 1 User Table.

I have bought 2 VBulletin boards and I would like to have one constant user table for both... is this possible?

If you register on either board you can still post on both boards...

Has this been brought up before?

Thanks.

03-14-2001 02:35 PM

The best way to do this would be to have a single vb licence, and split the board into two areas using cobranding, so that the two areas have different styles/themes etc., but the user table is the same.

Sharing a user table between two databases is going to be extraordinarily difficult, if not impossible... and that's before you start to think about the server load...

03-14-2001 03:51 PM

Contact me if you truly want to separate boards.

03-15-2001 01:46 AM

Ok...

Forum1 databasename - forum1
Forum2 databasename - forum2

so far so good...

what I have done is go through all the *.php files on my forum2 messageboard and changed all instances of user to forum1.user usergroup to forum1.usergroup and userfield to forum1.userfield so that forum 2 reads all user related stuff from the forum1 user, usergroup and userfield tables.

It seems to be working.

Anyone see any problems with this?

03-15-2001 11:46 AM

If this works... contact me ASAP! :)

03-15-2001 01:33 PM

yeah if this is sucessful release the hack.

03-15-2001 01:52 PM

Actually it does seem that you can do just that. I don't know what versions of mysql support this but I can reference the tables in other databases (that I have access to) by appending the database name to table name.

03-15-2001 02:00 PM

Well, you learn something new every day... https://vborg.vbsupport.ru/

03-15-2001 02:27 PM

Quote:

Originally posted by John Harrison
yeah if this is sucessful release the hack.
This is not a hack that can be released.

Nor will you acheive maximum efficiency for your efforts on a MySQL database. On large scale systems run by Oracle, SQL Server or Sybase, this would provide economics of scale and performance. Therefore it would be worth your time and money to accomplish this.

03-15-2001 02:51 PM

...

So far I have just tested logging in and out on forum2 I havent tried posting yet... The memberlist works... and the control panel works (viewing members,groups, etc)... tonight ill go ahead and make some posts and maybe set up forum permissions and see how it reflects em on each board.


All times are GMT. The time now is 05:02 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.01108 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)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