include changelog in webpage

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Sweeny

include changelog in webpage

Post 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
ZyanKLee

Post 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.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post 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

sweeny

Post 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
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post 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
GreyHead

Post 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
Guest

Post by Guest »

Sorry - posted in the wrong thread. Bob
Post Reply