Search found 28 matches

by econsor_ag
Jul 29, 2020 1:55 am
Forum: General Plugin Discussion
Topic: REST API
Replies: 0
Views: 405

REST API

Hello, I want to extend the users_rest.php in the api/rest/restcore/ folder to create a function which allows me to create a auth token using a username and password. Is it possible to do this in the plugin directory without changing core files, or is there a better solution extending the API? Thank...
by econsor_ag
Jul 23, 2020 9:00 am
Forum: General Plugin Discussion
Topic: Is there a plugin event to redirect to custom page after login?
Replies: 3
Views: 645

Re: Is there a plugin event to redirect to custom page after login?

Perhaps you can use this setting: /** * Default page after Login or Set Project * @global string $g_default_home_page */ $g_default_home_page = 'my_view_page.php'; If that does not work, you always can define your own plugin Event and adjust source code ( not the best solution but sometimes unavoid...
by econsor_ag
Jul 23, 2020 8:19 am
Forum: General Plugin Discussion
Topic: Is there a plugin event to redirect to custom page after login?
Replies: 3
Views: 645

Is there a plugin event to redirect to custom page after login?

Hello,

is there a plugin event, or some other method to redirect to custom page after login?
I want to create a "stamp-in" system for employees where they have to confirm a button after login that they started working for that day.
by econsor_ag
Apr 03, 2020 9:38 am
Forum: Help
Topic: How do I hide the user impersonate button?
Replies: 2
Views: 1299

Re: How do I hide the user impersonate button?

Check out this setting: /** * Threshold needed to impersonate a user or NOBODY to disable the feature. * @global integer $g_impersonate_user_threshold */ $g_impersonate_user_threshold = ADMINISTRATOR; Thank you I solved it like this inside my plugin :wink: : if(auth_get_current_user_id() != 223){ g...
by econsor_ag
Apr 02, 2020 7:26 am
Forum: Help
Topic: How do I hide the user impersonate button?
Replies: 2
Views: 1299

How do I hide the user impersonate button?

Hello,

can I hide the impersonate button in the settings tab of a user? What hook do I need?
I need to do it in PHP so only specific Users with the hardcoded ID can use that button.
by econsor_ag
Mar 26, 2020 9:28 am
Forum: Deutsch
Topic: [Plugin/Hook] Reihenfolge der Menü Items ändern
Replies: 2
Views: 1570

Re: [Plugin/Hook] Reihenfolge der Menü Items ändern

Habe es nicht probiert, aber mit EVENT_MENU_MAIN_FILTER könnte das machbar sein. https://mantisbt.org/docs/master/en-US/Developers_Guide/html-desktop/#dev.eventref.output.menu This event gives plugins the opportunity to modify the complete main menu before it is output (for example re-order items, ...
by econsor_ag
Mar 26, 2020 4:07 am
Forum: Deutsch
Topic: [Plugin/Hook] Reihenfolge der Menü Items ändern
Replies: 2
Views: 1570

[Plugin/Hook] Reihenfolge der Menü Items ändern

Hallo Zusammen,

ich habe mehrere Plug-Ins die neue Menü Punkte links hinzufügen, wie kann ich hierfür aber die Reihenfolge setzen?

'EVENT_MENU_MAIN' => 'addMenu'
by econsor_ag
Feb 26, 2020 2:49 am
Forum: Deutsch
Topic: Nach mehreren Reportern Filtern
Replies: 2
Views: 1728

Re: Nach mehreren Reportern Filtern

atrol wrote:
Feb 25, 2020 3:29 pm
Rechts oben im Filtermenue umschalten auf "Erweiterte Filter".
Dann lassen sich nach Klick auf Reporter auch mehrere Reporter auswählen.
Vielen Dank, genau wonach ich gesucht hatte :D
by econsor_ag
Feb 25, 2020 3:06 am
Forum: Deutsch
Topic: Nach mehreren Reportern Filtern
Replies: 2
Views: 1728

Nach mehreren Reportern Filtern

Hallo Zusammen,

ist es möglich nach mehreren Reportern zu Filtern? Wenn es dazu erweitert werden müsste wie müsste ich vorgehen, oder was müsste beachtet werden?

Vielen Dank :)
by econsor_ag
Feb 18, 2020 10:33 am
Forum: Deutsch
Topic: Mantisbt Installtion mit alter Datenbank
Replies: 4
Views: 2240

Re: Mantisbt Installtion mit alter Datenbank

atrol wrote:
Feb 18, 2020 10:29 am
Im Prinzip ja, aber natürlich auch an all die anderen Dinge denken, die dokumentiert sind, wie z.B. Konfigurationsdateien übernehmen, ggf. Plugins die nicht Bestandteil von Mantis selbst sind in's Plugins Verzeichnis kopieren, ...
Vielen Dank :)
by econsor_ag
Feb 18, 2020 10:00 am
Forum: Deutsch
Topic: Mantisbt Installtion mit alter Datenbank
Replies: 4
Views: 2240

Re: Mantisbt Installtion mit alter Datenbank

Das Datenbankschema muss angepasst werden, da es Neuerungen in 2.23.0 gab. https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.upgrade D.h. inbesondere der folgende Schritt ist wichtig http://yoursite/mantisbt-NEW/admin/install.php Hi, danke für die schnelle Antwort. ...
by econsor_ag
Feb 18, 2020 9:40 am
Forum: Deutsch
Topic: Mantisbt Installtion mit alter Datenbank
Replies: 4
Views: 2240

Mantisbt Installtion mit alter Datenbank

Hallo Zusammen,

ich benutzte momentan Mantisbt 2.19.0 und habe jetzt auf einen anderen Server die aktuellste Version installiert (2.23.0).
Kann ich einfach meine Datenbank von 2.19.0 rüber kopieren zu 2.23.0 oder muss ich was beachten?

Vielen Dank :)
by econsor_ag
Oct 07, 2019 9:24 am
Forum: Help
Topic: User Regristration - No E-Mail to set password
Replies: 14
Views: 4041

Re: User Regristration - No E-Mail to set password

I went into /admin/email_queue.php and clicked on [send or delete]. When the recipient is for example me, then the email arrives without problem.
by econsor_ag
Oct 07, 2019 8:19 am
Forum: Help
Topic: User Regristration - No E-Mail to set password
Replies: 14
Views: 4041

Re: User Regristration - No E-Mail to set password

The mail function is setup correctly, when I go into the mail queue I can manually send the mail without error.

I remember before updating mantis that the mails were sent out directly without cronjob, did that change since the newer versions?
Do I have to create a cronjob to send emails out?
by econsor_ag
Oct 07, 2019 2:47 am
Forum: Help
Topic: User Regristration - No E-Mail to set password
Replies: 14
Views: 4041

Re: User Regristration - No E-Mail to set password

I have $g_email_send_using_cronjob turned off. Should it not usually immediately send the mail out on action?