Search found 14 matches

by dandjo
02 Aug 2011, 10:00
Forum: Help
Topic: Switch tickets with [<<] and [>>]
Replies: 2
Views: 2254

Re: Switch tickets with [<<] and [>>]

Thank's atrol, I'm now using

Code: Select all

gpc_set_cookie(config_get('bug_list_cookie'), implode(',', $my_ticket_array));
by dandjo
01 Aug 2011, 15:13
Forum: Help
Topic: Switch tickets with [<<] and [>>]
Replies: 2
Views: 2254

Switch tickets with [<<] and [>>]

Hi folks,

is there a possibility to iterate over tickets in view.php with [<<] and [>>] when displaying an own list of tickets in my plugin (not using My View or View Issues)? Is there an API function or variable to set with my own ticket-list?
Currently the links inside the tickets are not equal ...
by dandjo
15 Nov 2010, 16:34
Forum: Help
Topic: Mantis 1.2.3: Configuration ldaps with certificate
Replies: 5
Views: 7041

Re: Mantis 1.2.3: Configuration ldaps with certificate

The SOLUTION:
  1. Put the server-certificate somewhere on your harddisk (e.g. "C:\CA\certs\rootca.cer").
  2. Create the file "C:\openldap\sysconf\ldap.conf" with the content-line "tls_cacert C:\CA\certs\rootca.cer".
  3. Restart Apache.
Kind regards,
dandjo
by dandjo
12 Nov 2010, 14:23
Forum: Help
Topic: Mantis 1.2.3: Configuration ldaps with certificate
Replies: 5
Views: 7041

Re: Mantis 1.2.3: Configuration ldaps with certificate

Hi atrol,

thanks for this hint. The log says:

12-11-10 15:18 CET ldap Binding to LDAP server
12-11-10 15:18 CET ldap Attempting connection to LDAP server 'ldaps://url.to.server' port '636'.
12-11-10 15:18 CET ldap Connection accepted to LDAP server
12-11-10 15:18 CET ldap Setting LDAP protocol to ...
by dandjo
11 Nov 2010, 12:23
Forum: Help
Topic: Mantis 1.2.3: Configuration ldaps with certificate
Replies: 5
Views: 7041

Mantis 1.2.3: Configuration ldaps with certificate

Hi friends,

I want to use Mantis with ldap authentication over ldaps with a self signed certificate. Besides the configuration parameters in config_inc.php, how do I manage to get this working? The LDAP server is running and a test-connection with another LDAP client works perfectly. Currently I ...
by dandjo
04 Nov 2010, 11:55
Forum: Help
Topic: Mantis 1.2.3: Status after move to other project
Replies: 0
Views: 2014

Mantis 1.2.3: Status after move to other project

Hi friends,

I have the following problem:
A set of projects with a lot of users. User A has permissions for project 1, User B for project 1 and 2. User B moves an issue, that is assigned to User A, from project 1 to project 2. User A has no permission on project 2, so he gets "permission denied" if ...
by dandjo
02 Nov 2010, 17:11
Forum: Help
Topic: Plugin Development 1.2.3: changing e-mail subject
Replies: 2
Views: 2428

Re: Plugin Development 1.2.3: changing e-mail subject

This feature would really rock the house! :)
A plugin event or a template functionality would be the best i think.
by dandjo
02 Nov 2010, 15:02
Forum: Help
Topic: Plugin Development 1.2.3: changing e-mail subject
Replies: 2
Views: 2428

Plugin Development 1.2.3: changing e-mail subject

Hi friends,

is there a way to change the subject of the sent e-mails within a plugin? I just found the event EVENT_DISPLAY_EMAIL, which allows me to change the text inside but not the header data of the e-mail.
Thanks!

Kind regards,
dandjo
by dandjo
19 Oct 2010, 11:29
Forum: Help
Topic: Plugin Development 1.2.3: throwing formatted Exceptions
Replies: 4
Views: 2727

Re: Plugin Development 1.2.3: throwing formatted Exceptions

Thanks, I found a smarter way

Code: Select all

if ($error) {
  plugin_error(plugin_lang_get('my_error'), ERROR);
}
by dandjo
19 Oct 2010, 09:03
Forum: Help
Topic: Plugin Development 1.2.3: throwing formatted Exceptions
Replies: 4
Views: 2727

Re: Plugin Development 1.2.3: throwing formatted Exceptions

Hm, trigger_error() just lets me define a code and a localized text, i wanted to print the exception and the stacktrace.

I also didn't get how to use $MANTIS_ERROR[XXX] = 'localized text' in plugindir/lang/strings_english.txt to display with trigger_errur(XXX, ERROR). Pleas help! :)
by dandjo
19 Oct 2010, 08:20
Forum: Help
Topic: Plugin Development 1.2.3: throwing formatted Exceptions
Replies: 4
Views: 2727

Plugin Development 1.2.3: throwing formatted Exceptions

Hi friends,

in my plugin, there's a class that throws Exceptions (with "throw new Exception('Desc');"). How do I ensure to display this Exceptions like the APPLICATTION ERROR #XXX Mantis throws itself?
Thanks!

Kind regards,
dandjo
by dandjo
16 Oct 2010, 16:43
Forum: Help
Topic: Plugin Development 1.2.3: add another button to bugnotes
Replies: 5
Views: 4212

Re: Plugin Development 1.2.3: add another button to bugnotes

Thanks, I will try. And how do I add a button? Simply printing the html-Code, or is there a special structure I should use? Are there any examples?
by dandjo
15 Oct 2010, 13:01
Forum: Help
Topic: Plugin Development 1.2.3: add another button to bugnotes
Replies: 5
Views: 4212

Plugin Development 1.2.3: add another button to bugnotes

Hi friends,

I'd like to add another button to the bugnotes like "Edit", "Delete" and "Make Private". I'v tried to hook the EVENT_BUGNOTE_ADD event, but i cannot get the idea. Can anyone give me an example how to add a button near the other buttons?
Thanks!

Kind regards,
dandjo