Search found 18 matches

by danich
31 Aug 2007, 17:31
Forum: Customizations
Topic: Email: Replacing plain text with html
Replies: 3
Views: 14726

Email: Replacing plain text with html

In core/email_api.php around line 745
there's a line that says :
$mail->IsHTML( false );
change the value for "true" and mail will be sent in html code.
You should replace all the "\n" for "<br/>".
You can also change font, color, etc, you should start the html tag in the strings_english.txt file ...
by danich
31 Aug 2007, 13:58
Forum: Customizations
Topic: Showing specified custom fields on email report
Replies: 0
Views: 3942

Showing specified custom fields on email report

Let's say that you have lots of custom fields in your report and when a new issue is submited you are interested in showing only certain custom fields.
Open 'core/email_api.php'
Find the code: (about line 973)

# custom fields formatting
foreach( $p_visible_bug_data['custom_fields'] as $t_custom ...
by danich
23 Aug 2007, 18:40
Forum: Customizations
Topic: Required file upload
Replies: 0
Views: 3899

Required file upload

Is it possible to set file upload as a required/not required field?
I'm using mantis Mantis 1.1.0a3
cheers
by danich
21 Aug 2007, 19:52
Forum: Help
Topic: E-mail about new bug reports
Replies: 19
Views: 43699

# Mantis - a php based bugtracking system
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 - 2006 Mantis Team - mantisbt-dev@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for ...
by danich
21 Aug 2007, 19:46
Forum: Customizations
Topic: send a mail with an attached file
Replies: 5
Views: 8468

I know it because I created this topic ... :wink:
For this question, I have a form where I get the file (named $f_file) to upload (the same code that upload file in Mantis), I give the $f_file['tmp_name'] to my email function, I send the email then I attache the file with the file_add() function ...
by danich
21 Aug 2007, 19:44
Forum: Customizations
Topic: wywiwyg in mantis?
Replies: 5
Views: 9055

great !
I'll check it asap !
by danich
16 Aug 2007, 13:28
Forum: Customizations
Topic: send a mail with an attached file
Replies: 5
Views: 8468

In fact, I took the code of email_send() and I added the code :


$mail->AddAttachment($path,$name);


with $path like 'C:essai.txt' and $name like 'essai envoi'
I think that their idea is to attach the same file that was uploaded in an issue.
For example:
You create a new issue and attach a ...
by danich
14 Aug 2007, 14:33
Forum: Customizations
Topic: multiple attachment upload
Replies: 9
Views: 17306

[edit]
worked like a charm !
=)
by danich
13 Aug 2007, 18:54
Forum: Customizations
Topic: multiple attachment upload
Replies: 9
Views: 17306

good hack, unluckily its not working 4 me
Im using Mantis 1.1.0a3.
After submiting the issue, the screen goes blank and the issue ir reported, but no file is uploaded.
by danich
26 Jun 2007, 20:51
Forum: Help
Topic: Dependencies between custom fields!
Replies: 1
Views: 4696

No, it's not possible that way =(
here's the whole post explaining why http://www.mantisbt.org/forums/viewtopi ... ht=dynamic
not until js or ajax are implemented
Read what vboctor wrote
by danich
26 Jun 2007, 20:19
Forum: Help
Topic: Problem using custom fields: list too long
Replies: 6
Views: 8985

this is how I solved it:

function custom_function_default_enum_biglist() {
return 'ROLDAN|OT|VOTO|DATOS|TELEFE|MOVIL|AW|PAX|AMOR|SU|SON|SMS|PLANETA|LICI|CASADOS|BDA|TV|PASION|ROS|MDQ|FUT|TUC|SAL|JEFE|VOT|LUCHA|TRATO|XD|ARG|TELE|ALMA|CHIQUI|ELEGIDOS|LILI|MONTE CRISTO|PRE|SIETE|MAIPU|INFO|MESSI ...
by danich
26 Jun 2007, 20:18
Forum: General Discussion
Topic: Custom field dependencies
Replies: 8
Views: 16017

js or ajax will be needed for this as the report bug page is static.
by danich
26 Jun 2007, 20:11
Forum: Customizations
Topic: q : Enumeration Custom Fields with Dynamic Possible Values
Replies: 1
Views: 6166

Im stuck in a similar problem than yours.
this method works like a charm when "Animals" and "Plants" are projects.
When the report form loads, it is project-specific and the custom field shows the project specific items.
But the thing comes when you want to link two custom fields between them, I ...
by danich
22 Jun 2007, 15:30
Forum: Customizations
Topic: wywiwyg in mantis?
Replies: 5
Views: 9055

wywiwyg in mantis?

Is it possible?
That would be a BIG hit
thanks =)
by danich
20 Jun 2007, 14:17
Forum: General Discussion
Topic: How about this feature: Assign issue to group?
Replies: 2
Views: 5738

Yes, that would be great, actually Im getting over this limitation by combining mantis with mailing rules in my outlook account.
When an issue is reported to a certain category, its assigned to a user, for example 'devteam' and outlook sends that same message to all the users of that area.
Its not ...