Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

HELP Add flashplayer popup

Newbie Spellweaver
Joined
Sep 25, 2012
Messages
51
Reaction score
0
Hello
how to put that on my client for all user please ?


if there is not that some do not know how to launch the hotel.

Thank you for your answer
 
Newbie Spellweaver
Joined
Feb 26, 2018
Messages
79
Reaction score
4
Add this to the client.php just under the <html lang="en">

Code:
<style>
.flashfail{
margin: 0 auto;
max-width: 600px;
background-color: #111524;
color: #7ecaee;
margin-top: 80px;
border-radius: 10px;
overflow: hidden;
padding: 12px 24px 12px 24px;
display: block;
font-family: Roboto;
height: 350px;
font-size: 23px;
}
</style>

Then under the javascript for the hotel put this:​

PHP:
<div id="client" style="height: 100%">
  

        <div id="client-ui">

        <div id="flash-wrapper">
            <div id="flash-container">

              
       <center> <div class="flashfail">
  <img src="{url}/app/tpl/skins/{skin}/images/logo.gif">
    <h2 style="padding-bottom: 30px; color: white;"><center>You need flash to play {hotelname}!</center></h2>
    <p>
    <br> If you already have flash installed, click 'Enable Flash /  Install' to enable it. If you haven't got it installed, still click it, you can download it from there!
 
      
        <p><center><div style="margin-top: 10px; height: 350px;"><a href='http://www.adobe.com/go/getflashplayer' class="button"><font color="white"> Enable Flash / Install</font></a></p>
<div style="float: left; margin-top: -80px;"><img alt="{username}" src="http://habbo.com/habbo-imaging/avatarimage?figure={figure}&action=wav&direction=2&head_direction=3&gesture=sml&size=l"/></div>
        </div></center>

</div>
</div>

Looks like this:


 
Upvote 0
Back
Top