show gender not until second level ?

Forum
Last Post
Threads / Messages

draugluin

Member
Member
Joined
Oct 26, 2011
Messages
120
Points
16
Location
germany
Mysidian Dollar
7,683
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.
 
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.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,278
Messages
33,127
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top