Search found 862 matches

by cas
Sep 21, 2020 3:00 am
Forum: Help
Topic: SMTP EMail
Replies: 1
Views: 75

Re: SMTP EMail

config/config_inc.php is indeed the correct file to edit.
Please check this topic:
https://www.mantisbt.org/forums/viewtop ... =3&t=15398
by cas
Sep 11, 2020 3:27 am
Forum: Help
Topic: Negative search in filters
Replies: 4
Views: 315

Re: Negative search in filters

yes, found similar issue in the past. Needed for reporting. I just downloaded an Excel and removed that category :mrgreen:
by cas
Sep 05, 2020 4:47 am
Forum: Customizations
Topic: CSP headers
Replies: 4
Views: 351

Re: CSP headers

Perhaps you should look @ function http_security_headers() and function http_custom_headers()
by cas
Sep 05, 2020 3:51 am
Forum: Customizations
Topic: CSP headers
Replies: 4
Views: 351

Re: CSP headers

If you would scan the core directory on files that contain "CSP" you would have found the http_api.php :mrgreen:
by cas
Sep 03, 2020 4:12 am
Forum: Help
Topic: Selecting "view issues" returns a #401 error (with a #1267 error)
Replies: 1
Views: 149

Re: Selecting "view issues" returns a #401 error (with a #1267 error)

This looks like some of the tables have a different collation than the the database itself. What you could do is ( after making a backup of the DB), is to ensure that DB and all tables have the same collision. Changes you could make via phpMyAdmin or any other tool such as Heidi. Now try again and s...
by cas
Aug 29, 2020 7:14 am
Forum: Customizations
Topic: Using plugin to replace code in specific pages
Replies: 8
Views: 462

Re: Using plugin to replace code in specific pages

you can try to declare the events in config_inc.php but you would still need to adjust the core file to insert it @ the right place. I am not aware of a plugin that allows you to dynamically change code. In case you believe such an event to be essential, you can request to have it added in the next ...
by cas
Aug 28, 2020 2:57 am
Forum: Customizations
Topic: Using plugin to replace code in specific pages
Replies: 8
Views: 462

Re: Using plugin to replace code in specific pages

you can find that in the developer guide which is included in your installation.
Clearly you need to insert the event command @ the location where you would need to execute the code you want
by cas
Aug 28, 2020 2:55 am
Forum: Customizations
Topic: Where is the user_signup code?
Replies: 2
Views: 162

Re: Where is the user_signup code?

That is done via function user_signup which is located in core/user_api.php

Do yourself a favor and dive into the basics of Mantis, makes life much more easy :mrgreen:
by cas
Aug 28, 2020 2:51 am
Forum: Customizations
Topic: reCaptcha on Signup/Login Page
Replies: 16
Views: 470

Re: reCaptcha on Signup/Login Page

this is indeeed what was described on the Stackoverflow page :mrgreen:
by cas
Aug 28, 2020 2:50 am
Forum: General Discussion
Topic: Modify the Page Report Inicident
Replies: 3
Views: 301

Re: Modify the Page Report Inicident

No, if you made the changes in the correct file, all you need to do, is to report an incident and you should see only the fields as you have defined.
by cas
Aug 27, 2020 11:41 am
Forum: Customizations
Topic: Using plugin to replace code in specific pages
Replies: 8
Views: 462

Re: Using plugin to replace code in specific pages

So you define your own event ( declare it within the plugin) and add the event statement @ the place where you require it.
If it needs to be right before the </head> statement, you need to declare your event within function html_head_end which you can find within core/html_api.php
by cas
Aug 27, 2020 10:36 am
Forum: Customizations
Topic: Using plugin to replace code in specific pages
Replies: 8
Views: 462

Re: Using plugin to replace code in specific pages

Plugins are event based, you can find those back in core/events_inc.php
You have various events available for the lay-out etcetra.
In addition you can add events yourself ( although this requires an adjustment of the core code).
by cas
Aug 27, 2020 10:00 am
Forum: Customizations
Topic: reCaptcha on Signup/Login Page
Replies: 16
Views: 470

Re: reCaptcha on Signup/Login Page

I tried another method which used those tags but also with the other solutions I face the same issue as you.
Check out what they write here:
https://stackoverflow.com/questions/308 ... ot-showing
by cas
Aug 27, 2020 9:20 am
Forum: Customizations
Topic: reCaptcha on Signup/Login Page
Replies: 16
Views: 470

Re: reCaptcha on Signup/Login Page

It has some something to do with "noscript" tags used by recaptcha
by cas
Aug 27, 2020 8:49 am
Forum: Customizations
Topic: reCaptcha on Signup/Login Page
Replies: 16
Views: 470

Re: reCaptcha on Signup/Login Page

Do you already have a valid key?