Search found 21 matches

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

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
Jan 18, 2009 5:00 pm
Forum: Customizations
Topic: How to add a "Tags cloud" to the main page
Replies: 6
Views: 5524

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
Jan 17, 2009 7:17 am
Forum: Help
Topic: Table prefix
Replies: 3
Views: 1906

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
Jan 10, 2009 4:36 pm
Forum: Help
Topic: exporting from xp to 2003
Replies: 1
Views: 681

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
Jan 07, 2009 3:27 pm
Forum: General Discussion
Topic: Installation mantisbt-1.1.6 with XAMPP
Replies: 3
Views: 7649

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
Jan 04, 2009 10:17 am
Forum: General Discussion
Topic: OpenID support?
Replies: 9
Views: 14809

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
Dec 26, 2008 11:27 am
Forum: General Discussion
Topic: Installation mantisbt-1.1.6 with XAMPP
Replies: 3
Views: 7649

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
Dec 24, 2008 4:35 am
Forum: Customizations
Topic: How to add a "Tags cloud" to the main page
Replies: 6
Views: 5524

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
Oct 23, 2008 2:14 pm
Forum: Help
Topic: Time delay for relogin in admin section
Replies: 3
Views: 2090

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
Oct 07, 2008 8:03 am
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 29697

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
May 19, 2008 3:04 pm
Forum: Help
Topic: I keep having to reauthenticate?
Replies: 2
Views: 1342

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
Mar 16, 2008 4:48 pm
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 29697

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
Feb 29, 2008 8:56 am
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 29697

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
Feb 27, 2008 3:32 pm
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 29697

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
Feb 16, 2008 9:13 am
Forum: Customizations
Topic: Drupal Integration - any ideas ?
Replies: 21
Views: 29697

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...