Hello!
I've seen in averatec's thread that there's a lot of people who is asking for this, so I thought that I could show how to make this for Gesior AAC. I'm going to use the standard characters.php & whoisonline.php for this.
characters.php
Another version for characters.php
whoisonline.php
Remember to change the path for the outfitter.php if it's not working!
How it looks like when it's done
Remember to change the path for the outfitter.php if it's not working!
PHP files that I used for this
Enjoy!
Sincerely,
Ninja
I've seen in averatec's thread that there's a lot of people who is asking for this, so I thought that I could show how to make this for Gesior AAC. I'm going to use the standard characters.php & whoisonline.php for this.
characters.php
Locate the following line.
Code:<td rowspan="2" width="68" height="68" align="center" valign="bottom">'.$playerOutfit.'</td>
and replace it with this.
Code:<td rowspan="2" width="68" height="68" align="center" valign="bottom"><image src="[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'"/></td>
Another version for characters.php
Add this above the comment code in characters.php
Code:// ** OUTFIT SHOWER if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++; $main_content .= '<TD BGCOLOR="'.$bgcolor.'">Outfit:<TD style="background-color: '.$bgcolor.'"><image src="[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'"/></TD></TD>'; //END
whoisonline.php
Locate this
Code:<TD WIDTH=60%>'.$flag.'<A HREF="index.php?subtopic=characters&name='.urlencode($player['name']).'">'.$player['name'].'</A></TD>
and add this above it
Code:<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>
Find this.
Code:<TD><A HREF="index.php?subtopic=whoisonline&order=name" CLASS=white>Name</A></TD>
and add this above.
Code:<TD CLASS=white><b>Outfit</b></TD>
Remember to change the path for the outfitter.php if it's not working!
How it looks like when it's done
Remember to change the path for the outfitter.php if it's not working!
PHP files that I used for this
- Characters.php: here
- Whoisonline.php: here
Enjoy!
Sincerely,
Ninja
Last edited: