Search found 66 matches

by rkarmann
Jul 31, 2018 2:18 pm
Forum: Customizations
Topic: Dark theme for 2.5.1 (or above?)
Replies: 13
Views: 8323

Re: Dark theme for 2.5.1 (or above?)

Hey, Actually, I think it might happen because not all the Events are called on every pages. In MantisBTDarkTheme.php function hooks() { return array( 'EVENT_LAYOUT_RESOURCES' => 'add_css' ); } This is the event that is triggered to add the CSS link. Maybe that's a good start, and you should take a ...
by rkarmann
Mar 13, 2018 7:21 am
Forum: General Discussion
Topic: Hide View Issues button on the side bar
Replies: 3
Views: 1083

Re: Hide View Issues button on the side bar

If you really want to do it, then consider a plugin. You can follow this quick tutorial.

Menu items are printed into an <ul> element, so it might be easy to implement a Jquery function that hide the view_issue page link if user has reporter access level (see access_api and authentication_api).
by rkarmann
Mar 11, 2018 11:35 am
Forum: General Plugin Discussion
Topic: Help: Adding a new link in the user account page
Replies: 3
Views: 1386

Re: Help: Adding a new link in the user account page

Thanks, it helps a lot :)

Code: Select all

function print_menu() {
	
	$t_returns = array();
	
	$page = plugin_page( 'config_user' );
	$label = plugin_lang_get( 'my_theme' );
	
	$t_returns[] = "<a href=\"{$page}\">{$label}</a>";
	
	return $t_returns;
}
by rkarmann
Mar 09, 2018 6:09 am
Forum: General Plugin Discussion
Topic: Help: Adding a new link in the user account page
Replies: 3
Views: 1386

Help: Adding a new link in the user account page

Hi all, I'd like to know how can we add a new item in the user account page ? I know that we must trigger the EVENT_MENU_ACCOUNT , but I don't know the exact syntax for the output function. This should be an array... function hooks() { return array( "EVENT_MENU_ACCOUNT" => "print_menu", ); } functio...
by rkarmann
Mar 08, 2018 2:33 pm
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: older mantis 1.1.7 going to 2.8.0, platform retired

I don't understand. You have a 1.1.7, a 1.3 and now a 2.8.0 Mantis, right?
Did you install successfully the 2.8? Are you able to login in 2.8?
by rkarmann
Mar 08, 2018 1:25 pm
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: older mantis 1.1.7 going to 2.8.0, platform retired

What kind of login error?
by rkarmann
Mar 06, 2018 8:01 am
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: older mantis 1.1.7 going to 2.8.0, platform retired

Ok I see. Well I have upgraded 1.2.14 > 2.9 a few weeks earlier, and faced just one difficulty, wich has been solved by fetching this forum ( schema[185] or something like that). -> Create a Virtual Machine and install PHP 5.5 or > (with MySQL 5.5) -> Dump your Mantis Database and import the SQL fil...
by rkarmann
Mar 06, 2018 7:37 am
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: older mantis 1.1.7 going to 2.8.0, platform retired

In case you just need to retrieve bug datas from your old Mantis, is it possible to export/import bug in XML in your 1.1 version ? See this thread

Not sure this will work for you but let's try
by rkarmann
Mar 02, 2018 4:48 pm
Forum: General Plugin Discussion
Topic: HowTo: Create a Plugin in 5 steps
Replies: 2
Views: 4247

Re: HowTo: Create a Plugin in 5 steps

Ok, the plugin has been renamed JqueryExample. GitHub repo > JqueryExample.
by rkarmann
Mar 02, 2018 11:09 am
Forum: Help
Topic: how to remove [invite users] button from titlebar?
Replies: 7
Views: 1950

Re: how to remove [invite users] button from titlebar?

I have wrote a little tutorial on how to create a Plugin, based on your need. You can take a look at the topic and write it yourself, or just download it on GitHub.

Just follow the plugin installation instructions here.

RK
by rkarmann
Mar 02, 2018 11:05 am
Forum: General Plugin Discussion
Topic: HowTo: Create a Plugin in 5 steps
Replies: 2
Views: 4247

HowTo: Create a Plugin in 5 steps

Hi all, Mantis is getting more and more interest, but as we are developers, it's hard to hear that something is "not possible". So Mantis developers gave us the ability to write plugin that can satisfy our specific needs. Right now, I'm going to show you how to create a Plugin in 5 steps. This one w...
by rkarmann
Mar 02, 2018 8:47 am
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: What would be the best way to retire

Yes, in fact you might get issues with Mantis database schema. If you can try it on a localhost, then run on a test server, guess you will be able to migrate...
by rkarmann
Mar 01, 2018 2:19 am
Forum: Help
Topic: how to remove [invite users] button from titlebar?
Replies: 7
Views: 1950

Re: how to remove [invite users] button from titlebar?

So there is no configuration option to answer this user need ?
by rkarmann
Feb 28, 2018 4:12 am
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 3137

Re: What would be the best way to retire

Hi,

I would say... try a DUMP ? Or upgrade if possible :)