How to set default Private and Public Options

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
andydsh
Posts: 2
Joined: 30 Mar 2009, 08:40

How to set default Private and Public Options

Post 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
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: How to set default Private and Public Options

Post 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
levi.hungary
Posts: 3
Joined: 09 Jun 2009, 08:58

Re: How to set default Private and Public Options

Post by levi.hungary »

Super, it works.
Post Reply