Page 1 of 1

How to set default Private and Public Options

Posted: 31 Mar 2009, 10:11
by andydsh
As default, when a user reports an issue. I want the the option to be set as default to private insted of the current default, public. I've tried to implement $g_default_bug_view_status and $g_default_bugnote_view_status but havn't noticed the value switching (under report issue).

Please help asap. ads.harbage@hotmail.com

Re: How to set default Private and Public Options

Posted: 05 Apr 2009, 15:46
by Kirill

Code: Select all

	/**
	 * Default Bug View Status (VS_PUBLIC or VS_PRIVATE)
	 * @global int $g_default_bug_view_status
	 */	
	$g_default_bug_view_status = VS_PUBLIC;
in your config_inc.php you must set this line.

Code: Select all

$g_default_bug_view_status = VS_PRIVATE;
And check you options on page http://yourdomain/mastisbtinstallation/ ... report.php

Re: How to set default Private and Public Options

Posted: 12 Jun 2009, 11:26
by levi.hungary
Super, it works.