| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
| 
 | 
||||||||||
| X-Cart Home | 
disabled user password | |||
![]()  | 
	
	
		
			 | 	
	
||
| 
		 | 
	Thread Tools | Search this Thread | 
| 
		 
			 
			#1  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Hi,  
		
	
		
		
		
		
			We are wholesaler so we have our password protected to our dealer only. Thanks to Globaltrade for a nice mod. I would like to be able to give out a new password everymonth also, is there a way to do that? i have now disable user to be able to change their password to whatever they wanted.. but somehow i stuffed the code up skin1/customer/main/register.tpl Code: 
	
 So.. .my problem then become.. - register page = no pw field (good) - user login, modified profile = no pw field (good) - admin login, modified admin account = pw field (good) - admin login, modified user account = no pw field (bad) i wanted to be able to make the pw field availabel for admin but not user. Can someone help please? Thank you in advance 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart version 4.x (Most likely will be the latest version)  | 
|||||||
| 
		 
			 
			#2  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 best thing to do is,  instead of removing the code just surround it with an if statement 
		
	
		
		
		
		
			Code: 
	
 
				__________________ 
		
		
		
		
	
		
		
		
	Looking for a reliable X-cart host ? You wont go wrong with either of these.  | 
|||||||||
| 
		 
			 
			#3  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 What the! such a simple thing that i just overlooked ^^'' 
		
	
		
		
		
		
			Just change from P -> A and here i am!! Thanks again Shan! 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart version 4.x (Most likely will be the latest version)  | 
|||||||
| 
 | 
|||
| 
 
X-Cart forums © 2001-2020
 
 | 
|||