• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Website. Outfit picture dont work.

ohman

Member
Joined
Oct 24, 2008
Messages
290
Reaction score
6
Location
Sweden
Hi! I got a new cast.php that showes all players that is casting at the moment. The code should show the outfit on the website, but its not working.

Here is the cast.php:

http://pastebin.com/YbmdXYEm

In my characters.php I have this code and its working:
<img src="' . $config['site']['outfit_images_url'] . '?id=' . $player->getLookType() . '&addons=' . $player->getLookAddons() . '&head=' . $player->getLookHead() . '&body=' . $player->getLookBody() . '&legs=' . $player->getLookLegs() . '&feet=' . $player->getLookFeet() . '" alt="" />

In the cast.php I have this:

<img src="'.$base_link.'/outfiter.php?id='.$p[3].'&addons='.$p[8].'&head='.$p[4].'&body='.$p[5].'&legs='.$p[6].'&feet='.$p[7].'" width="64" height="64"/>


I tried to change it but the hole website turned white.

Thanks! :)
 
Change
Code:
'.$base_link.'/outfiter.php
to
Code:
' . $config['site']['outfit_images_url'] . '
 
Thanks! Looks good :) you know how to change the brown color? I cant find anything about that... I mean the dark brown, behind "World Information" and "Player Casting". Thank you ninja!

World Information
World Information

Change the background color (basic.css)
Code:
.CaptionContainer .CaptionInnerContainer {
  position: relative;
  background-color: #5f4d41;
  width: 100%;
  height: 100%;
  padding-top: 3px;
  padding-bottom: 4px;
}
 
Back
Top