Tech List

[index] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Adding an institutional id to creators_id

From: <M.D.Mcfarlane AT lse.ac.uk>
Date: Thu, 26 Jun 2008 13:27:58 +0100


Threading:      • This Message
             Re: [EP-tech] Adding an institutional id to creators_id from Ian.Stuart AT ed.ac.uk
             Re: [EP-tech] Adding an institutional id to creators_id from lac AT ecs.soton.ac.uk
             RE: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
             Re: [EP-tech] Adding an institutional id to creators_id from lac AT ecs.soton.ac.uk
             [EP-tech] from M.Bodger AT westminster.ac.uk
             [EP-tech] moving from 3.05 to 3.1 from M.Bodger AT westminster.ac.uk
             [EP-tech] RE: OAI from M.Bodger AT westminster.ac.uk
             Re: [EP-tech] RE: OAI from alfcosco AT unina.it
             [EP-tech] UNSPECIFIED from M.Bodger AT westminster.ac.uk
             Re: [EP-tech] UNSPECIFIED from tdb01r AT ecs.soton.ac.uk
             Re: [EP-tech] UNSPECIFIED from lac AT ecs.soton.ac.uk
             RE: [EP-tech] UNSPECIFIED from M.Bodger AT westminster.ac.uk
             [EP-tech] Spurious users from b.cumbers AT bbk.ac.uk
             Re: [EP-tech] Spurious users from eprints AT bb.go.nl
             RE: [EP-tech] UNSPECIFIED from M.Bodger AT westminster.ac.uk
             Re: [EP-tech] UNSPECIFIED from tdb01r AT ecs.soton.ac.uk
             [EP-tech] User registration in Eprints3 from b.cumbers AT bbk.ac.uk
             RE: [EP-tech] User registration in Eprints3 from b.cumbers AT bbk.ac.uk
             Re: [EP-tech] User registration in Eprints3 from tdb01r AT ecs.soton.ac.uk
             RE: [EP-tech] User registration in Eprints3 from b.cumbers AT bbk.ac.uk

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k5PDS3d3547ebf816155ed06ea53c300d2db03-5A885756137C76448B1DFEADAF4EAD4F043B1261%40EXCHF2.lse.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hi,

We would like to add an institutional id for our eprint creators/editors
so that other departments within the school can harvest records with the
key linking field being the institutional id (which, as you can gather,
used institutional wide).

We don't want to do anything too fancy (for the time being we are just
going to do an UPDATE matching on email) and I have tried adding a field
eprint_creators_instid to eprints_creators_id, but cannot get at the
instid via a MODS export.

I'm hopeful that there is a simple way to do this.

I'd be grateful for any help.

Version: 3.0.5
OS: Linux

Mike
(a non-programmer)

Please access the attached hyperlink for an important electronic communications 
disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm


Re: [EP-tech] Adding an institutional id to creators_id

From: Ian Stuart <Ian.Stuart AT ed.ac.uk>
Date: Thu, 26 Jun 2008 14:12:55 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k5PEEQ7c4b78d119a20ddf9873c09a00f20943-486395D7.5000704%40ed.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

M.D.Mcfarlane AT lse.ac.uk wrote:
> *** 
http://www.eprints.org/tech.php/id/%3CEMEW-k5PDS3d3547ebf816155ed06ea53c300d2db03-5A885756137C76448B1DFEADAF4EAD4F043B1261%40EXCHF2.lse.ac.uk%3E
> *** EPrints community wiki - http://wiki.eprints.org/
> 
> Hi,
> 
> We would like to add an institutional id for our eprint creators/editors
> so that other departments within the school can harvest records with the
> key linking field being the institutional id (which, as you can gather,
> used institutional wide).
> 
> We don't want to do anything too fancy (for the time being we are just
> going to do an UPDATE matching on email) and I have tried adding a field
> eprint_creators_instid to eprints_creators_id, but cannot get at the
> instid via a MODS export.
I've done this for the Depot.... not particularly difficult:
1) In cfg/cfg.d/eprint_fields.pl, extend the creators (and/or editors, etc):
           {
             'name' => 'creators',
             'type' => 'compound',
             'multiple' => 1,
             'fields' => [
                           {
                             'sub_name' => 'name',
                             'type' => 'name',
                             'hide_honourific' => 1,
                             'hide_lineage' => 1,
                             'family_first' => 1,
                           },
                          {
                             'sub_name' => 'id',
                             'type' => 'text',
                             'input_cols' => 20,
                             'allow_null' => 1,
                           },
                          # my new field
                          {
                             'sub_name' => 'institution',
                             'type' => 'text',
                             'input_cols' => 20,
                             #'allow_null' => 1,
                           }
                         ],
             'input_boxes' => 4,
             'input_ordered' => 0,
           },
**don't forget to add the column to the creator, editor, etc tables**

in cfg/lan/en/phrases/eprint_fields.xml:
     <epp:phrase 
id="eprint_fieldname_creators_institution">Institution</epp:phrase>
     <epp:phrase id="eprint_fieldhelp_creators_institution">The 

instutution that this person is associated with.</epp:phrase>

(ditto for editors, etc)

The only problem now is getting the auto-update to work. This is done in 
cgi/users/lookup/name:

You need something like an SQL query of:
my $sql = "SELECT COUNT(eprint.eprintid) AS 
num_matches,creators_name_honourific,creators_name_given,creators_name_family,creators_name_lineage,creators_id,creators_institution 
from
  eprint_creators_name
   LEFT JOIN eprint_creators_id ON eprint_creators_name.pos = 
eprint_creators_id.pos
   AND eprint_creators_name.eprintid = eprint_creators_id.eprintid LEFT 
JOIN eprint ON eprint_creators_name.eprintid = eprint.eprintid
   LEFT JOIN eprint_creators_institution ON 
eprint_creators_institution.pos = eprint_creators_id.pos
   AND eprint_creators_institution.eprintid = eprint_creators_id.eprintid
   WHERE eprint.eprint_status = 'archive' ";

and a print sequence of:
	print "<ul>";
	print "<li 
id='for:value:relative:_name_family'>$f</li>";
	print "<li id='for:value:relative:_name_given'>$g</li>";
	print "<li 
id='for:value:relative:_name_honourific'>$h</li>";
	print "<li 
id='for:value:relative:_name_lineage'>$l</li>";
	print "<li id='for:value:relative:_id'>$id</li>";
	print "<li 
id='for:value:relative:_institution'>$institution</li>";
	print "</ul></li>\n";

... and Robert is your father's brother....
-- 

Ian Stuart.
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


Re: [EP-tech] Adding an institutional id to creators_id

From: Les Carr <lac AT ecs.soton.ac.uk>
Date: Thu, 26 Jun 2008 18:40:32 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3C66B0E963-2D59-48D3-8A34-8BE6C41D86CF%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/


On 26 Jun 2008, at 13:27, <M.D.Mcfarlane AT lse.ac.uk> wrote:

> We would like to add an institutional id for our eprint creators/ 
> editors
> so that other departments within the school can harvest records with  
> the
> key linking field being the institutional id (which, as you can  
> gather,
> used institutional wide).

When you say "institutional id" do you mean an "author id" 
for authors  
in the institution? If so, EPrints 3 already has that feature.

Or do you mean an id attached to the author that complements the  
existing author id and identifies which part of the institution (s)he  
is in? A kind of "school-id"?

And when you say "harvest records", do you mean via an OAI harvest, 
or  
an Eprints search?

Some repositories record the departments/research groups to which each  
paper is affiliated (using part of the subject tree). If that is  
achieved, you can search for all of the papers which belong to any  
part of the institution very easily.
--
Les


RE: [EP-tech] Adding an institutional id to creators_id

From: <M.D.Mcfarlane AT lse.ac.uk>
Date: Fri, 27 Jun 2008 10:52:37 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k5QApi69b2e5f797fa9159c03e7b20b713d35b-5A885756137C76448B1DFEADAF4EAD4F043B1272%40EXCHF2.lse.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hi Les,

Yes I mean a kind of school-id that is unique to the individual in the
institution. They do not need to know what it is and is generally not
shown on any output (we use these to populate Staff publication lists).

I assume the author_id you are talking about is the email which is not
unique enough for our needs. Our partners in a project have DAIs issued
nationally.

Our records will be harvested via OAI and not all authors or one
department, but a selection of authors. We just created a new 'Set' for
these!

Cheers

Mike



-----Original Message-----
From: owner-eprints-tech AT ecs.soton.ac.uk
[mailto:owner-eprints-tech AT ecs.soton.ac.uk] On Behalf Of Les Carr
Sent: 26 June 2008 18:41
To: EPrints.org Technical List
Subject: Re: [EP-tech] Adding an institutional id to creators_id

***
http://www.eprints.org/tech.php/id/%3C66B0E963-2D59-48D3-8A34-8BE6C41D86
CF%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/


On 26 Jun 2008, at 13:27, <M.D.Mcfarlane AT lse.ac.uk> wrote:

> We would like to add an institutional id for our eprint creators/ 
> editors so that other departments within the school can harvest 
> records with the key linking field being the institutional id (which, 
> as you can gather, used institutional wide).

When you say "institutional id" do you mean an "author id" 
for authors
in the institution? If so, EPrints 3 already has that feature.

Or do you mean an id attached to the author that complements the
existing author id and identifies which part of the institution (s)he is
in? A kind of "school-id"?

And when you say "harvest records", do you mean via an OAI harvest, 
or
an Eprints search?

Some repositories record the departments/research groups to which each
paper is affiliated (using part of the subject tree). If that is
achieved, you can search for all of the papers which belong to any part
of the institution very easily.
--
Les


Please access the attached hyperlink for an important electronic communications 
disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm


Re: [EP-tech] Adding an institutional id to creators_id

From: Les Carr <lac AT ecs.soton.ac.uk>
Date: Fri, 27 Jun 2008 12:16:17 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CCF926B1A-8F22-4460-83C5-828D6389674E%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/


On 27 Jun 2008, at 10:52, <M.D.Mcfarlane AT lse.ac.uk> wrote:

> Yes I mean a kind of school-id that is unique to the individual in the
> institution. They do not need to know what it is and is generally not
> shown on any output (we use these to populate Staff publication  
> lists).
>
> I assume the author_id you are talking about is the email which is not
> unique enough for our needs. Our partners in a project have DAIs  
> issued
> nationally.

You can put whatever you like in the author field's id component.  
EPrints doesn't care whether it is an email, a staff id or an NI  
number! Email works for our school, but our institution uses the staff  
id. You can use the autocompletion function to help people enter the  
value automatically.

> Our records will be harvested via OAI and not all authors or one
> department, but a selection of authors. We just created a new 'Set'  
> for
> these!
The ids aren't usually exposed to OAI. What do your harvesters expect  
to see? I suppose the repository would need to be able to allocate  
individual author ids to specific sets, so as long as the repository  
is privvy to that information you shouldn't have a problem.
I'd still be inclined to store the result of this mapping as a  
property of the eprint, so that anyone can query it.
--
Les


[EP-tech]

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Fri, 27 Jun 2008 13:51:30 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

Hi All,
 
Does anyone know anything about harvesting OAI sets from Eprints?
I'm getting complaints from someone having trouble determining what OAI set to 
harvest.
 
Thanks,
Malcolm.


--
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.


[EP-tech] moving from 3.05 to 3.1

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Fri, 27 Jun 2008 14:32:07 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

All,
 
I'm trying to copy data from a live Eprints-305 to a Eprints-3.1 test box.
 
I've copied over the documents directory and imported the mysql tables.
Unfortunately I get an apache error. I've tried "epadmin upgrade 
eprints"
but it makes no difference. Has anyone any ideas?

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Database tables are in old configuration (version 3.0.7). Please run:
epadmin upgrade eprints
------------------------------------------------------------------
EPrints System Error inducing stack dump
 at /opt/eprints/eprints310/perl_lib/EPrints.pm line 92
        EPrints::abort('Database tables are in old configuration (version 
3.0.7). Ple...') called at /opt/eprints/eprints
310/perl_lib/EPrints/Session.pm line 238
        EPrints::Session::new('EPrints::Session') called at 
/opt/eprints/eprints310/perl_lib/EPrints/Apache/Template.pm l
ine 73
        
EPrints::Apache::Template::handler('Apache2::RequestRec=SCALAR(0x83159fcc)') 
called at -e line 0
        eval {...} called at -e line 0

Thanks,
Malcolm.


--
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.


[EP-tech] RE: OAI

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Fri, 27 Jun 2008 15:15:48 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

 

________________________________

From: Malcolm Bodger
Sent: Fri 27/06/2008 13:51
To: EPrints.org Technical List
Subject: 


Hi All,
 
Does anyone know anything about harvesting OAI sets from Eprints?
I'm getting complaints from someone having trouble determining what OAI set to 
harvest.
 
Thanks,
Malcolm.


-- 
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.

ATTACHMENT: message.html!


Re: [EP-tech] RE: OAI

From: alfcosco AT unina.it
Date: Sun, 29 Jun 2008 12:41:46 +0200


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message
             RE: [EP-tech] RE: OAI from M.Bodger AT westminster.ac.uk

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k5SJa269a83b1d9ce2ddeb413504a722fbef0d-20080629124146.ioq49jzf48w4k44g%40webmail.unina.it%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hello,
just point your archve to an address like this:
http://www.youOAurl.com/perl/oai2?verb=ListSets
bye
Alfredo

Quoting Malcolm Bodger <M.Bodger AT westminster.ac.uk>:

>
>
> ________________________________
>
> From: Malcolm Bodger
> Sent: Fri 27/06/2008 13:51
> To: EPrints.org Technical List
> Subject:
>
>
> Hi All,
>
> Does anyone know anything about harvesting OAI sets from Eprints?
> I'm getting complaints from someone having trouble determining what   
> OAI set to harvest.
>
> Thanks,
> Malcolm.
>
>
> --
> The University of Westminster is a charity and a company limited by
> guarantee.  Registration number: 977818 England.  Registered Office:
> 309 Regent Street, London W1B 2UW, UK.
>



RE: [EP-tech] RE: OAI

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Tue, 1 Jul 2008 14:04:17 +0100


Threading: Re: [EP-tech] RE: OAI from alfcosco AT unina.it
      • This Message
             Re: [EP-tech] RE: OAI from tdb01r AT ecs.soton.ac.uk

This is a multi-part message in MIME format.

Hi Alfredo,
Thanks for this and I now see what it's all about.
Does this just output the metadata?
Is there a way of downloading the full text PDF files?
 
Thanks,
Malcolm.

________________________________

From: alfcosco AT unina.it [mailto:alfcosco AT unina.it]
Sent: Sun 29/06/2008 11:41
To: EPrints.org Technical List; MalcolmBodger
Cc: EPrints.org Technical List
Subject: Re: [EP-tech] RE: OAI



Hello,
just point your archve to an address like this:
http://www.youOAurl.com/perl/oai2?verb=ListSets
bye
Alfredo

Quoting Malcolm Bodger <M.Bodger AT westminster.ac.uk>:

>
>
> ________________________________
>
> From: Malcolm Bodger
> Sent: Fri 27/06/2008 13:51
> To: EPrints.org Technical List
> Subject:
>
>
> Hi All,
>
> Does anyone know anything about harvesting OAI sets from Eprints?
> I'm getting complaints from someone having trouble determining what  
> OAI set to harvest.
>
> Thanks,
> Malcolm.
>
>
> --
> The University of Westminster is a charity and a company limited by
> guarantee.  Registration number: 977818 England.  Registered Office:
> 309 Regent Street, London W1B 2UW, UK.
>






-- 
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.

ATTACHMENT: message.html!


Re: [EP-tech] RE: OAI

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Tue, 01 Jul 2008 14:53:57 +0100


Threading: RE: [EP-tech] RE: OAI from M.Bodger AT westminster.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C486A36F5.3030106%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Malcolm Bodger wrote:
> Hi Alfredo,
> Thanks for this and I now see what it's all about.
> Does this just output the metadata?
OAI-PMH is just Metadata (the M-bit).
> Is there a way of downloading the full text PDF files?
Yes, most metadata formats exposed by EPrints include the URLs of the 
full-texts (if publicly available).

Cheers,
Tim.
> Thanks,
> Malcolm.
>
> ------------------------------------------------------------------------
> *From:* alfcosco AT unina.it [mailto:alfcosco AT unina.it]
> *Sent:* Sun 29/06/2008 11:41
> *To:* EPrints.org Technical List; MalcolmBodger
> *Cc:* EPrints.org Technical List
> *Subject:* Re: [EP-tech] RE: OAI
>
> Hello,
> just point your archve to an address like this:
> http://www.youOAurl.com/perl/oai2?verb=ListSets 
> <http://www.youoaurl.com/perl/oai2?verb=ListSets>
> bye
> Alfredo
>
> Quoting Malcolm Bodger <M.Bodger AT westminster.ac.uk>:
>
> >
> >
> > ________________________________
> >
> > From: Malcolm Bodger
> > Sent: Fri 27/06/2008 13:51
> > To: EPrints.org Technical List
> > Subject:
> >
> >
> > Hi All,
> >
> > Does anyone know anything about harvesting OAI sets from Eprints?
> > I'm getting complaints from someone having trouble determining what  
> > OAI set to harvest.
> >
> > Thanks,
> > Malcolm.
> >
> >
> > --
> > The University of Westminster is a charity and a company limited by
> > guarantee.  Registration number: 977818 England.  Registered Office:
> > 309 Regent Street, London W1B 2UW, UK.
> >
>
>
>
> The University of Westminster is a charity and a company 
> limited by guarantee. Registration number: 977818 England. 
> Registered Office: 309 Regent Street, London W1B 2UW.
>
>


[EP-tech] UNSPECIFIED

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Wed, 16 Jul 2008 11:52:28 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

I guess it means what it says, but when the editors have not been specified I 
would
prefer to simply have nothing at all. But, I'm having trouble finding out how 
to remove 
the "UNSPECIFIED".
 
For example:
 
Adeyemi, Shola and Chaussalet, Thierry J. (2008) A random effects sensitivity 
analysis for patient pathways model. 
<http://eprints-test.wmin.ac.uk/4949/>  In: UNSPECIFIED, (ed.) 
Proceedings of the 21tst IEEE International Symposium on Computer-Based Medical 
Systems, IEEE CBMS 2008, Jyväskylä, 17-19 June 2008. IEEE, Los Alamitos, USA. 
(In Press)
 
I would prefer not to have the:  In: UNSPECIFIED, (ed.)

Anyone have any ideas?
 
Thanks,
Malcolm.


-- 
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.

ATTACHMENT: message.html!


Re: [EP-tech] UNSPECIFIED

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Wed, 16 Jul 2008 12:17:43 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C487DD8D7.3060604%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Malcolm Bodger wrote:
> I guess it means what it says, but when the editors have not been 
> specified I would
> prefer to simply have nothing at all. But, I'm having trouble finding 
> out how to remove
> the "UNSPECIFIED".
>  
> For example:
>  
> Adeyemi, Shola and Chaussalet, Thierry J. (2008) /A random effects 
> sensitivity analysis for patient pathways model./ 
> <http://eprints-test.wmin.ac.uk/4949/> In: UNSPECIFIED, (ed.) 
> Proceedings of the 21tst IEEE International Symposium on 
> Computer-Based Medical Systems, IEEE CBMS 2008, Jyväskylä, 17-19 June 
> 2008. IEEE, Los Alamitos, USA. (In Press)
>  
> I would prefer not to have the:  In: UNSPECIFIED, (ed.)
> Anyone have any ideas?

In the citation style wrap it with:
<if test="is_set(editors_name)"> ... </if>

All the best,
Tim.


Re: [EP-tech] UNSPECIFIED

From: Leslie Carr <lac AT ecs.soton.ac.uk>
Date: Wed, 16 Jul 2008 12:54:47 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3C0F0D0F43-B59D-4A3E-8F65-1102F3919406%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/


--Apple-Mail-13--468597428
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

This eprint is declared to be a book section, and the standard eprints =20=

install expects books with sections to have editors.
Tim's previous email tells you how to change that in the eprints =20
citation configuration file.
--
Les

On 16 Jul 2008, at 11:52, Malcolm Bodger wrote:

> I guess it means what it says, but when the editors have not been =20
> specified I would
> prefer to simply have nothing at all. But, I'm having trouble =20
> finding out how to remove
> the "UNSPECIFIED".
>
> For example:
>
> Adeyemi, Shola and Chaussalet, Thierry J. (2008) A random effects =20
> sensitivity analysis for patient pathways model. In: UNSPECIFIED, =20
> (ed.) Proceedings of the 21tst IEEE International Symposium on =20
> Computer-Based Medical Systems, IEEE CBMS 2008, Jyv=E4skyl=E4, 17-19 =20=

> June 2008. IEEE, Los Alamitos, USA. (In Press)
>
> I would prefer not to have the:  In: UNSPECIFIED, (ed.)
> Anyone have any ideas?
>
> Thanks,
> Malcolm.
>
> The University of Westminster is a charity and a company limited by =20=

> guarantee. Registration number: 977818 England. Registered Office: =20
> 309 Regent Street, London W1B 2UW.
>
>


--Apple-Mail-13--468597428
Content-Type: text/html;
	charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: 
space; =
-webkit-line-break: after-white-space; ">This eprint is declared to be 
a =
book section, and the standard eprints install expects books with =
sections to have editors.&nbsp;<div>Tim's previous email tells you 
how =
to change that in the eprints citation configuration =
file.</div><div>--</div><div>Les<br><div><br></div><div><div><div>On 16 =
Jul 2008, at 11:52, Malcolm Bodger wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote 
type=3D"cite"><div> <div =
id=3D"idOWAReplyText47682" dir=3D"ltr"> <div 
dir=3D"ltr"><font =
face=3D"Arial" color=3D"#000000" size=3D"2">I 
guess it means what it =
says, but when the editors have not been specified I 
would</font></div> =
<div dir=3D"ltr"><font face=3D"Arial" 
size=3D"2">prefer to simply have =
nothing at all. But, I'm having trouble finding out how to remove =
</font></div> <div dir=3D"ltr"><font 
face=3D"Arial" size=3D"2">the =
"UNSPECIFIED".</font></div> <div 
dir=3D"ltr"><font face=3D"Arial" =
size=3D"2"></font>&nbsp;</div> <div 
dir=3D"ltr"><font face=3D"Arial" =
size=3D"2">For example:</font></div> <div 
dir=3D"ltr"><font face=3D"Arial"=
 size=3D"2"></font>&nbsp;</div> <div 
dir=3D"ltr"><font size=3D"2"><span =
class=3D"person_name">Adeyemi, Shola</span> and <span =
class=3D"person_name">Chaussalet, Thierry J.</span> (2008) 
</font><a =
href=3D"http://eprints-test.wmin.ac.uk/4949/"><em><font 
size=3D"2">A =
random effects sensitivity analysis for patient pathways =
model.</font></em></a><!-- Lose the "!" to 
enable the display of editors =
in next line - mjb 220408 --><!-- In: <if =
test=3D"!is_set(creators)"><print 
expr=3D"editors_name"/>, (ed<if =
test=3D"length(editors_name) gt 1">s</if>.)</if> 
--><font size=3D"2"> =
In: UNSPECIFIED, (ed.) Proceedings of the 21tst IEEE International =
Symposium on Computer-Based Medical Systems, IEEE CBMS 2008, Jyv=E4skyl=E4=
, 17-19 June 2008. IEEE, Los Alamitos, USA. (In =
Press)</font></div></div> <div 
dir=3D"ltr">&nbsp;</div> <div =
dir=3D"ltr"><font face=3D"Arial" 
size=3D"2">I would prefer not to have =
the:&nbsp;&nbsp;<font face=3D"Times New Roman">In: 
UNSPECIFIED, =
(ed.)</font><br></font></div> <div 
dir=3D"ltr"><font face=3D"Arial" =
size=3D"2">Anyone have any ideas?</font></div> <div 
dir=3D"ltr"><font =
face=3D"Arial" 
size=3D"2"></font>&nbsp;</div> <div 
dir=3D"ltr"><font =
face=3D"Arial" 
size=3D"2">Thanks,</font></div> <div 
dir=3D"ltr"><font =
face=3D"Arial" 
size=3D"2">Malcolm.</font></div><font 
face=3D"Arial" =
size=3D"2"></font> <br><div 
align=3D"center"><p> <font color=3D"black" =
size=3D"0.9em" face=3D"Arial, Helvetica, sans-serif"> =
The&nbsp;University&nbsp;of&nbsp;Westminster 
is&nbsp;a&nbsp;charity =
and&nbsp;a&nbsp;company limited&nbsp;by&nbsp;guarantee. =
Registration&nbsp;number:&nbsp;977818&nbsp;England. =
Registered&nbsp;Office:&nbsp;309&nbsp;Regent&nbsp;Street, =
London&nbsp;W1B&nbsp;2UW.</font></p><font 
color=3D"black" size=3D"0.9em" =
face=3D"Arial, Helvetica, sans-serif"> </font> </div> 
=
<br></div></blockquote></div><br></div></div></body></html>=

--Apple-Mail-13--468597428--


RE: [EP-tech] UNSPECIFIED

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Wed, 16 Jul 2008 14:25:48 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

Les,
 
I quite agree and for most there are editors. I understand from our Eprints 
administrator that this request has come from our research staff. It's most 
likely that the fields have not been entered correctly and the editors have 
been entered in the creators field.
 
Thanks,
Malcolm. 

________________________________

From: Leslie Carr [mailto:lac AT ecs.soton.ac.uk]
Sent: Wed 16/07/2008 12:54
To: EPrints.org Technical List
Cc: Malcolm Bodger
Subject: Re: [EP-tech] UNSPECIFIED


This eprint is declared to be a book section, and the standard eprints install 
expects books with sections to have editors.  
Tim's previous email tells you how to change that in the eprints citation 
configuration file.
--
Les


On 16 Jul 2008, at 11:52, Malcolm Bodger wrote:


	I guess it means what it says, but when the editors have not been specified I 
would
	prefer to simply have nothing at all. But, I'm having trouble finding out how 
to remove 
	the "UNSPECIFIED".
	 
	For example:
	 
	Adeyemi, Shola and Chaussalet, Thierry J. (2008) A random effects sensitivity 
analysis for patient pathways model. 
<http://eprints-test.wmin.ac.uk/4949/>  In: UNSPECIFIED, (ed.) 
Proceedings of the 21tst IEEE International Symposium on Computer-Based Medical 
Systems, IEEE CBMS 2008, Jyväskylä, 17-19 June 2008. IEEE, Los Alamitos, USA. 
(In Press)
	 
	I would prefer not to have the:  In: UNSPECIFIED, (ed.)
	
	Anyone have any ideas?
	 
	Thanks,
	Malcolm.
	
	

	The University of Westminster is a charity and a company limited by guarantee. 
Registration number: 977818 England. Registered Office: 309 Regent Street, 
London W1B 2UW.

	





-- 
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.

ATTACHMENT: message.html!


[EP-tech] Spurious users

From: "Barbara Cumbers" <b.cumbers AT bbk.ac.uk>
Date: Wed, 16 Jul 2008 15:43:10 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

Hello,

 

Our Eprints has been infected by something that creates spurious users
with non-existent e-mail addresses. None of the accounts is ever
activated, but they seem to remain in the list of users so I can't
easily tell how many real users there are. Can anyone let me know how to
delete all users who haven't activated their accounts? Thanks.

 

Best wishes,

 

Barbara

 

 

Barbara Cumbers
Electronic Projects Librarian
Birkbeck, University of London
Malet Street
London WC1E 7HX
 
b.cumbers AT bbk.ac.uk
 
Tel: 020 7079 0899
Fax: 020 7631 6066
http://www.bbk.ac.uk/lib/


ATTACHMENT: message.html!


Re: [EP-tech] Spurious users

From: Bas <eprints AT bb.go.nl>
Date: Wed, 16 Jul 2008 23:05:23 +0200


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k6FM9L9f3cd22cbdbd93b4feed14f92b074c91-487E6293.7040703%40bb.go.nl%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hi Barbara

I've seen also quite a number of that type of user accounts appearing.
Haven't made any automatic removals.

But i'd suggest you look in the database, in the user table.
And looking at it - you can sort it on time of joining (joined_year, 
month, day). It will definately be an account type user. (cause at least 
in my install only an admin can make someone an editor)
Probably the easiest way to recognise those accounts is on the fields: 
pin & pinsettime.
I think those get set after creating a new account, when the an email 
has been sent - as verification. So I assume that user records where 
those fields have a value other then NULL - means they are probably 
relatively new -and the user hasnt accessed them.
Of course you'll have to be carefull not to delete genuine new user 
accounts.

I'm sure someone else can give a much better and more detailed answer.
Hope this still helps you a bit.

Regards
Bas Smit

Barbara Cumbers schreef:
>
> Hello,
>
> Our Eprints has been infected by something that creates spurious users 
> with non-existent e-mail addresses. None of the accounts is ever 
> activated, but they seem to remain in the list of users so I can’t 
> easily tell how many real users there are. Can anyone let me know how 
> to delete all users who haven’t activated their accounts? Thanks.
>
> Best wishes,
>
> Barbara
>
> Barbara Cumbers
> Electronic Projects Librarian
> Birkbeck, University of London
> Malet Street
> London WC1E 7HX
>
> b.cumbers AT bbk.ac.uk
>
> Tel: 020 7079 0899
> Fax: 020 7631 6066
> http://www.bbk.ac.uk/lib/
>


RE: [EP-tech] UNSPECIFIED

From: "Malcolm Bodger" <M.Bodger AT westminster.ac.uk>
Date: Fri, 18 Jul 2008 14:46:52 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

This is a multi-part message in MIME format.

 

________________________________

From: owner-eprints-tech AT ecs.soton.ac.uk on behalf of Tim Brody
Sent: Wed 16/07/2008 12:17
To: EPrints.org Technical List
Subject: Re: [EP-tech] UNSPECIFIED



*** http://www.eprints.org/tech.php/id/%3C487DD8D7.3060604%40ecs.soton.ac.uk%3E 
<http://www.eprints.org/tech.php/id/%3C487DD8D7.3060604%40ecs.soton.ac.uk%3E> 
*** EPrints community wiki - http://wiki.eprints.org/ 
<http://wiki.eprints.org/> 

Malcolm Bodger wrote:
> I guess it means what it says, but when the editors have not been
> specified I would
> prefer to simply have nothing at all. But, I'm having trouble finding
> out how to remove
> the "UNSPECIFIED".
> 
> For example:
> 
> Adeyemi, Shola and Chaussalet, Thierry J. (2008) /A random effects
> sensitivity analysis for patient pathways model./
> <http://eprints-test.wmin.ac.uk/4949/ 
<http://eprints-test.wmin.ac.uk/4949/> > In: UNSPECIFIED, (ed.)
> Proceedings of the 21tst IEEE International Symposium on
> Computer-Based Medical Systems, IEEE CBMS 2008, Jyväskylä, 17-19 June
> 2008. IEEE, Los Alamitos, USA. (In Press)
> 
> I would prefer not to have the:  In: UNSPECIFIED, (ed.)
> Anyone have any ideas?

In the citation style wrap it with:
<if test="is_set(editors_name)"> ... </if>

All the best,
Tim.


Hi Tim,

I checked the /cfg/citations/eprint/default.xml file and I had 
"creators", so I replaced with "editors_name" and it

appears to do the job - many thanks.  


old:  In: <if test="is_set(creators)"><print 
expr="editors_name"/>, (ed<if test="length(editors_name) 
gt 1">s</if>.)</if>

new:  In: <if test="is_set(editors_name)"><print 
expr="editors_name"/>, (ed<if test="length(editors_name) 
gt 1">s</if>.)</if>

Myproblem is now that while it does not appear in the search result it does 
appear when you click on the result and the second view is displayed. Is there 
a way of removing it there too?


A random effects sensitivity analysis for patient pathways model


Adeyemi, Shola and Chaussalet, Thierry J. (2008) A random effects sensitivity 
analysis for patient pathways model. In: UNSPECIFIED, (ed.) Proceedings of the 
21st IEEE International Symposium on Computer-Based Medical Systems, IEEE CBMS 
2008, Jyväskylä, 17-19 June 2008. IEEE, Los Alamitos, USA. (In Press)

Full text not available from this repository.

Thanks,

Malcolm.

 



--
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.


Re: [EP-tech] UNSPECIFIED

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Fri, 18 Jul 2008 14:55:41 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C4880A0DD.5020207%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/


> In the citation style wrap it with:
> <if test="is_set(editors_name)"> ... </if>
>
> All the best,
> Tim.
>
>
> Hi Tim,
>
> I checked the /cfg/citations/eprint/default.xml file and I had 
"creators", so I replaced with "editors_name" and it
>
> appears to do the job - many thanks.  
>
>   

You will need to regenerate your abstracts (which are static pages):
./bin/epadmin generate_abstracts [repoid]

Sincerely,
Tim.


[EP-tech] User registration in Eprints3

From: "Barbara Cumbers" <b.cumbers AT bbk.ac.uk>
Date: Mon, 21 Jul 2008 11:53:34 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k6KBsC081c4b11868e6718c82adcfe963b1a60-2048F6E2EA4DFE40B249EDB127BDF3B105E11F5B%40ASH.birkbeck.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hello,

Can anyone help me with restricting user registration to people with a
bbk.ac.uk e-mail address? Thanks.

Best wishes,

Barbara


Barbara Cumbers
Electronic Projects Librarian
Birkbeck, University of London
Malet Street
London WC1E 7HX
 
b.cumbers AT bbk.ac.uk
 
Tel: 020 7079 0899
Fax: 020 7631 6066
http://www.bbk.ac.uk/lib/



RE: [EP-tech] User registration in Eprints3

From: "Barbara Cumbers" <b.cumbers AT bbk.ac.uk>
Date: Thu, 24 Jul 2008 10:32:04 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k6NAWSc53bd91e386698b66baccee3a54af3d6-2048F6E2EA4DFE40B249EDB127BDF3B105E11F67%40ASH.birkbeck.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Thanks, Tim. Excuse my ignorance, but where do I find cgi/register?

Best wishes,

Barbara


Barbara Cumbers
Electronic Projects Librarian
Birkbeck, University of London
Malet Street
London WC1E 7HX
 
b.cumbers AT bbk.ac.uk
 
Tel: 020 7079 0899
Fax: 020 7631 6066
http://www.bbk.ac.uk/lib/



> -----Original Message-----
> From: owner-eprints-tech AT ecs.soton.ac.uk [mailto:owner-eprints-
> tech AT ecs.soton.ac.uk] On Behalf Of Tim Brody
> Sent: 22 July 2008 11:54
> To: EPrints.org Technical List
> Subject: Re: [EP-tech] User registration in Eprints3
> 
> ***
http://www.eprints.org/tech.php/id/%3C1216724053.6177.13.camel%40dell-
> desktop.example.com%3E
> *** EPrints community wiki - http://wiki.eprints.org/
> 
> Hi,
> 
> Unfortunately you can't easily achieve this right now - you will need
to
> do some perl hackings.
> 
> In cgi/register there is a section
> "if( defined ...::user_with_username".
> 
> If you add after that, something like this:
> 
> if( $v->{email} !~ /\ AT bbc\.co\.uk$/ )
> {
> return mk_err_page(
> $session,
> "cgi/register:invalid_email_bbc",
> $fieldlist,
> $v,
> {email => $session->make_text( $v->{email} )}
> );
> }
> 
> And add an appropriate phrase for the error.
> 
> I think being able to apply a regexp to an email is on the list of
> TODOs.
> 
> All the best,
> Tim.
> 
> On Mon, 2008-07-21 at 11:53 +0100, Barbara Cumbers wrote:
> > *** http://www.eprints.org/tech.php/id/%3CEMEW-
> k6KBsC081c4b11868e6718c82adcfe963b1a60-
> 2048F6E2EA4DFE40B249EDB127BDF3B105E11F5B%40ASH.birkbeck.ac.uk%3E
> > *** EPrints community wiki - http://wiki.eprints.org/
> >
> > Hello,
> >
> > Can anyone help me with restricting user registration to people with
a
> > bbk.ac.uk e-mail address? Thanks.
> >
> > Best wishes,
> >
> > Barbara
> >
> >
> > Barbara Cumbers
> > Electronic Projects Librarian
> > Birkbeck, University of London
> > Malet Street
> > London WC1E 7HX
> >
> > b.cumbers AT bbk.ac.uk
> >
> > Tel: 020 7079 0899
> > Fax: 020 7631 6066
> > http://www.bbk.ac.uk/lib/
> >
> >



Re: [EP-tech] User registration in Eprints3

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Thu, 24 Jul 2008 11:03:56 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C4888538C.9090100%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Barbara Cumbers wrote:
> *** 
http://www.eprints.org/tech.php/id/%3CEMEW-k6NAWSc53bd91e386698b66baccee3a54af3d6-2048F6E2EA4DFE40B249EDB127BDF3B105E11F67%40ASH.birkbeck.ac.uk%3E
> *** EPrints community wiki - http://wiki.eprints.org/
>
> Thanks, Tim. Excuse my ignorance, but where do I find cgi/register?
>   
/opt/eprints3/cgi/register

Make a back-up copy before you change it.

If you're on version 3.1 you can add the necessary phrase using the 
admin tool, otherwise take a look in 
archives/[repoid]/cfg/lang/en/phrases/ (can add to any file there or add 
a new one).

Cheers,
Tim.
> Best wishes,
>
> Barbara
>
>
> Barbara Cumbers
> Electronic Projects Librarian
> Birkbeck, University of London
> Malet Street
> London WC1E 7HX
>  
> b.cumbers AT bbk.ac.uk
>  
> Tel: 020 7079 0899
> Fax: 020 7631 6066
> http://www.bbk.ac.uk/lib/
>
>
>
>   
>> -----Original Message-----
>> From: owner-eprints-tech AT ecs.soton.ac.uk [mailto:owner-eprints-
>> tech AT ecs.soton.ac.uk] On Behalf Of Tim Brody
>> Sent: 22 July 2008 11:54
>> To: EPrints.org Technical List
>> Subject: Re: [EP-tech] User registration in Eprints3
>>
>> ***
>>     
> http://www.eprints.org/tech.php/id/%3C1216724053.6177.13.camel%40dell-
>   
>> desktop.example.com%3E
>> *** EPrints community wiki - http://wiki.eprints.org/
>>
>> Hi,
>>
>> Unfortunately you can't easily achieve this right now - you will need
>>     
> to
>   
>> do some perl hackings.
>>
>> In cgi/register there is a section
>> "if( defined ...::user_with_username".
>>
>> If you add after that, something like this:
>>
>> if( $v->{email} !~ /\ AT bbc\.co\.uk$/ )
>> {
>> return mk_err_page(
>> $session,
>> "cgi/register:invalid_email_bbc",
>> $fieldlist,
>> $v,
>> {email => $session->make_text( $v->{email} )}
>> );
>> }
>>
>> And add an appropriate phrase for the error.
>>
>> I think being able to apply a regexp to an email is on the list of
>> TODOs.
>>
>> All the best,
>> Tim.
>>
>> On Mon, 2008-07-21 at 11:53 +0100, Barbara Cumbers wrote:
>>     
>>> *** http://www.eprints.org/tech.php/id/%3CEMEW-
>>>       
>> k6KBsC081c4b11868e6718c82adcfe963b1a60-
>> 2048F6E2EA4DFE40B249EDB127BDF3B105E11F5B%40ASH.birkbeck.ac.uk%3E
>>     
>>> *** EPrints community wiki - http://wiki.eprints.org/
>>>
>>> Hello,
>>>
>>> Can anyone help me with restricting user registration to people 
with
>>>       
> a
>   
>>> bbk.ac.uk e-mail address? Thanks.
>>>
>>> Best wishes,
>>>
>>> Barbara
>>>
>>>
>>> Barbara Cumbers
>>> Electronic Projects Librarian
>>> Birkbeck, University of London
>>> Malet Street
>>> London WC1E 7HX
>>>
>>> b.cumbers AT bbk.ac.uk
>>>
>>> Tel: 020 7079 0899
>>> Fax: 020 7631 6066
>>> http://www.bbk.ac.uk/lib/
>>>
>>>
>>>       
>
>
>   


RE: [EP-tech] User registration in Eprints3

From: "Barbara Cumbers" <b.cumbers AT bbk.ac.uk>
Date: Thu, 24 Jul 2008 12:36:01 +0100


Threading: [EP-tech] Adding an institutional id to creators_id from M.D.Mcfarlane AT lse.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k6NCaLd928511980bda01d5c3fc2c06f018764-2048F6E2EA4DFE40B249EDB127BDF3B105E11F69%40ASH.birkbeck.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Hello Tim,

Thanks. I've done that - and it works. What I haven't been able to do is
define the phrase. Where should the definition go?

Best wishes,

Barbara


Barbara Cumbers
Electronic Projects Librarian
Birkbeck, University of London
Malet Street
London WC1E 7HX
 
b.cumbers AT bbk.ac.uk
 
Tel: 020 7079 0899
Fax: 020 7631 6066
http://www.bbk.ac.uk/lib/



> -----Original Message-----
> From: owner-eprints-tech AT ecs.soton.ac.uk [mailto:owner-eprints-
> tech AT ecs.soton.ac.uk] On Behalf Of Tim Brody
> Sent: 24 July 2008 11:04
> To: EPrints.org Technical List
> Subject: Re: [EP-tech] User registration in Eprints3
> 
> ***
>
http://www.eprints.org/tech.php/id/%3C4888538C.9090100%40ecs.soton.ac.uk
%3
> E
> *** EPrints community wiki - http://wiki.eprints.org/
> 
> Barbara Cumbers wrote:
> > *** http://www.eprints.org/tech.php/id/%3CEMEW-
> k6NAWSc53bd91e386698b66baccee3a54af3d6-
> 2048F6E2EA4DFE40B249EDB127BDF3B105E11F67%40ASH.birkbeck.ac.uk%3E
> > *** EPrints community wiki - http://wiki.eprints.org/
> >
> > Thanks, Tim. Excuse my ignorance, but where do I find cgi/register?
> >
> /opt/eprints3/cgi/register
> 
> Make a back-up copy before you change it.
> 
> If you're on version 3.1 you can add the necessary phrase using the
> admin tool, otherwise take a look in
> archives/[repoid]/cfg/lang/en/phrases/ (can add to any file there or
add
> a new one).
> 
> Cheers,
> Tim.
> > Best wishes,
> >
> > Barbara
> >
> >
> > Barbara Cumbers
> > Electronic Projects Librarian
> > Birkbeck, University of London
> > Malet Street
> > London WC1E 7HX
> >
> > b.cumbers AT bbk.ac.uk
> >
> > Tel: 020 7079 0899
> > Fax: 020 7631 6066
> > http://www.bbk.ac.uk/lib/
> >
> >
> >
> >
> >> -----Original Message-----
> >> From: owner-eprints-tech AT ecs.soton.ac.uk 
[mailto:owner-eprints-
> >> tech AT ecs.soton.ac.uk] On Behalf Of Tim Brody
> >> Sent: 22 July 2008 11:54
> >> To: EPrints.org Technical List
> >> Subject: Re: [EP-tech] User registration in Eprints3
> >>
> >> ***
> >>
> >
http://www.eprints.org/tech.php/id/%3C1216724053.6177.13.camel%40dell-
> >
> >> desktop.example.com%3E
> >> *** EPrints community wiki - http://wiki.eprints.org/
> >>
> >> Hi,
> >>
> >> Unfortunately you can't easily achieve this right now - you will
need
> >>
> > to
> >
> >> do some perl hackings.
> >>
> >> In cgi/register there is a section
> >> "if( defined ...::user_with_username".
> >>
> >> If you add after that, something like this:
> >>
> >> if( $v->{email} !~ /\ AT bbc\.co\.uk$/ )
> >> {
> >> return mk_err_page(
> >> $session,
> >> "cgi/register:invalid_email_bbc",
> >> $fieldlist,
> >> $v,
> >> {email => $session->make_text( $v->{email} )}
> >> );
> >> }
> >>
> >> And add an appropriate phrase for the error.
> >>
> >> I think being able to apply a regexp to an email is on the list 
of
> >> TODOs.
> >>
> >> All the best,
> >> Tim.
> >>
> >> On Mon, 2008-07-21 at 11:53 +0100, Barbara Cumbers wrote:
> >>
> >>> *** http://www.eprints.org/tech.php/id/%3CEMEW-
> >>>
> >> k6KBsC081c4b11868e6718c82adcfe963b1a60-
> >> 2048F6E2EA4DFE40B249EDB127BDF3B105E11F5B%40ASH.birkbeck.ac.uk%3E
> >>
> >>> *** EPrints community wiki - http://wiki.eprints.org/
> >>>
> >>> Hello,
> >>>
> >>> Can anyone help me with restricting user registration to 
people
with
> >>>
> > a
> >
> >>> bbk.ac.uk e-mail address? Thanks.
> >>>
> >>> Best wishes,
> >>>
> >>> Barbara
> >>>
> >>>
> >>> Barbara Cumbers
> >>> Electronic Projects Librarian
> >>> Birkbeck, University of London
> >>> Malet Street
> >>> London WC1E 7HX
> >>>
> >>> b.cumbers AT bbk.ac.uk
> >>>
> >>> Tel: 020 7079 0899
> >>> Fax: 020 7631 6066
> >>> http://www.bbk.ac.uk/lib/
> >>>
> >>>
> >>>
> >
> >
> >



[index] [options] [help]