Search found 21 matches

by NT
20 Feb 2009, 13:59
Forum: Help
Topic: Change session timeout value?
Replies: 8
Views: 20187

Re: Change session timeout value?

Hi File core\constant_inc.php contains the following:- # token expirations define( 'TOKEN_EXPIRY', 60*60 ); # Default expiration of 60 minutes ( 3600 seconds ) define( 'TOKEN_EXPIRY_LAST_VISITED', 24*60*60 ); define( 'TOKEN_EXPIRY_AUTHENTICATED', 5*60 ); TOKEN_EXPIRY_AUTHENTICATED is used to control...
by NT
18 Jan 2009, 22:00
Forum: Customizations
Topic: How to add a "Tags cloud" to the main page
Replies: 6
Views: 7304

Re: How to add a "Tags cloud" to the main page

The plugin has been put on http://git.mantisforge.org/. This should work with release 1.2.0a3. When enabled, the Tag Cloud is visible for all projects, The latest code will only show the tags from the currently selected project. If 'All Projects' is selected on the view bugs page, then tags will be ...
by NT
17 Jan 2009, 12:17
Forum: Help
Topic: Table prefix
Replies: 3
Views: 3129

Re: Table prefix

Hi

In your config_inc.php file add the following:-

Code: Select all

	
$g_db_table_prefix		= 'newprefix';
Replacing 'newprefix' with whatever you want your table prefix to be.

You could also change the table suffix from '_table' to by adding:-

Code: Select all

	
$g_db_table_suffix		= '_newsuffix';
Nick
by NT
10 Jan 2009, 21:36
Forum: Help
Topic: exporting from xp to 2003
Replies: 1
Views: 1295

Re: exporting from xp to 2003

Hi I assume that you already have your database and webserver software set up and running on your 2003 machine. First of all copy your database to the new server. Assuming that you are using mysql for your database:- On the XP machine Export your mantis database to a flat file. On the 2003 machine I...
by NT
07 Jan 2009, 20:27
Forum: General Discussion
Topic: Installation mantisbt-1.1.6 with XAMPP
Replies: 3
Views: 10612

Re: Installation mantisbt-1.1.6 with XAMPP

Hi Gochi You need to add the email configuration options to your config_inc.php file. See the manual at http://www.mantisbt.org/manual/manual.configuration.email.php for details of how to do this. Also look through these forums, as help on configuring email is a common topic. If this is a local test...
by NT
04 Jan 2009, 15:17
Forum: General Discussion
Topic: OpenID support?
Replies: 9
Views: 17729

Re: OpenID support?

Victor has just added OpenId support to the development branch of mantisbt.

Not only does it support OpenId providers, but it also supports Google,Yahoo and AOL accounts - marvelous.

NT
by NT
26 Dec 2008, 16:27
Forum: General Discussion
Topic: Installation mantisbt-1.1.6 with XAMPP
Replies: 3
Views: 10612

Re: Installation mantisbt-1.1.6 with XAMPP

Hi Gochi. The first thing to do is secure your xampp installation (see the xampp security page). Assuming you have your xampp directory as c:\xampp Extract mantis to c:\xampp\htdocs. This will give you a folder c:\xampp\htdocs\mantisbt-1.1.6 Rename this folder to c:\xampp\htdocs\mantisbt (If you hav...
by NT
24 Dec 2008, 09:35
Forum: Customizations
Topic: How to add a "Tags cloud" to the main page
Replies: 6
Views: 7304

Re: How to add a "Tags cloud" to the main page

Hi Victor I have made a 1.2 plugin to add a TagCloud to the view bugs page. I have posted it here as the most appororiate place rather than on the bug tracker. How are contributed plugins going to be handled (and maintained) ? Some Open Source projects hold them in their own source code repositories...
by NT
23 Oct 2008, 19:14
Forum: Help
Topic: Time delay for relogin in admin section
Replies: 3
Views: 3218

Re: Time delay for relogin in admin section

Hi

This value is set in file core/constant_inc.php
Near the end of the file is the line:-

Code: Select all

define( 'TOKEN_EXPIRY_AUTHENTICATED', 5*60 );
This is the expiry time in seconds.
You can change this value to whatever value you think will be long enough.

Nick
by NT
07 Oct 2008, 13:03
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 43267

Re: Drupal Integration - any ideas ?

Hi shadowhitman Could you you changing the following code in drupal.php from # get the cookie that drupal uses for authentication if ( $t_drupal_cookie_domain != '' ) { $t_cookie_name = $t_drupal_cookie_domain; } else { $t_path = $_SERVER['SERVER_NAME'] . '/' . $t_drupal_url_path; $t_cookie_name = '...
by NT
19 May 2008, 20:04
Forum: Help
Topic: I keep having to reauthenticate?
Replies: 2
Views: 2145

Re: I keep having to reauthenticate?

Hi

The session length is set in file core/constant_inc.php

Change the line

Code: Select all

define( 'TOKEN_EXPIRY_AUTHENTICATED', 5*60 );
This line sets the reauthentication interval to 5 minutes.
by NT
16 Mar 2008, 21:48
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 43267

Re: Drupal Integration - any ideas ?

Hi naeemp I'm pleased that you found my post useful. In answer to your questions. 1) Not all of my Mantis users have Drupal accounts, so this code checks if the user is logged into Drupal. If not then I want the normal Mantis authentication process to be used. 2) This code was to fetch the Drupal us...
by NT
29 Feb 2008, 13:56
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 43267

Re: Drupal Integration - any ideas ?

Hi naeemp I have mantis installed in a separate folder in my website Document root, so I have folders /var/www/html/mantis and /var/www/html/drupal and access them with http://mysite/mantis and http://mysite/drupal . If you have drupal installed in your document root, still install mantis in a subfo...
by NT
27 Feb 2008, 20:32
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 43267

Re: Drupal Integration - any ideas ?

Hi I have made a small customisation to mantis to get it to login automatically whenever I am logged into a Drupal site running on the same server. There must be a Mantis user account for the same userid that you are using for Drupal. This does not have any automatic logout functionality. I have had...
by NT
16 Feb 2008, 14:13
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 43267

Re: Drupal Integration - any ideas ?

Yes it is getting slightly away from the title of the topic, but I agree that single sign on is an important requirement. Ideally I would like to be able to configure mantis so that it would be able to recognise that a user is already logged into something I trust, whether that is NTLM, X509, http a...