Search found 66 matches

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

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
13 Mar 2018, 12:21
Forum: General Discussion
Topic: Hide View Issues button on the side bar
Replies: 3
Views: 3287

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
11 Mar 2018, 16:35
Forum: General Plugin Discussion
Topic: Help: Adding a new link in the user account page
Replies: 3
Views: 8288

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
09 Mar 2018, 11:09
Forum: General Plugin Discussion
Topic: Help: Adding a new link in the user account page
Replies: 3
Views: 8288

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...
by rkarmann
08 Mar 2018, 19:33
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 10914

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
08 Mar 2018, 18:25
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 10914

Re: older mantis 1.1.7 going to 2.8.0, platform retired

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

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
06 Mar 2018, 12:37
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 10914

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
02 Mar 2018, 21:48
Forum: General Plugin Discussion
Topic: HowTo: Create a Plugin in 5 steps
Replies: 3
Views: 33795

Re: HowTo: Create a Plugin in 5 steps

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

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
02 Mar 2018, 16:05
Forum: General Plugin Discussion
Topic: HowTo: Create a Plugin in 5 steps
Replies: 3
Views: 33795

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. ...
by rkarmann
02 Mar 2018, 13:47
Forum: Help
Topic: older mantis 1.1.7 going to 2.8.0, platform retired
Replies: 17
Views: 10914

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
01 Mar 2018, 07:19
Forum: Help
Topic: how to remove [invite users] button from titlebar?
Replies: 7
Views: 5839

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

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

Re: What would be the best way to retire

Hi,

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