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
[TUT] How to make your client.php not show IP [TUT]
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="Derpec" data-source="post: 169843" data-attributes="member: 13266"><p>Yes, Today i well be showing you how to hide you're ip inside of your client.php in Revcms.</p><p> </p><p>Requirements:</p><p>A No-ip Account.</p><p>And Download DUC</p><p>Some Basic Knowledge</p><p> </p><p>===================================================</p><p> </p><p>1st things first, Go to no-ip.com and register or if you have an account login.</p><p> </p><p>After that go to Create a host and put what ever you would like example: Teddybears.zapto.org</p><p> </p><p>And make sure the IP of it is you're VPS ip.</p><p> </p><p>Then go to Downloads at the home page and download DUC and when it is finished open it and put your Email and Password in and select the host and click save.</p><p> </p><p>===================================================</p><p> </p><p>Secondly, Go to your client.php file in Revcms Theme and open it up.</p><p> </p><p>Now you should see something like this:</p><p>[CODE] <script type="text/javascript"></p><p> var habboName = "{username}";</p><p> var habboReqPath = "{url}";</p><p> var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/client";</p><p> window.name = "ClientWndw";</p><p> if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }</p><p> </script></p><p> </p><p><link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /></p><p><script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script></p><p> </p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" /></p><p> </p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" /></p><p> </p><p> </p><p><noscript></p><p> <meta http-equiv="refresh" content="0;url=/client/nojs" /></p><p></noscript></p><p> </p><p><link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" /></p><p><script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script></p><p> </p><p><script type="text/javascript"></p><p> FlashExternalInterface.loginLogEnabled = false;</p><p> FlashExternalInterface.logLoginStep("web.view.start");</p><p> </p><p> if (top == self) {</p><p> FlashHabboClient.cacheCheck();</p><p> }</p><p> var flashvars = {</p><p> "client.allow.cross.domain" : "0",</p><p> "client.notify.cross.domain" : "1",</p><p> "connection.info.host" : "{server_ip}",</p><p> "connection.info.port" : "30000",</p><p> "site.url" : "{url}/",</p><p> "url.prefix" : "{url}/",</p><p> "client.reload.url" : "{url}/client",</p><p> "client.fatal.error.url" : "{url}/disconnected",</p><p> "client.connection.failed.url" : "{url}/disconnected",</p><p> "external.variables.txt" : "{external_vars}",</p><p> "external.texts.txt" : "{external_texts}",</p><p> "productdata.load.url" : "{product_data}",</p><p> "furnidata.load.url" : "{furni_data}",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "{sso}",</p><p> "processlog.enabled" : "0",</p><p> "account_id" : "1",</p><p> "client.starting" : "Please wait! {hotelName} is starting up",</p><p> "flash.client.url" : "{swf_folder}/",</p><p> "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",</p><p> "has.identity" : "0",</p><p> "flash.client.origin" : "popup",</p><p> "token" : "{sso}"</p><p> };</p><p> var params = {</p><p> "base" : "{swf_folder}/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> </p><p> if (!(HabbletLoader.needsFlashKbWorkaround())) {</p><p> params["wmode"] = "opaque";</p><p> }</p><p> </p><p> var clientUrl = "{swf_folder}/Habbo.swf";</p><p> </p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf", flashvars, params);</p><p> </p><p> window.onbeforeunload = unloading;</p><p> function unloading() {</p><p> var clientObject;</p><p> if (navigator.appName.indexOf("Microsoft") != -1) {</p><p> clientObject = window["flash-container"];</p><p> } else {</p><p> clientObject = document["flash-container"];</p><p> }</p><p> try {</p><p> clientObject.unloading();</p><p> } catch (e) {}</p><p> }</p><p></script></p><p> </p><p><body id="client" class="flashclient"></p><p><div id="overlay"></div></p><p><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /></p><p> </p><p><div id="overlay"></div></p><p><div id="client-ui" ></p><p> <div id="flash-wrapper"></p><p> <div id="flash-container"></p><p> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p> </p><p><div class="cbb clearfix"></p><p> <h2 class="title">Please update your Flash Player to the latest version.</h2></p><p> <div class="box-content"></p><p> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p></p><p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></p><p> </div></p><p></div></p><p> </p><p> </div></p><p> <script type="text/javascript"></p><p> $('content').show();</p><p> </script></p><p> <noscript></p><p> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"></p><p> <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p></p><p> </div></p><p> </noscript></p><p> </div></p><p> </div></p><p> </p><p></div></p><p> <div style="display: none"></p><p> </p><p><div id="habboCountUpdateTarget"></p><p>{status}</p><p></div></p><p> <script language="JavaScript" type="text/javascript"></p><p> setTimeout(function() {</p><p> HabboCounter.init(600);</p><p> }, 20000);</p><p> </script></p><p> </div></p><p> <script type="text/javascript"></p><p> RightClick.init("flash-wrapper", "flash-container");</p><p> if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {</p><p> window.opener.location.replace(window.opener.location.href);</p><p> }</p><p> $(document.body).addClassName("js");</p><p> HabboClient.startPingListener();</p><p> </script></p><p> </p><p><script type="text/javascript"></p><p> HabboView.run();</p><p></script></p><p> </p><p><script type="text/javascript"></p><p> </p><p> var _gaq = _gaq || [];</p><p> _gaq.push(['_setAccount', 'UA-15697942-2']);</p><p> _gaq.push(['_trackPageview']);</p><p> </p><p> (function() {</p><p> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;</p><p> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';</p><p> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);</p><p> })();</p><p> </p><p></script>[/CODE]</p><p> </p><p>Now once you have that open Look for "connection.info.host" and rate beside it well be {server_ip} Change that to you're vps ip.</p><p> </p><p>After that click Save and exit it.</p><p> </p><p>====================================================</p><p> </p><p>Lastly, go to View-Source:example.com/client And you well see a difference and no one well see your VPS ip.</p><p> </p><p>====================================================</p><p> </p><p>Now i well not say this well fully cover the IP i recommend getting Cloudflare installed on to your server with this method above. It's just a little more security</p><p> </p><p>====================================================</p><p> </p><p>I have not seen any of these tutorials out there because most retro owners try to keep it to them selves.</p><p> </p><p>====================================================</p><p> </p><p>Credits:</p><p>Kryptos For Revcms</p><p>Me: For Making The Tutorial</p><p> </p><p>If there are any more credits please tell me.</p><p> </p><p>Thank You.</p></blockquote><p></p>
[QUOTE="Derpec, post: 169843, member: 13266"] Yes, Today i well be showing you how to hide you're ip inside of your client.php in Revcms. Requirements: A No-ip Account. And Download DUC Some Basic Knowledge =================================================== 1st things first, Go to no-ip.com and register or if you have an account login. After that go to Create a host and put what ever you would like example: Teddybears.zapto.org And make sure the IP of it is you're VPS ip. Then go to Downloads at the home page and download DUC and when it is finished open it and put your Email and Password in and select the host and click save. =================================================== Secondly, Go to your client.php file in Revcms Theme and open it up. Now you should see something like this: [CODE] <script type="text/javascript"> var habboName = "{username}"; var habboReqPath = "{url}"; var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /> <script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" /> <noscript> <meta http-equiv="refresh" content="0;url=/client/nojs" /> </noscript> <link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" /> <script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = false; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.allow.cross.domain" : "0", "client.notify.cross.domain" : "1", "connection.info.host" : "{server_ip}", "connection.info.port" : "30000", "site.url" : "{url}/", "url.prefix" : "{url}/", "client.reload.url" : "{url}/client", "client.fatal.error.url" : "{url}/disconnected", "client.connection.failed.url" : "{url}/disconnected", "external.variables.txt" : "{external_vars}", "external.texts.txt" : "{external_texts}", "productdata.load.url" : "{product_data}", "furnidata.load.url" : "{furni_data}", "use.sso.ticket" : "1", "sso.ticket" : "{sso}", "processlog.enabled" : "0", "account_id" : "1", "client.starting" : "Please wait! {hotelName} is starting up", "flash.client.url" : "{swf_folder}/", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "0", "flash.client.origin" : "popup", "token" : "{sso}" }; var params = { "base" : "{swf_folder}/", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } var clientUrl = "{swf_folder}/Habbo.swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf", flashvars, params); window.onbeforeunload = unloading; function unloading() { var clientObject; if (navigator.appName.indexOf("Microsoft") != -1) { clientObject = window["flash-container"]; } else { clientObject = document["flash-container"]; } try { clientObject.unloading(); } catch (e) {} } </script> <body id="client" class="flashclient"> <div id="overlay"></div> <img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /> <div id="overlay"></div> <div id="client-ui" > <div id="flash-wrapper"> <div id="flash-container"> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"> <div class="cbb clearfix"> <h2 class="title">Please update your Flash Player to the latest version.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> </div> </div> <script type="text/javascript"> $('content').show(); </script> <noscript> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"> <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p> </div> </noscript> </div> </div> </div> <div style="display: none"> <div id="habboCountUpdateTarget"> {status} </div> <script language="JavaScript" type="text/javascript"> setTimeout(function() { HabboCounter.init(600); }, 20000); </script> </div> <script type="text/javascript"> RightClick.init("flash-wrapper", "flash-container"); if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") { window.opener.location.replace(window.opener.location.href); } $(document.body).addClassName("js"); HabboClient.startPingListener(); </script> <script type="text/javascript"> HabboView.run(); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15697942-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>[/CODE] Now once you have that open Look for "connection.info.host" and rate beside it well be {server_ip} Change that to you're vps ip. After that click Save and exit it. ==================================================== Lastly, go to View-Source:example.com/client And you well see a difference and no one well see your VPS ip. ==================================================== Now i well not say this well fully cover the IP i recommend getting Cloudflare installed on to your server with this method above. It's just a little more security ==================================================== I have not seen any of these tutorials out there because most retro owners try to keep it to them selves. ==================================================== Credits: Kryptos For Revcms Me: For Making The Tutorial If there are any more credits please tell me. Thank You. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[TUT] How to make your client.php not show IP [TUT]
Top