![]() |
RE: Giving pets a Gender
That is normal but why a new table? They can stay in the owned adoptables table but if the owner field is blank then they are not owned and will not show up on anyones profile because they are abandoned. It a lot easier, especially when you are learning to use the wheel given you, not reinvent it. :):)
Sea |
RE: Giving pets a Gender
I recently added this mod to my site and it works somewhat. The row Gender does display correctly in the table. However, any pet I adopt has no gender, the row is always blank. I have also tried adding the values male and female to the row gender in the table owned_adoptables to no avail. Any help would be appreciated.
|
RE: Giving pets a Gender
@Seapyramid
I had started to use the abandoned script posted here but the download was lost in the move now I'm to scared to mess with it and I don't know how to make the abandoned adoptable open to claim by other members. So now I have a DB with abandoned pets and nothing to do with them. |
RE: Giving pets a Gender
Quote:
Like this: PHP Code:
PHP Code:
PHP Code:
Now I will say once again.. my code is HIGHLY OPTIMIZED & WILL NO LONGER WORK with the basic script!! What I offer is some insight & direction.. not a "fix". Sea |
RE: Giving pets a Gender
umm so this is 50% male and 50% female for all adoptables... Is it possible to specify that certain adoptables can only be male or female?
|
RE: Giving pets a Gender
It is . I have now set up a gender system where gender is male, female or both.. if both it randoms & chooses a gender. It also has the option of setting gender for one pet & the alt the other gender, if main pet & alt are meant to be different sexes.
|
RE: Giving pets a Gender
Sounds cool, would you send me a private message about this? Thanks. ^^
|
RE: Giving pets a Gender
Sure, sending it now
|
RE: Giving pets a Gender
Here my problem...why i dont show the gender in the Myadopts page??
I Have added the code for show...but i dont show none!!! WHy? |
RE: Giving pets a Gender
Thanks for sharing valuable code. As I have seen it had worked for some people and not for others. So I going to try it with positive feeling that it will work for me and revert back to you with update shortly.
|
All times are GMT -5. The time now is 08:20 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.