Page 1 of 1

include changelog in webpage

Posted: 22 Mar 2005, 08:44
by Sweeny
Hi!

How can I include my changelog created by mantis in a html/php-webpage automatically - without authentification? I check this changelog_page.php but haven't found any possibility to use it without authentification.

Thanks

Sweeny

Posted: 22 Mar 2005, 16:08
by ZyanKLee
first of all you have to enable the guest account.

have a look at config_defaults_inc.php

in lines 980-981 there is:

$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';

set it to ON and the other to an existing "viewer" account like "guest" or something like that.

Posted: 23 Mar 2005, 12:04
by vboctor
Setup the following configs in config_inc.php:

$g_allow_anonymous_login = ON;
$g_anonymous_account = 'anonymous'; // has to be a valid account with access control typically set to viewer or reporter.

You can then link to the change log page. You can even set the project_id on the URL to get the change log for the specific project.

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect

sweeny

Posted: 23 Mar 2005, 12:37
by Sweeny
Hi!

Only the changelog page should be accessed by everybody... I would like to use an authentification for my mantis to see the bug page.

Alex

Posted: 23 Mar 2005, 12:47
by vboctor
The scenario you want to achieve was not tested before. However, I suggest you add a new access level called CHANGELOG which is lower than VIEWER. Then create your annonymous user to have this CHANGELOG access level. Also set $g_view_changelog_threshold = CHANGELOG.

For more details about adding an access level, see:
http://manual.mantisbt.org/manual.custo ... ations.php
http://manual.mantisbt.org/manual.custo ... values.php

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect

Posted: 19 Apr 2005, 07:43
by GreyHead
I have a 'blank' ChangeLog too. I don't want to change the settings I just want to have resolved bugs appear in the Changelog. I have several hundred resolved bugs at all levels BUT the changelog remains completely blank . . . it's as though something needs ot be turned on to enable it.

Running Mantis 0.19.2 out of the box, unmodified.

Bob

Posted: 19 Apr 2005, 07:46
by Guest
Sorry - posted in the wrong thread. Bob