Multi Channel Setup
You need one copy of blabws-pro-server and multiple copies of BlaB! WS client. Install the clients in the same database using our install guides but remember to set different: (1) server ports (e.g. 9001 9002 9003), (2) log file paths (e.g. /tmp/log1 /tmp/log2 /tmp/log3) and (3) table prefixes (e.g. blabwsp1 blabwsp2 blabwsp3). Change the last 10 symbols of the ACCESSKEY in order to isolate the channels if necessary. You can integrate your additional copies of BlaB! WS Pro client to the one installed first or integrate with a forum / CMS. Links between the channels can be set using the Custom Tab feature under AdminCP ยป Additions.
-
In case you integrate with a 3rd party script: guest access and new registrations must be disabled for all channels.
-
In case you integrate with a BlaB! WS Pro master: guest access and new registrations must be disabled for all slave channels.
By default users in the multiple channels have separate avatars, mottos, uploads, doodles and offline messages. In case you need avatars, mottos, uploads, doodles and offline messages to be shared between the channels:
-
Move /avatars and /attachments folders outside the channel folders:
channel1_master channel2_slave channel3_slave shared_avatars shared_attachments
-
Edit
config.php
of all channels:$xpath_av_dir = '../shared_avatars'; // avatars directory, no trailing slashes $xpath_at_dir = '../shared_attachments'; // attachments directory, no trailing slashes
-
Edit
config.php
of the slave channels, set the table prefix of the master channel:$dbss['sprf']='channel1_table_prefix';