|  | 
| Home Community Mys-Script Creative Off-Topic | 
| 
 | |||||||
|  | 
|  | Thread Tools | Display Modes | 
|  | 
| 
			 
			#1  
			
			
			
			
			
		 | ||||
| 
 | ||||
|  Know Gender of New Pets Before Naming 
			
			This is what we'll be doing (more or less):  Basically we remove the option to name the pet on the first page, so now we'll name it from the confirmation screen - since the adoptable exists now, we can know its gender! We'll be modifying two sections in adoptview.php - First we'll replace the contents inside if($mysidia->input->post("submit")){ ... }. It WAS this: PHP Code: 
			PHP Code: 
			PHP Code: 
			PHP Code: 
			Let me know if there are any issues/questions. (* Yes, it is getting rid of the BBCode link, but since that can be found from the adopt's page, anyway, I didn't see it as a big deal? Naming is important. ) 
				__________________ Please do not contact me directly outside of Mysidia. I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-07-2014 at 08:01 PM. | 
| 
			 
			#2  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I've added this mod and tested it, works perfectly for me. I use 1.3.4 
				__________________ Failing at being normal since 1990. | 
| 
			 
			#3  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I like this a lot Kyttias, I think I may apply it to version 1.4.0 when I am ready to release it. After all, it will make no sense if you give your pet a female name only to realize it is male later on, and vice-versa. Good idea.
		 
				__________________  Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. | 
| 
			 
			#4  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			Just added this mod! It's splendid ^_^ Thank you for sharing <3 
				__________________ My Mods Site (1.3.4, 2020 Mods) | 
| 
			 
			#5  
			
			
			
			
			
		 | ||||
| 
 | ||||
|   
			
			I've tested this and it works! Thanks a lot!
		 | 
|  | 
| Tags | 
| adopting, gender, genders, names, naming | 
| 
 | 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Show Gender while Naming Pet & Name Promo Code Pets | Kyttias | Questions and Supports | 5 | 07-11-2014 02:12 PM | 
| Curses... Unique naming | SilverDragonTears | Questions and Supports | 8 | 03-27-2012 06:04 PM | 
| Giving pets a Gender | Arianna | Mys v1.1.x Mods | 64 | 11-24-2010 01:45 AM | 
| Naming and Changing Help | whispwill | Suggestions and Feature Requests | 10 | 08-29-2009 02:58 PM | 
| What's New? | What's Hot? | What's Popular? |