Registered with white look

DalleB

New Member
Aug 15, 2018
11
0
Hello, i am currently using BrainCMS 1.8.8 and for some reason i can't register with the desired outfit. I only get fully white when registered, no clothes but white pants.

Things i've tried:
* Edit brain-config register look
* Edit default look for new rows in DB
None worked.

My register page is here:
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
Unsure how brain works also your link is irrelevant to the problem as its not view-render issue.

You can set the default look on your database to lg-3057-110.ca-3131-110-64.hd-3103-1.hr-125-61.cc-3299-110-1408.sh-3089-1408.ch-215-92.he-8394-110
 

DalleB

New Member
Aug 15, 2018
11
0
Didn't help, still looking like this when i register:
knsiiy


 

Universo

New Member
Aug 25, 2018
20
7
The problem isn't in setting the look, but in the fact that Brain uses an external site to compose the avatar look, wich is avatar-retro, well the site is down so it won't show properly. You will need to add another avatar creator to the CMS or create yours...

Edit1: I meant, even if you set a default look like Lechris sad, it won't show properly in me.php.
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
The problem isn't in setting the look, but in the fact that Brain uses an external site to compose the avatar look, wich is avatar-retro, well the site is down so it won't show properly. You will need to add another avatar creator to the CMS or create yours...

Edit1: I meant, even if you set a default look like Lechris sad, it won't show properly in me.php.
I wasn't aware of how brain works.

Following on the above,

Change all avatar-retro links in Brain to use
 

DalleB

New Member
Aug 15, 2018
11
0
I wasn't aware of how brain works.

Following on the above,

Change all avatar-retro links in Brain to use
BrainCMS is kinda messed up, but the error was that i had to define the look in the register.php instead of getting the data from either DB or what have been chosen on the avatar thing. :) thanks for help anyways!

This: $avatar = filter($_POST['avatar']);

Must be: $avatar = 'hr-100.hd-190-7.ch-210-66.lg-270-82.sh-290-80';
 

rhystagram

New Member
Dec 26, 2015
24
4
BrainCMS is kinda messed up, but the error was that i had to define the look in the register.php instead of getting the data from either DB or what have been chosen on the avatar thing. :) thanks for help anyways!

This: $avatar = filter($_POST['avatar']);

Must be: $avatar = 'hr-100.hd-190-7.ch-210-66.lg-270-82.sh-290-80';

cool to see my answer helped someone else, I posted this on rz :p.
it's not the only way to fix it though.

1: create a new registration page where users can choose their own outfit ( this would then be $_POST['avatar']; )
2: continuing using this fix
3: in brain-config, it has: " $config['look'] = "hr-3163-1035.hd-3092-2.ch-215-63.lg-3320-1189-62.sh-3089-1408.ca-3219-110.wa-2001-0"; ". You could then set your registration to $avatar = $config['look']; - but, you may aswell just keep it defined in the registration function itself.
 

DalleB

New Member
Aug 15, 2018
11
0
cool to see my answer helped someone else, I posted this on rz :p.
it's not the only way to fix it though.

1: create a new registration page where users can choose their own outfit ( this would then be $_POST['avatar']; )
2: continuing using this fix
3: in brain-config, it has: " $config['look'] = "hr-3163-1035.hd-3092-2.ch-215-63.lg-3320-1189-62.sh-3089-1408.ca-3219-110.wa-2001-0"; ". You could then set your registration to $avatar = $config['look']; - but, you may aswell just keep it defined in the registration function itself.
Yeah this fix was really great but im currently making my own CMS so yeah. Ahaa
 

Users who are viewing this thread

Top