Search found 3 matches

by CarlosFeitozaFilho
16 Mar 2026, 13:44
Forum: General Plugin Discussion
Topic: Automatic and programmatic modifications to MantisBT core files
Replies: 0
Views: 33

Automatic and programmatic modifications to MantisBT core files

Hello!

I know my question isn't about plugins, but I'd like to implement something in my plugins, and perhaps some of you have already created a clever solution.

The problem:

Recently, I needed to indicate next to the MantisBT name, in the title bar, whether the user was connected to was the ...
by CarlosFeitozaFilho
02 Dec 2025, 19:04
Forum: Help
Topic: Questions about the correct use of the schema() and upgrade() methods.
Replies: 2
Views: 395

Re: Questions about the correct use of the schema() and upgrade() methods.

So, as I can see, the schema update is like I undestood, it is based on "special" array of hardcoded commands or user functions that must be defined with the "install_" prefix.

There is no way to do the reverse upon plugin uninstall and I must program my way to do schema upgrade and "rollback" if I ...
by CarlosFeitozaFilho
01 Dec 2025, 17:16
Forum: Help
Topic: Questions about the correct use of the schema() and upgrade() methods.
Replies: 2
Views: 395

Questions about the correct use of the schema() and upgrade() methods.

Hello!

I'm developing a plugin for MantisBT (currently my version is 2.5.1, but my company intends to update). My intention is to do everything in the best way possible, using everything that MantisBT itself provides.

My plugin needs to make some changes to the database (MySQL), actually creating ...