Greetings,

I am developing a website for an educational institution. I have been using the profile.module to set up an online directory of students. Each student has a user account through which they can post items to the school's website (news, marketplace items, etc.) I am adding the student's directory information (name, address, phone number, etc.) with some custom profile fields. I have a user-profile.tpl.php that prevents the sensitive items from being viewed by the general public (non authenticated users), while allowing the students and faculty (authenticated users) to access the information. That way I have an email directory/facebook for the public, and also an address book for the folks on campus.

However, I don't want the students to be able to change their picture and other information (to prevent vandalism). Is there any way to make it so that they are not able to view the "edit" page for their profile at all?

Thanks for the help.

Comments

yelvington’s picture

See the contributed user_readonly module.

crbassett’s picture

Oh good grief...is it always that easy? I didn't even think there would be a module for this...

Theres must be some law of nature that says when you post on the forum with a problem, the answer will be simple and under your nose...but when you don't post, you will find the problem difficult to solve...

Thanks so much.