vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Seperate installations sharing database but with different forum permissions at each (https://vborg.vbsupport.ru/showthread.php?t=193003)

Chunky Monkey 10-07-2008 08:04 PM

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!

Amenadiel 10-07-2008 11:13 PM

The only way would be to insert conditionals in showthread.php, forumdisplay.php and showpost.php, but it sounds like a lot of work.

Chunky Monkey 10-08-2008 05:51 AM

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?


All times are GMT. The time now is 12:16 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.03043 seconds
  • Memory Usage 1,715KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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