Hey,
I recently realized that only Google Chrome users can enter my hotel, i am using RevCMS with Painter theme.
Live demo: zabbo.org
HEEEEEEEEEEEEEEEEEEELP
Printable View
Hey,
I recently realized that only Google Chrome users can enter my hotel, i am using RevCMS with Painter theme.
Live demo: zabbo.org
HEEEEEEEEEEEEEEEEEEELP
I'm bumpin' :P:
Even the client knows that Google Chrome is the best, lol jks. You could try recommending Google Chrome on the homepage with a download link or something? Easy solution.
Use something like this in your client.php file:
Then when people using IE go /client it will redirect them to the URL you specify. I think you could adapt the code above to work with firefox too.Code:
<?php
$u_agent = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('/MSIE/i', $u_agent))
{
// enter url to send the user to that tells them it only works with chrome
header('Location: http://yoursite.com/downloadchrome.html');
}
?>
Will
No, you need the habboclientie.css or something, go on the Habbo's client and you'll find it.
This is NOT the way to solve web compatiblity issues. Websites should never force a specific setup requirement when cross compatiblity is possible.
The possible exception is old browsers like IE6 which are a real pain to get working. But still, at the end of the day you can almost always easily provide a really basic fallback option for such browsers.
@WJJ, the rep message is from a previous -rep I gave so ignore it. The -rep however stands as your post was just bad advice and does not solve the issue.
Anyone who knows why it does only work on Google Chrome?
And knows how to solve it?
Mind posting your client.php?
Yes ofcourse.
Give me a sec.
client.php - My client.php
Add all the JS files on habbos client to yours?
I don't know how to do it, i've tried but it shows nothing.
heeeeeelp:-((
I have rep disabled anyway :) People are too quick to give -rep and never give +rep so it doesn't give an accurate account of how trustworthy/helpful/etc a user is anyway.Quote:
@WJJ, the rep message is from a previous -rep I gave so ignore it. The -rep however stands as your post was just bad advice and does not solve the issue.
I am aware that its better to promote cross browser compatibility but as the OP doesn't know how to fix the issue and i wasnt sure how to fix it myself. I thought best to post a simple fix that would work in the short term and hopefully someone would post a better fix eventually on his thread and he could remove my code above when he had it working properly. Maybe i didn't make it clear enough that it was not a "100% fixed forever" fix.
Thanks for the feedback. :)
Will
It was a stupid suggestion, however. Just because Google Chrome is the leading browser, to-date - it is still only one of many other browsers, closely following in usage.
If the client were to not work in Internet Explorer only, it would've been less stupid to suggest that you should force the user to download Google Chrome - however people do not like to download without thinking they know/ knowing what it is/ will do.
Nevermind, I just stole the Habbo themes client, and saved the javascript, and css, which was in the habbi theme.