OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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
piotreba
 
Posts: 157
Joined: Mon Dec 13, 2010 3:29 pm

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
asmecher
 
Posts: 8851
Joined: Wed Aug 10, 2005 12:56 pm

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: 157
Joined: Mon Dec 13, 2010 3:29 pm

Re: Prevent profile editing

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

Ok, I commented one more link from templates/user/index.tpl
piotreba
 
Posts: 157
Joined: Mon Dec 13, 2010 3:29 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 7 guests