Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2001, 08:29 PM
interrealm interrealm is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to know if the following is possible:

I'd like to use the same database, more specifically, the user tables, for more then 1 board.

Is this possible? IN a way, the way I am thinking of doing this is to assign the same "database" to each board, but configure the tables to use a different prefix per board. But leaving the usertable the same name. I'm not sure how this would effect the user settings (mods, admins, usercounts).

Any ideas?
Reply With Quote
  #2  
Old 12-01-2001, 11:18 AM
damicatz damicatz is offline
 
Join Date: Oct 2001
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is possible to use the same database for multiple boards but like you said you would have to manually edit the code for each board you had set up in every php file almost to change the names of the tables. This can be a very time consuming process, and I wouldn't recommend it.

And you do realize that if you plan to have more than 1 board using vBulletin that you will need multiple licenses right? Just checking because I know there are some people that don't know that.
Reply With Quote
  #3  
Old 12-01-2001, 11:35 PM
interrealm interrealm is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, well aware of that...

I just wanted to make sure I'm on the right track before I attempt this in a development environment. If it works, I know i'll be adding around 4 or 5 licenses within a few weeks after completeing this.

Btw.. if ANYONE with more knowledge is currenly, or considering doing this let me know... i am a VERY VERY new guy with php so i don' tknow how long it will take or if it will be able to work (with my stuff).

If when i do get it working and no one else has posted info about it, I will post what i've learned on here and let it be taken from there.

Personally.. I think this feature would be a HUGE feature if the vB development team actually did this in the software itself. Its one thing that no other board has that I know of.
Reply With Quote
  #4  
Old 12-05-2001, 03:01 AM
Brighthand Brighthand is offline
 
Join Date: Dec 2001
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking to do the same thing. I currently have two vBulletin boards (both licensed ) and would like to add a third. But I want to make it easy for those users that move between the boards. Right now they have to logon each time when going between boards. I'm looking for a solution such as the one mentioned above, or even some code that can work in conjunction with a cookie to make it a behind the scenes login.

Any ideas?
Reply With Quote
  #5  
Old 12-05-2001, 03:07 AM
interrealm interrealm is offline
 
Join Date: Nov 2001
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've run into some issues non-vb related that have prevented me from working on this.. but so far i've found the following to do:

create an include file that a user can name the different table names which the include file also allows a table name prefix to be added... so that if you have 3 vb's the prefix in #1 is vb1_, #2 is vb2_ and #3 is vb3_.

I reached the point of being able to initailze the install script and create the tables that correspond with the enw names. The hardest part is goign through ALL the pages and finding ALL the references to tables and modifing the code with the new variable name instead of hardcoding the table name itself.

I bleieve this will all be doable and only the "user" table should be left the same across the boards. This will allow core user/pass to be the same but all other "board related" info to be unique.

One problem i'm forseeing is when creating the vb, when it does the user table, prevent overwriting of the admin account.

These are just some notes, incase someone else is working on this. This would be a GREAT hack for people I think. Is there some of the more experienced vB developers in here capable of doing this more efficient or faster?
Reply With Quote
  #6  
Old 03-14-2002, 01:42 AM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word if anyone has done this? I'd like to do the same thing with a partner site.... that is, merge our databases and have 2 different boards with the same members, topics, ect.. but with different layouts and addresses.
Reply With Quote
Reply


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 02:15 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.04005 seconds
  • Memory Usage 2,204KB
  • 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)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