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 Q&A
Ubercms housekeeping error
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="LOOKATYOU" data-source="post: 261249" data-attributes="member: 2887"><p>Hello everyone.</p><p>Today i have come across something and i dont know why it wont work, i have an option in my housekeeping that lets me send :ha messages out, when i first installed it and tested it all it worked fine, but i tried to use it today and it tells me by housekeeping that the :ha message was sent, when i check my client it's not there..</p><p>heres my code </p><p>[CODE]<?php</p><p></p><p>if (!defined('IN_HK') || !IN_HK)</p><p>{</p><p> exit;</p><p>}</p><p></p><p>if (!HK_LOGGED_IN || !$users->hasFuse(USER_ID, 'fuse_housekeeping_moderation'))</p><p>{</p><p> exit;</p><p>}</p><p></p><p>if (isset($_POST['hatext']))</p><p>{</p><p> fMessage('ok', 'Message sent:<br />"' . clean($_POST['hatext']) . '"');</p><p> $lol = clean($_POST['hatext']);</p><p> $hmsg = "" . clean($_POST["hatext"]) . " \r - " . USER_NAME;</p><p> $core->Mus('ha', $hmsg);</p><p>}</p><p></p><p>require_once "top.php";</p><p></p><p>?> </p><p></p><p><h1>Hotel Alert</h1></p><p></p><p><br /></p><p></p><p><p></p><p> Notify the entire hotel with an alert. Use with care. <i>DO NOT USE APOSTROPHIES (') or QUOTATION MARKS (")</i> <b>This system is logged.</b></p><p></p></p><p></p><p><br /></p><p></p><p><p></p><p><?php if (isset($_POST['hatext'])) { ?></p><p><h1 style="padding: 15px;">Message Sent <span style="border: 2px dotted gray; padding: 10px; margin: 5px; font-size: 70%; font-weight: normal;"><?php echo clean($_POST['hatext']); ?></span><input type="button" value="Send new message?" onclick="document.location = 'index.php?_cmd=ha';"></h1></p><p><?php } else { ?></p><p><form method="post"></p><p></p><p><textarea name="hatext" cols="70" rows="10"></textarea></p><p><input type="submit" value="Send"></p><p></p><p></form></p><p></p></p><p><?php</p><p>}</p><p></p><p>require_once "bottom.php";</p><p></p><p>?>[/CODE]</p></blockquote><p></p>
[QUOTE="LOOKATYOU, post: 261249, member: 2887"] Hello everyone. Today i have come across something and i dont know why it wont work, i have an option in my housekeeping that lets me send :ha messages out, when i first installed it and tested it all it worked fine, but i tried to use it today and it tells me by housekeeping that the :ha message was sent, when i check my client it's not there.. heres my code [CODE]<?php if (!defined('IN_HK') || !IN_HK) { exit; } if (!HK_LOGGED_IN || !$users->hasFuse(USER_ID, 'fuse_housekeeping_moderation')) { exit; } if (isset($_POST['hatext'])) { fMessage('ok', 'Message sent:<br />"' . clean($_POST['hatext']) . '"'); $lol = clean($_POST['hatext']); $hmsg = "" . clean($_POST["hatext"]) . " \r - " . USER_NAME; $core->Mus('ha', $hmsg); } require_once "top.php"; ?> <h1>Hotel Alert</h1> <br /> <p> Notify the entire hotel with an alert. Use with care. <i>DO NOT USE APOSTROPHIES (') or QUOTATION MARKS (")</i> <b>This system is logged.</b> </p> <br /> <p> <?php if (isset($_POST['hatext'])) { ?> <h1 style="padding: 15px;">Message Sent <span style="border: 2px dotted gray; padding: 10px; margin: 5px; font-size: 70%; font-weight: normal;"><?php echo clean($_POST['hatext']); ?></span><input type="button" value="Send new message?" onclick="document.location = 'index.php?_cmd=ha';"></h1> <?php } else { ?> <form method="post"> <textarea name="hatext" cols="70" rows="10"></textarea> <input type="submit" value="Send"> </form> </p> <?php } require_once "bottom.php"; ?>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Ubercms housekeeping error
Top