How do I turn off tagging

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rchu22
Posts: 3
Joined: 18 Apr 2008, 09:42

How do I turn off tagging

Post by rchu22 »

Can anyone tell me how I turn off tags (i.e the tags and attach tags feature in 1.1.1). I'm trialing an upgrade and whilst I'm sure it's very useful to some projects it's not something we'll use and I'll just get dozens of queries on it if not random tags produced because the users will inevitably want to have a play. Tried looking through the forums etc as well as the wiki - still no wiser

Running 1.1.1 under WAMP5 i.e.

Apache 2.2.4
PHP 5.2.3
MySQL 5.0.41
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: How do I turn off tagging

Post by vboctor »

Try adding the following settings to your config_inc.php:

Code: Select all

	# Access level required to view tags attached to a bug
	$g_tag_view_threshold = NOBODY;

	# Access level required to attach tags to a bug
	$g_tag_attach_threshold = NOBODY;

	# Access level required to detach tags from a bug
	$g_tag_detach_threshold = NOBODY;

	# Access level required to detach tags attached by the same user
	$g_tag_detach_own_threshold = NOBODY;

	# Access level required to create new tags
	$g_tag_create_threshold = NOBODY;

	# Access level required to edit tag names and descriptions
	$g_tag_edit_threshold = NOBODY;

	# Access level required to edit descriptions by the creating user
	$g_tag_edit_own_threshold = NOBODY;
Migrate your MantisBT to the MantisHub Cloud
rchu22
Posts: 3
Joined: 18 Apr 2008, 09:42

Re: How do I turn off tagging

Post by rchu22 »

Many thanks.
Dom75
Posts: 20
Joined: 28 Mar 2006, 13:47
Location: France
Contact:

Re: How do I turn off tagging

Post by Dom75 »

Hello,
i added those settings but the tag parameter line is still displayed. The only change is that when a user try to add a tag it's displaying a failure message. I don't want the line to be displayed, is there a way?

Thanks

Regards

Dominique
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: How do I turn off tagging

Post by vzw614 »

You would need to edit the actual php file that generates the page you want to remove that field from. Just be aware that if you make changes to the php code at that level you will need to re-do the change anytime you upgrade to a new version of Mantis.
Dom75
Posts: 20
Joined: 28 Mar 2006, 13:47
Location: France
Contact:

Re: How do I turn off tagging

Post by Dom75 »

hmm i don't want ton make change to the code so i have to manage with that unused parameter :wink:

Thanks for tour reponse

Regards

An happy user
Post Reply