![]() |
#2
|
||||
|
||||
![]()
I have taken a look at the doadopt.php code and the breeding.php code, and figured out how to change it so that you select 2 females, and also only females will be adopted, but when I tested the breeding I was banned. How do I make it so my users and I don't get banned? (I put the code back to the original ('f', 'm') array on doadopt.php and fixed the breeding.php page for now.
Edit: I figured out the banning thing, now I just need to figure out how to check to see if dropdown2 = dropdown1 Edit2: I figured out how to get everything working :) I made the check be: Code:
elseif ($female->aid == $male->aid) { //Yes I know it says male, I don't want to end up screwing up the whole code changing all the "males" to "female2" $article_content .= "Sorry, you can not breed the same adoptable with itself."; }
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login. Last edited by Hedgen; 10-30-2012 at 01:52 AM. |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.3 Gender Ratio Mod for Mys v1.3.3 | Hall of Famer | Mys v1.3.x Mods | 17 | 05-23-2019 03:34 PM |
Gender | superdude44 | Questions and Supports | 5 | 07-11-2013 01:17 AM |
different images for gender MA 1.3.3 | draugluin | Questions and Supports | 3 | 06-18-2013 01:30 AM |
Mys v1.3.2 Gender Ratio Mod for Mys v1.3.2 | Hall of Famer | Mys v1.3.x Mods | 6 | 01-08-2013 02:02 PM |
Gender? [answered] | Arianna | Questions and Supports | 4 | 11-19-2009 06:33 AM |
What's New? |
What's Hot? |
What's Popular? |