bogo Posted September 18, 2007 Share Posted September 18, 2007 sometime customers want to change there name or any other details in his/her profil. This is fine but I looking for a way to prevent this changes or, at least that a admin needs to confirm this changes. 0 Quote Link to comment Share on other sites More sharing options...
disenioweb Posted September 18, 2007 Share Posted September 18, 2007 you have an option where you receive an email notification with the changes the user has made...are you using this feature ? admin - general configuration - other - Tick this box to Send an Email Notification on User Details Change 0 Quote Link to comment Share on other sites More sharing options...
bogo Posted September 18, 2007 Author Share Posted September 18, 2007 Thanks, I know that. I didn't express myself well. I would like to prevent that a Client can make changes rather, than get mails telling me:"If you don't see any changes, the user may have only modified their password or credit card information. If the changes are ok you do not need to do anything. If not, you need to login and undo them - this is the only record of the old details." 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 18, 2007 Share Posted September 18, 2007 thats dumb to not let users change details, but if you don want it to happen, then just remove the form off the My Details template and replace it with a table or divs or whatever. 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted September 18, 2007 Share Posted September 18, 2007 ^ To add onto it: You'll just have to make sure you notate that the client has to submit a ticket (or email) to you to change details. You should still leave the password changing up though. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 18, 2007 Share Posted September 18, 2007 ^ To add onto it: You'll just have to make sure you notate that the client has to submit a ticket (or email) to you to change details. You should still leave the password changing up though. Oh come on, thats so dirty and wrong its rediculous. Hey, if you really want to keep the form, then just add "readonly" or "readonly=readonly" (depending on doctype) to each input/option, etc that you want to not allow the user to change. EDIT: rofl jordan, looks like you changed your post while i wasnt looking. Had to give you a hard time about removing the <form> and submit button idea. 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted September 18, 2007 Share Posted September 18, 2007 Oh, I'm not disagreeing with you on it being stupid:P; But hey, if someone wants to do it, then so be it. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 18, 2007 Share Posted September 18, 2007 Oh, I'm not disagreeing with you on it being stupid:P; But hey, if someone wants to do it, then so be it. True, but we should be responsible enough to not give bad advice. =P 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted September 19, 2007 Share Posted September 19, 2007 I think the original poster has a valid point and is asking a fair question. We too have a custom field that we assign clients but we don't want our clients to change it. Seriously, if the OP want's to stop all fields from being changed they obviously have their own reasons for it, right? To answer the posted question. You can simply "disable" a field if you wish by doing the following to the template. e.g. If wanting to disable input into the $clientlastname field, replace {$clientlastname} with {$clientlastname|replace:'size="30"':'size="30" disabled'} (This is provided your template uses the size="30" value, otherwise change it to the template default, I think Matt may have changed this to 25 on th Portal Template.) That should do the trick. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
bogo Posted September 20, 2007 Author Share Posted September 20, 2007 @ Iceman Thanks for your kind and polite response! At least someone who tries to help instead of insulting other Users. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 20, 2007 Share Posted September 20, 2007 @ IcemanThanks for your kind and polite response! At least someone who tries to help instead of insulting other Users. ROFL, I gave you two different ways of doing it. Your the one being insulting now. Just a note, disabling the form isnt foolproof as most likely because of register_globals being on and how i have noticed most of the variables are setup, im betting that someone could post to the form using the variables in the url. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted September 20, 2007 Share Posted September 20, 2007 MACscr, I think the poster was referring to your comment thats dumb to not let users change details. It does come across a little harsh. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 20, 2007 Share Posted September 20, 2007 MACscr, I think the poster was referring to your comment thats dumb to not let users change details. It does come across a little harsh. Cheers, Paul Maybe harsh, but i did help him. He said i didnt help at all. Either way, I stand by my original statement. =P 0 Quote Link to comment Share on other sites More sharing options...
Si Posted September 20, 2007 Share Posted September 20, 2007 Actually, this is something I believe is important from a legal position. We are using modernbill and are in the process of moving to WHMCS. The point being made now concerns me about how this is going to fit with our legal position. Let me explain: When a customer signs up, they agree to our terms and conditions. When they do so, they personally take legal responsibility for the activity on their account. Accounts are also listed as non-transferrable for this reason. When changes are made to the ownership of an account, we have a PDF document which both parties MUST sign and mail to us, along with an administration fee also. Part of the PDF states that: The leaving customer has: 1) Passed all relvant usernames and passwords to the new client and given them instructions on how to generally operate the account (without dumping a new user on us who needs everything explained) 2) That they agree to revoking and handing over legal responsibility to the account and that they are aware of the new third party. (In other words this move is final and severs their involvement and influence on the account). The new customer taking over the account has: 1) Read our terms and conditions and signs to accept them. 2) Takes over the legal responsibility and also responsibility for the accounts. If customers can change things, I'm not sure how anyone is meant to run any sort of secure accounts/support system. It works because i) leaving customers are being given a finality to their contract with us. ii) We control who manages and runs individual accounts. iii) New customers take us seriously and understand we have protocol in our business which must be followed for the benefit of all. 0 Quote Link to comment Share on other sites More sharing options...
arhost Posted September 20, 2007 Share Posted September 20, 2007 We also need to this feature, so therefore the client can not change the account information (i.e. Name ,company name and country) or transfer the account to some one else. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 20, 2007 Share Posted September 20, 2007 Ok, we already told the poster how this can be done if you do not want to allow changes, so it shouldnt be an ongoing question or concern. If you do allow changes, you will get a copy of what was changed in an email. So whats the big deal? 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted September 20, 2007 Share Posted September 20, 2007 Ok, we already told the poster how this can be done if you do not want to allow changes, so it shouldnt be an ongoing question or concern. If you do allow changes, you will get a copy of what was changed in an email. So whats the big deal? Exactly, it can be done if your business model requires it. I doubt there is much demand for this though, but then again I have been wrong before. 0 Quote Link to comment Share on other sites More sharing options...
Si Posted October 29, 2007 Share Posted October 29, 2007 OK, for those of you who feel this is as important as we do (after legal advice) I've amended the code on the clientareadetails.php page to make this happen and posted the details in the Tips area. http://www.whmcs.com/forums/viewtopic.php?t=7398 Any issues, let me know. It works though. Si 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.