![]() |
show gender not until second level ?
Is there a way to show the gender not until the adoptable reach the first level ?
I don't want to show, what gender the EGG is. I only want to show the gender, if the egg hatched and we can see the babie :OHSHITALION: |
oh ... and may it be possible, to show the parents, if someone has breed a new egg ?
oder alternate, show the owner, which breed the egg ? |
I have both of these features on my site, unfortunately there was a lot of coding involved with showing the parents of a bred egg.
For hiding the gender of the egg I just did something like if ($currentlevel == '0'){ article_content . = ''; } and so on for any level that is an egg. |
@ Silverdragontears
sounds good. Would you like to give me the whole script ? |
what script? it isn't a script, it's just a modification to the coding.
|
You must place;
if ($currentlevel == '0'){ $gender = 'Unkown'; } under where it defines gender. |
well you don't have to do it that way. you'd have to change it in your profile.php, levelup.php, & myadopt.php so that those pages don't show it.
|
All times are GMT -5. The time now is 10:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.