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
RevCMS & Phoenix Emulator - Disconnecting Friend Requests
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="Brad" data-source="post: 194023" data-attributes="member: 17995"><p>Find this in Class.users.php</p><p>[PHP]dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gend er,motto,credits,activity_points,last_online,accou nt_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','','" . date('d-M-Y') . "','". $_SERVER['REMOTE_ADDR'] . "')");</p><p>$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); [/PHP]</p><p> </p><p>Replace it with</p><p> </p><p>[CODE]dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,credits,activity_points,last_online,account_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','', UNIX_TIMESTAMP() ,'" .$_SERVER['REMOTE_ADDR'] . "')");</p><p>$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); [/CODE]</p><p> </p><p> </p><p>Then Run This Is your Database</p><p> </p><p>[PHP]update users set last_online = UNIX_TIMESTAMP(); [/PHP]</p><p> </p><p> </p><p> </p><p>Then Right Click On Users Click Design Table</p><p> </p><p>Then Set this: <img src="http://i.imgur.com/HRjQMiZ.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p> </p><p>to this : <img src="http://i.imgur.com/luhNq8J.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p> </p><p>Should work it worked For me </p><p><img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Brad, post: 194023, member: 17995"] Find this in Class.users.php [PHP]dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gend er,motto,credits,activity_points,last_online,accou nt_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','','" . date('d-M-Y') . "','". $_SERVER['REMOTE_ADDR'] . "')"); $id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); [/PHP] Replace it with [CODE]dbquery("INSERT INTO users (username,password,mail,auth_ticket,rank,look,gender,motto,credits,activity_points,last_online,account_created,ip_reg) VALUES ('" . $username . "','" . $passwordHash . "','" . $email . "','','" . $rank . "','" . $figure . "','" . $sex . "','','500','1000','', UNIX_TIMESTAMP() ,'" .$_SERVER['REMOTE_ADDR'] . "')"); $id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0)); [/CODE] Then Run This Is your Database [PHP]update users set last_online = UNIX_TIMESTAMP(); [/PHP] Then Right Click On Users Click Design Table Then Set this: [IMG]http://i.imgur.com/HRjQMiZ.png[/IMG] to this : [IMG]http://i.imgur.com/luhNq8J.png[/IMG] Should work it worked For me :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
RevCMS & Phoenix Emulator - Disconnecting Friend Requests
Top