<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi Izwan,</p>
    <p>I have had a look at your repository's statistics page for a
      depositor:</p>
    <p><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fir.uitm.edu.my%2Fcgi%2Fstats%2Freport%2Fuserid%2F4667%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941182910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=wq7rolbh%2B8Ux0XmlH9A37Kb62EUupOdKgnYTpik0io8%3D&amp;reserved=0" originalSrc="http://ir.uitm.edu.my/cgi/stats/report/userid/4667/" shash="gYpJgqwZNUMFSmM7TPKRJReGlNp8+ZWTKbtsez/mwU7puHq0guNjLeNL7rTa1naYzhMn59lOa4MVQoa9w/1LQz2pUrJ3Rfo3VrDh8pPFA5r3YO17bzC0qK0n6EIiE1O6VMrLthf3Hjm69rjYP1kBZEFndhAawlM54Z3HjixL3Pc=">http://ir.uitm.edu.my/cgi/stats/report/userid/4667/</a></p>
    <p>An eprint's userid field value is not typically used as a field
      on which to filter.&nbsp; Typically you would use creators_name which
      is used by the authors filter, which you seem to have
      disabled/removed.<br>
    </p>
    <p>It would be useful if you could show me the z_irstats2.pl
      configuration file for your repository.&nbsp; This should be either in
      EPRINTS_PATH/lib/cfg.d/ or
      EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/, where you need to
      substitute EPRINTS_PATH and ARCHIVE_NAME.&nbsp; (EPRINTS_PATH is likely
      to be either /usr/share/eprints/ or /opt/eprints3/).&nbsp; If you find
      the file in both places then the one in
      EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/, is what I need to
      see.&nbsp; <br>
    </p>
    <p>I suspect I know what the problem is.&nbsp; IRStats2 is using the
      standard means for rendering a user's name based on their ID but
      then the HTML code is itself is being HTML encoded before it is
      rendered so that is why you see something like below actually
      rendered on the page:</p>
    <p>
      &lt;span class=&quot;ep_name_citation&quot;
      xmlns=<a class="moz-txt-link-rfc2396E" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941182910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=V51Wga%2FWDU%2BqMz6jnmRE5gX4d9pBTRNKexqrPEYpf6Y%3D&amp;reserved=0" originalSrc="http://www.w3.org/1999/xhtml" shash="z7HFG6l3aeB9VXPIntAx8KuMFLv/euJcf5qLKJ5ggLEQ8cGyn7mLJEaHjkHBYezqWfWmlUgqyNn1fZELla49MWTqyc/zZHPqjKxs0Myt/pFt7Q/TtQ015A/QB1i/JQThFz5VEutxHX5HYNOPzXjN7i0LIayn8UzTIFiSY+wsA+Y=">&quot;http://www.w3.org/1999/xhtml&quot;</a>&gt;&lt;span
      class=&quot;person_name&quot;&gt;Faizul Kamaruddin&lt;/span&gt;&lt;/span&gt;
      <br>
    </p>
    <p>I think the way you fix this is to amend
      $c-&gt;{irstats2}-&gt;{sets}, specifically the block that
      specifies:</p>
    <p>'field' =&gt; 'userid',</p>
    <p>to add the line: 'type' =&gt; 'authorid',&nbsp; once amended this
      block should look like:</p>
    {<br>
    &nbsp;&nbsp;&nbsp; 'field' =&gt; 'userid',<br>
    &nbsp;&nbsp;&nbsp; 'type' =&gt; 'authorid',<br>
    }<br>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <div class="moz-cite-prefix">On 04/01/2021 03:18, MOHD.IZWAN SALIM
      via Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:EMEW3|a783792b0b7339d04a1c32530c496d58x033JJ14eprints-tech-bounces|ecs.soton.ac.uk|CAANJ=piR+LX4W6UMgA8B-RFVJBxuO8pwKXw6qMzafowr4Uh09g@mail.gmail.com">
      
      <div style="padding-bottom: 10px; padding-top: 5px;">
        <div style="padding:12px; border:1px solid #8D3970;
          background-color:#F7F9FA; color:#8D3970; font-size:14px;
          line-height:22px; font-family: Calibri, Arial, Helvetica,
          sans-serif;">
          <strong>CAUTION:</strong> This e-mail originated outside the
          University of Southampton.
        </div>
      </div>
      <div>
        <div dir="ltr">Dear all, how to generate statistics via IRStat2
          for deposit by the user department.
          <div><br>
          </div>
          <div>I manage to get by depositor (with some error span error
            : &lt;span class=&quot;ep_name_citation&quot; xmlns=&quot;<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941182910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=V51Wga%2FWDU%2BqMz6jnmRE5gX4d9pBTRNKexqrPEYpf6Y%3D&amp;reserved=0" originalSrc="http://www.w3.org/1999/xhtml" shash="z7HFG6l3aeB9VXPIntAx8KuMFLv/euJcf5qLKJ5ggLEQ8cGyn7mLJEaHjkHBYezqWfWmlUgqyNn1fZELla49MWTqyc/zZHPqjKxs0Myt/pFt7Q/TtQ015A/QB1i/JQThFz5VEutxHX5HYNOPzXjN7i0LIayn8UzTIFiSY+wsA+Y=" originalsrc="http://www.w3.org/1999/xhtml" shash="OHkcrEsZGwwKjkm9hxYkmC2s6s8sngo3zYrk3Z3JnQyki3/SkXBHVYBaMsAg4GTVVZQ6+Lbu0uKoefKmXAiGhBbw0f/EAPpHo5JIO2ICT5o1OzOHie7eYOl638Of0obt4ktSHBA2pFJZW9A1cDUmeTe/fRmYw23R7IRyk9wMAkM=" moz-do-not-send="true">http://www.w3.org/1999/xhtml</a>&quot;&gt;)</div>
          <div><br>
          </div>
          <div>Regards</div>
          <div><br clear="all">
            <div>
              <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
                <div dir="ltr"><b>Izwan</b><br>
                  UiTM Digital Library</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941192865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=viZ7ljjJgkD5dxbrUYbPN2QGaHiKodLMVLLRs40%2F1dI%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="fpFGQCCA6C/nDICBY/GWcRLLAb/QQ/c7qI/MM5rWATNVLdR9gOxKIcaZgp5QYVjBWEM678srqtH6mpXe9FUp1nHsZsEIFFlSsuLuxR9jyXYTNvrNlkGWOpk5p589k4ARRsFb1QWvYFlPcPSKCsiND67K1GPuCHMP269s4x6s+yg=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941192865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9yUbjjcEUtZcsuJz%2Fut7%2B2lKLgjSBjYhUEnWjzNNWho%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="I2aU/qgC1tjL8IWKPPcZemLe0tVRYQahlgFW1OlYpFIEoPDC1NeRTIy40wasiBbtcrgJKdDbOTUp2VMBoQlaD8z/zhVjgl6cQu3BiIbjZc9pXPAEGgTkSu66b1FYgmx/Q83uM8QA6xgXgbG6vGOsXx6xnNOTBQQLcCq+7eWBGnk=">http://wiki.eprints.org/</a></pre>
    </blockquote>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941202822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yePQ06fqjsFEAl3FzIs9%2BeTlLsqBLP7vpO%2Fv2QwNsNA%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="FjxLXQNO3YB/7kaGLemfCxSSwQ1w9uuL12KVsrR1oZHjVspeb3Wos1XD3+unrN+GnMePhoiY/8A7jqXpcArqJg/EDgLVsRmX3260ACLt/9hp5+iI4s0fVFhbV+zm2vbFRHwT3ZnxP9s9I6xigG6yFRjjYwvzxK+SaPlBn2hYulQ=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9be090250db34429715e08d8b09f2a5e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637453544941202822%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yePQ06fqjsFEAl3FzIs9%2BeTlLsqBLP7vpO%2Fv2QwNsNA%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="FjxLXQNO3YB/7kaGLemfCxSSwQ1w9uuL12KVsrR1oZHjVspeb3Wos1XD3+unrN+GnMePhoiY/8A7jqXpcArqJg/EDgLVsRmX3260ACLt/9hp5+iI4s0fVFhbV+zm2vbFRHwT3ZnxP9s9I6xigG6yFRjjYwvzxK+SaPlBn2hYulQ=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>