Group badges

Zlimon

Member
Aug 3, 2015
76
5
So I have been trying to get group badges working, but the only result I have gotten so far is this:
You must be registered for see images attach


config.ini for the emulator:
You must be registered for see images attach


.htaccess:
You must be registered for see images attach


And the external_variables.txt
You must be registered for see images attach


Is there anything wrong, or something I have forgotten?
 

Core

Member
Nov 10, 2016
356
138
If you're using IIS, then you need to use a web.config.
Also, make sure the rewrite rules are in root directory of web server and you actually have the habbo-imaging folder there as well.
 

Zlimon

Member
Aug 3, 2015
76
5
If you're using IIS, then you need to use a web.config.
Also, make sure the rewrite rules are in root directory of web server and you actually have the habbo-imaging folder there as well.
I am using Xampp, so a web.config file should't be necassary I guess. However, I am pretty sure that I have the correct file directory in the rewrite rules. But I looked into it and found a habbo-imaging and badge-imaging folder in the swfs...

I tried to do this, but with no results:
You must be registered for see images attach
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
I am using Xampp, so a web.config file should't be necassary I guess. However, I am pretty sure that I have the correct file directory in the rewrite rules. But I looked into it and found a habbo-imaging and badge-imaging folder in the swfs...

I tried to do this, but with no results:
You must be registered for see images attach
/habbo-imaging/badge.php file is inside your swf folder, and not a folder in the webroot

Sent from my SM-G928F using Tapatalk
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Then how do i direct .htaccess to it?
Code:
RewriteRule ^habbo-imaging/badge/([^/]+) /swfs/habbo-imaging/badge.php?badge=$1;
RewriteRule ^habbo-imaging/head/([^/]+) /swfs/habbo-imaging/head.php?figure=$1;

You just simply had to change "swfs" to the folder location, and not the rewrite link.

Please vote as Best Answer, if this works.
 
Last edited:

Zlimon

Member
Aug 3, 2015
76
5
Code:
RewriteRule ^habbo-imaging/badge/([^/]+) /swfs/habbo-imaging/badge.php?badge=$1;
RewriteRule ^habbo-imaging/head/([^/]+) /swfs/habbo-imaging/head.php?figure=$1;

You just simply had to change "swfs" to the folder location, and not the rewrite link.

Please vote as Best Answer, if this works.
Well, this happened now:
You must be registered for see images attach


You must be registered for see images attach
 

Zlimon

Member
Aug 3, 2015
76
5
Must be your external texts then.

Sent from my SM-G928F using Tapatalk
Probably, but this looks correct right?
external_variables.txt
You must be registered for see images attach


external_override_varaibles.txt
You must be registered for see images attach

This is also how the habbo-imaging folder looks like:
You must be registered for see images attach
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Probably, but this looks correct right?
external_variables.txt
You must be registered for see images attach


external_override_varaibles.txt
You must be registered for see images attach

This is also how the habbo-imaging folder looks like:
You must be registered for see images attach
You literally just made a rewrite rule from " " that goes to " ", so you gotta remove "swfs" from the group badge url, this is seriously just logic to fix this.
 

Zlimon

Member
Aug 3, 2015
76
5
It doesnt seem logical to me to remove "swfs" from the urls, but I did it:
You must be registered for see images attach


You must be registered for see images attach


But now I have the black badges again
 

Zaka

Programmer
Feb 9, 2012
471
121
This is a really old thread, but I see that many have been facing this issue. I fixed the issue back when I had it and it doesn't hurt to share a working badge.php with you all.
 

Users who are viewing this thread

Top