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
How to fix Phx Friend Request Bug
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: 194742" data-attributes="member: 17995"><p>if your not using Ubercms Just Skip To the database Part</p><p> </p><p> Find this in Class.users.php</p><p>PHP:</p><p>[CODE]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))[/CODE]</p><p>Replace it with</p><p> </p><p>Code:</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>Then Run This Is your Database</p><p> </p><p>PHP:</p><p><span style="color: #000000"><span style="color: #0000bb">update users set last_online </span><span style="color: #007700">= </span><span style="color: #0000bb">UNIX_TIMESTAMP</span><span style="color: #007700">(); </span></span></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: 194742, member: 17995"] if your not using Ubercms Just Skip To the database Part Find this in Class.users.php PHP: [CODE]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))[/CODE] Replace it with Code: [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: [COLOR=#000000][COLOR=#0000bb]update users set last_online [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]UNIX_TIMESTAMP[/COLOR][COLOR=#007700](); [/COLOR][/COLOR] 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 Tutorials
How to fix Phx Friend Request Bug
Top