Doglet |
09-30-2006 04:01 AM |
I just got FlashChat running with vBulletin 3.6.1 last night, but I am unsure how to prevent certain user groups from using it. I know from reading that this part is the bit that does it.
PHP Code:
// vbulletin specific settings
$GLOBALS['vbulletin'] = array(
'cookie' => $config['Misc']['cookieprefix'],
'prefix' => $config['Database']['tableprefix'],
'spkupdate' => true, // Update vBulletin when user speaks.
'logupdate' => true, // Update vBulletin when user logs in/out.
'useavatar' => true, // True = use custom avatar for flashchat photo feature, False = use custom profile picture.
'users' => explode(',',$users) , // Usergroups allowed standard access to chat.
'mods' => explode(',',$moderators) , // Usergroups allowed access as chat moderators.
'admin' => explode(',',$administrators) , // Usergroups allowed access as chat administrators.
'banned' => explode(',',$banned) , // Usergroups banned from accessing the chat.
'customer' => explode(',',$customers) , // Usergroups allowed access as customers.
);
I noted that others have usergroup numbers where mine has things like (',',$customers). How do I alter this file so that it bans certain groups, and allows others and recognises the groups I have.
Also, if I do that and just reupload this vBulletin3CMS.php, will it just work or do I need to do a reinstall?
|