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. |
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? |