From: Gabriel B. <gab...@sd...> - 2007-01-26 13:35:59
|
Claudio, I believe that you have the best solution for the problem. Thank you for sharing, I was not aware of this problem, but I will include your line of code in my Mantis. This will probably need to be created as a custom function or core function in the next release. So it can be customize via the configuration file. I am not a Mantis or PHP guru, so I will hope that Victor is watching this list too. Thanks, Gabriel Help with Mantis wrote: > Gabriel Boie wrote: > > Claudio, > > > > There are a few solutions. None are perfect. I am new to this too (I am > > running the latest unstable version). > > Hi Gabriel, > > thanks for your help. > > > Make your Project "private" can be a first option. > > I cannot choose this option because otherwise the mantis administrator > would > have to explicitly add each new user to these "public" projects. Since > we expect > to have a huge number of users, we don't want the administrator to > waste time > managing users of "public" projects. > > > Another way, each user can customize their email. Most of the user do > > not want to get the emails anyway. (My Account/Preferences section). > > That's true, but I want the developers still receive emails of their own > projects. If I choose this option, they would never receive _any_ email. > > I looked for a solution for a week, and I made several tests (I'm new > to Mantis > too) but eventually I reached the idea that Mantis cannot be > configured to > behave as I want. Then my suggestion about the php code. > > Many thanks again. > > Regards, > > Claudio > > > > > > Help with Mantis wrote: > >> Hi all, > >> > >> we've recently put Mantis 1.0.6 on the website of the company :) > >> > >> We have several private projects, as well as many public projects where > >> different users can post bugs about our products. > >> > >> The problem is that currently all developers receive notifications > >> about public > >> projects even if they have not been added to such projects. :( > >> Instead, they should receive notifications about a public project > >> *only* if the > >> mantis administrator has added the specific developer to such project. > >> > >> This is a very annoying situation, that may be a problem for other > >> companies as > >> well. > >> > >> Therefore, I would suggest to put the following check inside the > >> email_collect_recipients function in the email_api.php file: > >> > >> if (project_includes_user($t_project_id, $t_user) == true){ > >> > >> In this way, users not added to a project will receive email about > >> that project. > >> > >> BTW, is there any other method to avoid this situation without > >> modifying the PHP > >> code ? > >> > >> Many thanks. > >> > >> Regards, > >> > >> Claudio > >> > >> > >> > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> opinions on IT & business topics through brief surveys - and earn cash > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > >> > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > >> _______________________________________________ > >> Mantisbt-help mailing list > >> Man...@li... > <mailto:Man...@li...> > >> <mailto:Man...@li...> > >> https://lists.sourceforge.net/lists/listinfo/mantisbt-help > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Mantisbt-help mailing list > Man...@li... > <mailto:Man...@li...> > https://lists.sourceforge.net/lists/listinfo/mantisbt-help > |