<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ruslan Zakirov
[mailto:ruslan.zakirov@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 31, 2005
9:30 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Kelly F. Hickel<br>
<b><span style='font-weight:bold'>Cc:</span></b> Ben Robson; Jörg Ungermann;
rt-users@lists.bestpractical.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rt-users] Anybody
using SelectRequestor?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Code looks a little bi
confusing<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 8/31/05, <b><span style='font-weight:bold'>Kelly F.
Hickel</span></b> <<a href="mailto:kfh@mqsoftware.com">kfh@mqsoftware.com</a>>
wrote:</span></font></span><o:p></o:p></p>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>If there's no org value for a user, it's not put into the
list.  That's easy to change, just add an else clause to the if statement
below, may put them all in an org called "NoOrg" or something….</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>    if((!defined ($org)) || ($org eq "")) {<o:p></o:p></span></font></pre></div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>This condition is
equivalent of<br>
  unless( $org ) {<br>
which is much simpler to understand<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><i><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>[Kelly F. Hickel] Hmm, well, maybe.  I’ve
been writing C code for over 20 years, and have been told that my perl code
looks like C.  I take that as a compliment.  ;>  I would argue that the way
that I wrote it is clearer to someone that doesn’t live and breathe perl, which
seems to apply to a lot of people that use RT.</span></font></i></b><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div><pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>      my $i = index($User->Name, "@");<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>      # Note that if index returned -1, we'll start at zero, just using the entire email addr as the org<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>      $org = substr $User->Name, $i+1;<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>    }<o:p></o:p></span></font></pre>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>So:</span></font> <o:p></o:p></p>

</div>

</blockquote>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Else {</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>$org = "NoOrg";</span></font><o:p></o:p></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>}</span></font><o:p></o:p></p>

</div>

</blockquote>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
I think this is wrong suggestion, will trigger situation when org is defined.<font
color=navy><span style='color:navy'><o:p></o:p></span></font></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><i><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold;font-style:italic'>[Kelly F. Hickel] It’s the wrong suggestion
because the code already handles this case, but I forgot about it.  Users with
no org will be entered in the dropdown list with their email domain name as the
org.  So there’s no need to change the code anyway, as it already handles the
case.<o:p></o:p></span></font></i></b></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<div>

<div>

<p><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>-- </span></font><o:p></o:p></p>

<p><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>Kelly F. Hickel<br>
Senior Software Architect<br>
MQSoftware, Inc<br>
952.345.8677<br>
<a href="mailto:kfh@mqsoftware.com" target="_blank">kfh@mqsoftware.com</a></span></font><o:p></o:p></p>

</div>

<div style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com"
target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Ben Robson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 31, 2005
8:04 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Jörg Ungermann; <a
href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rt-users] Anybody
using SelectRequestor?</span></font><o:p></o:p></p>

</div>

<div><span id="q_1060ca9920c9173f_3">

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>Jorg,<br>
<br>
Double check your permissions.  Initially I found that only my priv' users
were showing up, but then later when I re-did the permissions for the unpriv'
users, they too started showing up.<br>
<br>
I also suspect, but have not tested, you need to make sure that all users
belong to a "Company Name" in their personal settings.  I
suspect without a "Company Name" the script would not find them, or
would not know where to group them.<br>
<br>
BenR<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
on behalf of Jörg Ungermann<br>
Sent: Wed 8/31/2005 6:52 PM<br>
To: <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
Subject: [rt-users] Anybody using SelectRequestor?<br>
<br>
<br>
I just found the RT contribution SelectRequestor.<br>
<br>
It makes it possible to select users from lists when creating new tickets
(instead of typing tem in)<br>
<br>
It seems to work but i cannpot get more than 1 user (and root in addition)
listed.<br>
<br>
Anybody having this up and running?<br>
Is there a solution to get all users listed?<br>
<br>
Thanks<br>
<br>
Joerg<br>
______________________________________________________________<br>
Verschicken Sie romantische, coole und witzige Bilder per SMS!<br>
Jetzt bei <a href="http://WEB.DE" target="_blank">WEB.DE</a> FreeMail: <a
href="http://f.web.de/?mc=021193" target="_blank">http://f.web.de/?mc=021193</a><br>
<br>
_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users"
target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Be sure to check out the RT Wiki at <a href="http://wiki.bestpractical.com"
target="_blank">http://wiki.bestpractical.com</a><br>
<br>
Buy your copy of our new book, RT Essentials, today!<br>
<br>
Download a free sample chapter from <a href="http://rtbook.bestpractical.com"
target="_blank">http://rtbook.bestpractical.com</a></span></font><o:p></o:p></p>

</div>

</div>

</div>

</span>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users"
target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
</a><br>
<br>
Be sure to check out the RT Wiki at <a href="http://wiki.bestpractical.com"
target="_blank">http://wiki.bestpractical.com</a><br>
<br>
Buy your copy of our new book, RT Essentials, today! <br>
<br>
Download a free sample chapter from <a href="http://rtbook.bestpractical.com"
target="_blank">http://rtbook.bestpractical.com</a><o:p></o:p></span></font></p>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Best regards, Ruslan. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>-- <o:p></o:p></span></font></p>

<p><font size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'>Kelly F. Hickel<br>
Senior Software Architect<br>
MQSoftware, Inc<br>
952.345.8677<br>
kfh@mqsoftware.com</span><o:p></o:p></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p> </o:p></span></font></p>

</div>

</div>

</body>

</html>