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 10-07-2008, 09:04 PM
Chunky Monkey Chunky Monkey is offline
 
Join Date: Oct 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Seperate installations sharing database but with different forum permissions at each

Hello,

I am hoping somebody can help me out. I have several phpbb installations at different domain names sharing the same database. I changed their configuration files so that certain forums were hidden to unregistered/logged out guests at one domain but available to guests at a different domain.

I realize I would need a license for each vBulletin installtion I were to do this with since they would effectively be functioning as different forums, but can anyone tell me how to

1) Share a single database (same users, topics, posts, everything) among several different vBulletin installations at different websites
2) Make certain forums private at some domains
3) But make those same forums available to guests at others (different permissions for the same forums at different installations)

With phpbb it was a matter of "tricking" the software by hard coding the "auth code" for a particular forum in a particular installation's files. That is, at one domain, rather than letting phpbb pull the auth code from the database to determine whether guests could view the forum, I would provide the value myself hard coded in the file, so that every other installation would receive the value from the database and restrict the forum to guests, whereas the one whose auth value I manually supplied would display the forum to guests.

It wouldn't necessarily have to work as I've described above, but can anyone please tell me how to achieve what I'm trying to do with vBulletin?

To put it differently:

Site 1:
a - forum viewable by members, spiders, and guests
b - forum viewable only by members
c - forum viewable by members, spiders, and guests

Site 2:
b - forum viewable by members, spiders, and guests

Where b is the same forum at both sites. Basically it would be two or more installations of the Forum software sharing the same database, each at different websites, but only making available certain forums at each site.

I hope I've explained what it is I am interested in doing clearly enough. The fact that I've figured out how to do this with phpBB is what has prevented me from making the leap.

Thank you!
Reply With Quote
  #2  
Old 10-08-2008, 12:13 AM
Amenadiel's Avatar
Amenadiel Amenadiel is offline
 
Join Date: Sep 2006
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only way would be to insert conditionals in showthread.php, forumdisplay.php and showpost.php, but it sounds like a lot of work.
Reply With Quote
  #3  
Old 10-08-2008, 06:51 AM
Chunky Monkey Chunky Monkey is offline
 
Join Date: Oct 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wouldn't it be forum level conditionals? I don't know what the variable names are in vBulletin, but isn't there some place I could say

Code:
if($forum_id != $my_forum_id)
{
  showHeader();
  echo "Sorry, you have specified an invalid link."
  showFooter();
  die();
}
Anyone? Would really appreciate help!

--------------- Added [DATE]1223497803[/DATE] at [TIME]1223497803[/TIME] ---------------

Has nobody shared databases with vBulletin like this before?
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 09:02 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.06559 seconds
  • Memory Usage 2,176KB
  • Queries Executed 11 (?)
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_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_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