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 Releases
CMS Releases
Tabs [Register now, hk]
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="Damon" data-source="post: 185888" data-attributes="member: 20526"><p>I thought to release this, because I no longer use Rev.</p><p>I've got a few extra plugins and what ever and I might release some other time.</p><p> </p><p>If you can call this a plugin then alright.</p><p> </p><p>What is this?</p><p>Have you ever visited your hotel thats using rev, with out logging in? [E.g. going to /community]?</p><p>Well you would notice in the first tab you would see {USERNAME} and if you have a house keeping, you would see {hk} somewhere. Well with these you can fix this up..</p><p> </p><p><img src="http://i48.tinypic.com/qn4j95.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p><strong>1st. Change {username} tab into green Register Now! tab if not logged in:</strong></p><p> </p><p><em><strong>Replace:</strong></em></p><p><li class="selected"><strong>{username}</strong><span></span></li></p><p> </p><p><em><strong>with:</strong></em></p><p>[CODE] <?php if(!isset($_SESSION['user']['id'])){ ?></p><p> </p><p><li id="tab-register-now" class="tab-register-now"><a href="{url}/quickregister">Register Now!</a><span></span></li></p><p><?php } else { ?></p><p> </p><p><li><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a></p><p></a><span></span></li></p><p> </p><p><?php } ?>[/CODE]</p><p><strong>This should work. As far as I know there is no exploits in it. But if you do find one in this please tell me.</strong></p><p><em>[remember to do this to mostly all pages... but not me.php!!!!]</em></p><p> </p><p><strong>2nd. Hide {hk} if not logged in</strong></p><p><em><strong>Replace:</strong></em></p><p>{hk}</p><p> </p><p><strong><em>with:</em></strong></p><p>[CODE]<?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 7)</p><p> { ?></p><p> </p><p> <li id="tab-register-now"><a style="color:#fff;" href="ase/">Housekeeping</a><span></span></li></p><p> </p><p> <?php } ?>[/CODE]</p><p>this one should now hide {hk} if not signed in..</p><p> </p><p> </p><p>As I said it may not be advanced or there may be some exploits in it, what ever. It may be useful to some people.</p></blockquote><p></p>
[QUOTE="Damon, post: 185888, member: 20526"] I thought to release this, because I no longer use Rev. I've got a few extra plugins and what ever and I might release some other time. If you can call this a plugin then alright. What is this? Have you ever visited your hotel thats using rev, with out logging in? [E.g. going to /community]? Well you would notice in the first tab you would see {USERNAME} and if you have a house keeping, you would see {hk} somewhere. Well with these you can fix this up.. [IMG]http://i48.tinypic.com/qn4j95.png[/IMG] [B]1st. Change {username} tab into green Register Now! tab if not logged in:[/B] [I][B]Replace:[/B][/I] <li class="selected"><strong>{username}</strong><span></span></li> [I][B]with:[/B][/I] [CODE] <?php if(!isset($_SESSION['user']['id'])){ ?> <li id="tab-register-now" class="tab-register-now"><a href="{url}/quickregister">Register Now!</a><span></span></li> <?php } else { ?> <li><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a> </a><span></span></li> <?php } ?>[/CODE] [B]This should work. As far as I know there is no exploits in it. But if you do find one in this please tell me.[/B] [I][remember to do this to mostly all pages... but not me.php!!!!][/I] [B]2nd. Hide {hk} if not logged in[/B] [I][B]Replace:[/B][/I] {hk} [B][I]with:[/I][/B] [CODE]<?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 7) { ?> <li id="tab-register-now"><a style="color:#fff;" href="ase/">Housekeeping</a><span></span></li> <?php } ?>[/CODE] this one should now hide {hk} if not signed in.. As I said it may not be advanced or there may be some exploits in it, what ever. It may be useful to some people. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
Tabs [Register now, hk]
Top