<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi James,</p>
    <p>I think the way to do this is unfortunately a bit of a hack you
      want to create a simple Screen Plugin like the one below:</p>
    <p><font face="Courier New, Courier, monospace">package
        EPrints::Plugin::Screen::PrivateNotice;<br>
        use EPrints::Plugin::Screen;<br>
        @ISA = ( 'EPrints::Plugin::Screen' );<br>
        use strict;<br>
        sub new<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $class, %params ) = @_;<br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $self = $class-&gt;SUPER::new(%params);<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $self;<br>
        }<br>
        sub can_be_viewed<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $self ) = @_;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $self-&gt;allow( &quot;general&quot; );<br>
        }<br>
        sub render_title<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $self ) = @_;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $name = &quot;User&quot;;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $self-&gt;html_phrase( &quot;title&quot; );<br>
        }<br>
        sub render<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $self ) = @_;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $self-&gt;html_phrase( &quot;content&quot; );<br>
        }<br>
        1;</font><br>
    </p>
    <div class="moz-cite-prefix">Then create a cgi page called
      private_notice:</div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace"><br>
      </font></div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace">use EPrints;<br>
        use strict;<br>
        my $eprints = EPrints-&gt;new;<br>
        my $repository = $eprints-&gt;current_repository();<br>
        exit( 0 ) unless( defined $repository );<br>
        EPrints::ScreenProcessor-&gt;process( <br>
        &nbsp;&nbsp;&nbsp; session =&gt; $repository, <br>
        &nbsp;&nbsp;&nbsp; screenid =&gt; &quot;PrivateNotice&quot;,<br>
        );<br>
        exit( 0 );</font></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Then create the phrases in a local
      phrase file.&nbsp; I think they will be under&nbsp;
      Plugin/Screen/PrivateNotice:title and
      Plugin/Screen/PrivateNotice:content.&nbsp; The reason for the cgi page
      as well as the screen plugin is to give a more user-friendly URL
      but you could just link to the Screen plugin URL.&nbsp; You could
      create additional private notice pages by extending the Screen
      plugin with just something like:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><font face="Courier New, Courier,
        monospace">package EPrints::Plugin::Screen::NewPrivateNotice;<br>
        use EPrints::Plugin::Screen::PrivateNotice;<br>
        @ISA = ( 'EPrints::Plugin::Screen::PrivateNotice' );<br>
        use strict;<br>
        sub new<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $class, %params ) = @_;<br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $self = $class-&gt;SUPER::new(%params);<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $self;<br>
        }</font></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">and then setting some more local
      phrases for title and content for this Screen Plugin.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Regards</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">David Newman</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 25/01/2021 09:17, James Kerwin via
      Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:EMEW3|55bd9f605b0facecb1c1c5c346bcdd63x0O9JL14eprints-tech-bounces|ecs.soton.ac.uk|CAKkNZ9C7EhCH2APDR6gD1Ox-mqe44zzKmoWeoZOdXAfs3LhhLg@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">Hi All,<br>
          <div><br>
          </div>
          <div>Hope we're all happy and healthy.</div>
          <div><br>
          </div>
          <div>I've been given a task and one option to complete it is
            to display information on a static page in EPrints. Due to
            the potentially sensitive nature of the data I was wondering
            if it's possible to have a static page in EPrints that
            requires the user to be logged in to EPrints to see it?</div>
          <div><br>
          </div>
          <div>I've had a quick look around and looked at all my
            &quot;.xpage&quot; files and I have no examples. I feel like it isn't
            possible, but thought it would be best to ask.</div>
          <div><br>
          </div>
          <div>If it isn't possible I have some other approaches&nbsp;to
            take. They will just take longer and my brain is already a
            bit scrambled after working out the LibCal API.</div>
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>James</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%7Caf4f1fd30912414d2df408d8c116f6d6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637471651668411120%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=aT8RdFQnI87oEDzNt7IRAiFn9P%2FY35Sl10q5ru7KGv0%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="TNYC2eEaukk598Pg/duToNmuNHMOUPln1LY5fuQbhTEJiixzZZzkiMDWeMrlP+Bz0GJpMmz3YxILeZ5y3Hu7HrJgfaYE2ldyRT+a4zpwZlR7T5jUV/YrGr5r0hpHDCI0uJufl1qge5TP/LdDzFKDgFSAvVgrDpE6aL1DcYfqoH0=">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%7Caf4f1fd30912414d2df408d8c116f6d6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637471651668411120%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=myzW5V7or5GfTlovJD8eGTy7ofbWG9PYor4Iq85Cs6o%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="wbqy9OtvMmn+2Xoe3U99VfVAs/mThaZU4ntRy1UIjCcpT701siwlHMjVPsfyn7mJOmamZfzSb/OFA1Sv4VlpdZ3Wm90vIpLUVsiJ3M7JScu3DQqiiYtHcN1JvK4iRxtI2UYBhaHcgaUhFNR/YHOpaN2zxRlje2BI5BXSjoQzGOU=">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%7Caf4f1fd30912414d2df408d8c116f6d6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637471651668421115%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=KKkjvnCI3BUnLOcEvgECM8qlB9ze2w116xZLGl2%2B7T0%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="xptVtP7qAUwyu+vAPJdGyTFD7kH4Jna3VvQyQXXTBwZYiWyG+DEcQ4N5M2sDImgwGWDOIiWYkIsTJnwIXUaSo03NFY5vA1bUg6sA514XV7yjDunDVpqic9e+TTMxCerGb1Bk5ql7Jo4J9dSM14fQPsVDArCO9A1xf7+u/8B8KLI=" 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%7Caf4f1fd30912414d2df408d8c116f6d6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637471651668421115%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=KKkjvnCI3BUnLOcEvgECM8qlB9ze2w116xZLGl2%2B7T0%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="xptVtP7qAUwyu+vAPJdGyTFD7kH4Jna3VvQyQXXTBwZYiWyG+DEcQ4N5M2sDImgwGWDOIiWYkIsTJnwIXUaSo03NFY5vA1bUg6sA514XV7yjDunDVpqic9e+TTMxCerGb1Bk5ql7Jo4J9dSM14fQPsVDArCO9A1xf7+u/8B8KLI=" 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>