View Full Version : Disable Config Changes?
In the config of a new board,
I was wondering if there is a way to disable users from changing certain things such as cookie path and board url, like it will still be in the registry but not shown in the config so the person owning the board cannot change things I dont want them to..
Derek
11-18-2006, 11:36 AM
It's already like that. If they make changes it just reverts back to the ones they should have had.
I know but im talking about stopping them from doing things like disabling avatars and stuff
Derek
11-19-2006, 09:27 PM
You will need to edit admin/admin_board.php, and add the names of the fields to the $nbs_ignore array like this...
$nbs_ignore = array(
'server_name',
'server_port',
'script_path',
'cookie_domain',
'cookie_name',
'cookie_path',
'smilies_path',
'avatar_path',
'avatar_gallery_path',
'avatar_max_height',
'avatar_max_width',
);
etc...
Note that if you are doing this for stuff that is off by default, you will have to edit new_forum_sql.php, and change the default to 1 for the ones that are off that you are preventing them from turning off.
Derek
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.