2 yabba May 08, 2007 09:32

Thank you very much for your help B) B)
Hi there,
I noticed another problem.
When a registered user wants to post a comment, he/she can edit his/her name from the comment page.
Can you help me to find the file where it is possible to delete in the code the Name and First Name fields so that the user can not change his name and first name from this page ?
Thank you.
Actually I found a trick: I commented the if condition where it displays the name of the author in blog/skins/_feedback.php so the link to the user profile's page does not appear anymore.
:p
Hi again !
I have a problem with my first question: I can prevent user of editing his name/firstname/nickname, however, if he changes his login or password and then validate, name/firstname/nickname fields are mandatory and the system generates an error.
How can I change the system so that it won't ask me for these fields when I validate ?
I'm running version 2+ so this probably won't be the same. you have to find profile_update.php or something similar in your version. it has some checks in it like making sure there is an email address, the user id of the person logged in is the user id of the profile being edited etc. if you comment out the check for email, the set new email, and then comment out the section you already commented out in feedback.php you should be good.
ps in my version the profile_updae page was in htrsv
the other file i edited was the _profile.disp.php in my skins folder. ignore the last few words in my last post. feedback.php does not need to be changed.
The file you're looking for is inc/view/users/_users_form.php
¥