Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
[PUT IN BETA] Stop low rank people accessing client
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Gang67" data-source="post: 422960" data-attributes="member: 75598"><p>So this will make it so users below a certain rank can no longer access the client. This will come in use if you are in beta and you don't want certain people accessing the client. In this example I have set it to users below the rank 3 are unable to access the client. Not tried on a normal hotel but works on the Flux cms. Any issues then comment.</p><p></p><p>First you need to go to your client.php and open it up</p><p><strong>XAMPP:</strong> htdocs/app/tpl/skins/{skin}/client.php</p><p><strong>IIS: </strong>wwwroot/app/tpl/skins/{skin}/client.php</p><p></p><p>Then at the top of the file paste the following code</p><p>[SPOILER="client.php php"]</p><p>[PHP]<?php</p><p>if($_SESSION['user']['rank'] < 3) // Edit the number to change the rank</p><p>{</p><p> echo"whatever you want it to show here"; // What the person is shown</p><p> exit;</p><p>} ?>[/PHP]</p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Gang67, post: 422960, member: 75598"] So this will make it so users below a certain rank can no longer access the client. This will come in use if you are in beta and you don't want certain people accessing the client. In this example I have set it to users below the rank 3 are unable to access the client. Not tried on a normal hotel but works on the Flux cms. Any issues then comment. First you need to go to your client.php and open it up [B]XAMPP:[/B] htdocs/app/tpl/skins/{skin}/client.php [B]IIS: [/B]wwwroot/app/tpl/skins/{skin}/client.php Then at the top of the file paste the following code [SPOILER="client.php php"] [PHP]<?php if($_SESSION['user']['rank'] < 3) // Edit the number to change the rank { echo"whatever you want it to show here"; // What the person is shown exit; } ?>[/PHP] [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[PUT IN BETA] Stop low rank people accessing client
Top