Prevent profile editing

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
piotreba
Posts: 163
Joined: Mon Dec 13, 2010 3:29 pm
Contact:

Prevent profile editing

Postby piotreba » Thu Mar 06, 2014 10:34 am

Hello,


is there any quick way to prevent users from editing their profiles?


Regards,
Peter

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Prevent profile editing

Postby asmecher » Thu Mar 06, 2014 2:24 pm

Hi Peter,

Do you want to remove the "Profile" link entirely? You can do that by editing plugins/blocks/user/block.tpl (the template file responsible for presenting the "User" block on the sidebar) and commenting out the link to the profile form. (Note that this will leave the form in place but users will not know where to find it.)

Regards,
Alec Smecher
Public Knowledge Project Team

piotreba
Posts: 163
Joined: Mon Dec 13, 2010 3:29 pm
Contact:

Re: Prevent profile editing

Postby piotreba » Thu Mar 06, 2014 3:36 pm

It may be this way, however, you can edit profile not only by navigating sidebar, right?

piotreba
Posts: 163
Joined: Mon Dec 13, 2010 3:29 pm
Contact:

Re: Prevent profile editing

Postby piotreba » Thu Mar 06, 2014 3:48 pm

Ok, I commented one more link from templates/user/index.tpl


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests