|  | 
| Home Community Mys-Script Creative Off-Topic | 
| 
 | |||||||
|  | 
|  | Thread Tools | Display Modes | 
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  How you change the default trade status? 
			
			So when people adopt pets their trade status is always "for trade". And i think they doesn't want that.  I know that we can change on "manage". But how when you adopt a pet, the default status will be "not for trade"? 
				__________________ https://www.viagrasansordonnancefr.c...-en-pharmacie/ | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Assuming you are running a fresh Mysidia installation, open adopt.php file in your root directory and you should find this near line 34-35: Code:             $mysidia->db->insert("owned_adoptables", array("aid" => NULL, "type" => $adopt->getType(), "name" => $name, "owner" => $mysidia->user->username, "currentlevel" => 0, "totalclicks" => 0, "code" => $code, 
                                                           "imageurl" => NULL, "usealternates" => $alts, "tradestatus" => 'fortrade', "isfrozen" => 'no', "gender" => $gender, "offsprings" => 0, "lastbred" => 0));Code:             $mysidia->db->insert("owned_adoptables", array("aid" => NULL, "type" => $adopt->getType(), "name" => $name, "owner" => $mysidia->user->username, "currentlevel" => 0, "totalclicks" => 0, "code" => $code, 
                                                           "imageurl" => NULL, "usealternates" => $alts, "tradestatus" => 'notfortrade', "isfrozen" => 'no', "gender" => $gender, "offsprings" => 0, "lastbred" => 0));
				__________________  Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. | 
|  | 
| Thread Tools | |
| Display Modes | |
| 
 | 
 | 
| What's New? | What's Hot? | What's Popular? |