EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00386


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Modify Default Pins


Thanks. That just solved my issue.

 

Regards

 

Sheraaz

 

From: Matthew Brady [mailto:Matthew.Brady@usq.edu.au]
Sent: 13 April 2012 10:40 AM
To: Sheraaz Buksh
Subject: RE: Modify Default Pins

 

in the file... /opt/eprints3/archives/xxxxx/cfg/cfg.d/registration.pl change allow_web_signup from 1 to 0

# Allow users to sign up for an account on

# the web.

# NOTE: If you disable this you should edit the template file

#   cfg/template-en.xml

# and the error page

#   cfg/static/en/error401.xpage

# to remove the links to web registration.

$c->{allow_web_signup} = 0;

 

Then modify the following files... The files as noted in the comments are not correct.

in the file... /opt/eprints3/lib/defaultcfg/lang/en/phrases/dynamic.xml and
in the file... /opt/eprints3/archives/xxxxx/cfg/lang/en/phrases/dynamic.xml remove the link to 'Create Account'
WAS

  <epp:phrase id="dynamic:not_logged_in">

    <a href="" |

    <a href="" Account</a>

  </epp:phrase>


NOW

  <epp:phrase id="dynamic:not_logged_in">

    <a href="">

  </epp:phrase>

 

 

 

 

 

Matt Brady

Analyst Programmer | Application Support and Development

University of Southern Queensland | Toowoomba 4350 QLD Australia

 

 

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
Sent: Friday, 13 April 2012 7:36 AM
To: eprints-tech@ecs.soton.ac.uk
Cc: John Salter
Subject: [EP-tech] Re: Modify Default Pins

 

I did disable that option. However, the “Create Account” link still appears.

 

After disabling web signup clicking on the Create Account link throws up an error message saying registration is disabled on the system. I would like to completely remove the Create Account link.

 

Regards

 

Sheraaz

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 12 April 2012 9:09 PM
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: Modify Default Pins

 

Take a look at:

~/archives/ARCHIVEID/cfg/cfg.d/registration.pl

There's an option 'allow_web_signup' that might do what you want (instead of editing the pins)?

 

Cheers,

John

 

 

 


From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sheraaz Buksh
Sent: 12 April 2012 04:23
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Modify Default Pins

Hi All

 

I was wondering if there was a way to modify default pins in the Eprints system.

 

I am using Eprints 3.2.8 and I need to get rid of the “Create Account” link.

 

Regards

 

Sheraaz

 

 


This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.

The University of Southern Queensland is a registered provider of education with the Australian Government (CRICOS Institution Code No's. QLD 00244B / NSW 02225M)