BrainCMS Help with images

Joakim

Junior Member
Members
2Posts:
1 Threads:
Nov 15Joined:
0 Reputation:
#1
So im a noob xD, how do i fix the avatar images and shit, i dont know what its called, anyway look at the pictures it explains mostly everything

Please log in or register to see this link.
Please log in or register to see this link.

i hope that explains

i mean how do i fix the "not loaded" images and what have i done wrong

also client is white how do i fix that..

Joakim

Junior Member
Members
2Posts:
1 Threads:
Nov 15Joined:
0 Reputation:
#2
I managed to fix it i think, updated it to 1.8.9 xD

but still have white client, anyone?

Stefan

Manager
Manager
Developer
Donator
Members
Moderator
VIP
12Posts:
0 Threads:
Oct 06Joined:
1 Reputation:
Developer
#3
Hi @Joakim,

Please change your code with this
For me.php (/templates/brain/me.php) => 

PHP Code:
<div class="useravatar">
 <
div class="avatar" style="background-image:url(https://habbo.retroripper.com/habbo-imaging/avatarimage?figure={look}&amp;direction=2&amp;head_direction=3&amp;action=crr=667&amp;gesture=sml);"></div>
 </
div
PHP Code:
<div class="userNewBox">
 <
a href="/home/<?= filter($getUsersDev['username']) ?>"><div class="userNew" style="background: url(https://habbo.retroripper.com/habbo-imaging/avatarimage?figure=<?= filter($getUsersDev['look']) ?>&direction=3&head_direction=3&action=wav&headonly=0); background-position: 15px 2px;width: 80px;float: left;background-repeat: no-repeat;"></div>
<
div class="userNewName">
<?= 
filter($getUsersDev['username']) ?></a>
</div>
</div> 
For UOTW (/system/app/plugins/habbooftheweek.php)
PHP Code:
If($getUser->RowCount() > 0)
 {
if(
$getUserData['online'] == 1){ $OnlineStatus "online"; } else { $OnlineStatus "offline"; }
echo 
'<div class="userNew" style="height: 110px;  background: url(https://retroripper.com/habbo-imaging/avatarimage?figure='.filter($getUserData['look']).'&direction=2&head_direction=3&action=crr=667&gesture=sml);float: left;background-repeat: no-repeat;"></div>';
echo 
''.$lang["Hname"].'  <a href ="/home/'.filter($getUserData['username']).'"><b style="color:#046fe0;text-decoration: underline;">'.filter($getUserData['username']).'</a><span class="staff-'.$OnlineStatus.'"></span></b> ';
echo 
'<div style="">'.$lang["Hmotto"].'  <b>'.filter($getUserData['motto']).'</b>'.$userBadge.'</div>'.userlike($getUserData['id']).'';
echo 
'<div style=""><h4>'.filter($getUOTWData['text']).'</h4></div>';

And for the staff (/templates/brain/staff.php) / (/templates/brain/team.php) / (/templates/brain/vip.php)

PHP Code:
echo '
 <a href="/home/'
.$username.'"><div style="pointer;float: left;padding-top: 20px;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.2);border-bottom: 2px solid rgba(0, 0, 0, 0.2);width: 275px;margin-bottom: 5px;margin-left: 5px;margin-right: 5px;">
<div id="column" style="border: 2px dotted rgba(0, 0, 0, 0.2);margin-top: -10px;margin-left: 10px;margin-right: 10px;margin-bottom: 10px;float: left;height:55px;width: 55px;border-radius: 555px;-moz-border-radius: 555px;-webkit-border-radius: 555px;background:url(https://habbo.retroripper.com/habbo-imaging/avatarimage?figure='
.$look.'&head_direction=2&direction=2&action=wlk&gesture=sml) no-repeat;background-position: 50% 10%;"></div>
<b  style="font-size: 16px;">' 
.$username ' ';  userlike($member['id']);   echo'</b> <span class="staff-'.$OnlineStatus.'"></span> 
<img src="'
.$config['badgeURL'].'' $Ranks['badgeid'] . '.gif" style="margin-right:5px;margin-top: 30px;" align="right"> 
</a>
<br>  <img src="/templates/brain/style/images/icons/motto.png"> <i style="font-size: 12px;">' 
.$motto '</i>
<BR>
</div>
'

Users browsing this thread:
1 Guest(s)