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
Common Problem Answers (Some) And Other Stuff
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: 204662" data-attributes="member: 17995"><p>Could Of added Credits at Least As I Released a fix for This:</p><p><span style="font-size: 15px"><strong>Ubercms2 Friend Request D/C Fix</strong></span></p><p>MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE</p><p> </p><p><span style="font-family: 'Verdana'"><span style="color: #333333">if your not using Ubercms Just Skip To the database Part</span></span></p><p> </p><p><strong><span style="font-family: 'Verdana'"><span style="color: #333333">Find this in Class.users.php</span></span></strong></p><p><span style="font-family: 'Verdana'"><span style="color: #333333">PHP:</span></span></p><p><span style="font-family: 'Verdana'"><span style="color: #333333">Code:</span></span></p><p><span style="color: #333333"><span style="font-family: 'Verdana'"><span style="font-size: 12px">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))</span></span></span></p><p> </p><p><strong><span style="font-family: 'Verdana'"><span style="color: #333333">Replace it w</span></span><span style="font-family: 'Verdana'"><span style="color: #333333">ith</span></span></strong></p><p><span style="font-family: 'Verdana'"><span style="color: #333333">Code:</span></span></p><p><span style="color: #333333"><span style="font-family: 'Verdana'"><span style="font-size: 12px">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'] . "')");</span></span></span></p><p><span style="color: #333333"><span style="font-size: 12px"><span style="font-family: 'Verdana'">$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0));</span></span></span></p><p> </p><p><span style="font-family: 'Verdana'"><span style="color: #333333">Then Run This Is your Database</span></span></p><p><span style="font-family: 'Verdana'"><span style="color: #333333">PHP:</span></span></p><p><span style="font-family: 'Verdana'"><span style="color: #333333">update users set last_online = UNIX_TIMESTAMP();</span></span></p><p> </p><p><span style="font-family: 'Verdana'"><span style="color: #333333">Then Right Click On Users Click Design Table</span></span></p><p> </p><p><span style="font-family: 'Verdana'"><span style="color: #333333">Then Set this: </span></span><span style="font-family: 'Verdana'"><span style="color: #333333"><img src="http://i.imgur.com/HRjQMiZ.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></span></p><p> </p><p> </p><p><span style="font-family: 'Verdana'"><span style="color: #333333">to this : </span></span><span style="font-family: 'Verdana'"><span style="color: #333333"><img src="http://i.imgur.com/luhNq8J.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></span></p><p>Proof ? <a href="http://devbest.com/threads/how-to-fix-phx-friend-request-bug.30186/#post-194754" target="_blank">http://devbest.com/threads/how-to-fix-phx-friend-request-bug.30186/#post-194754</a></p><p>sorry just dont like people finding stuff and taking own Credit</p></blockquote><p></p>
[QUOTE="Brad, post: 204662, member: 17995"] Could Of added Credits at Least As I Released a fix for This: [SIZE=4][B]Ubercms2 Friend Request D/C Fix[/B][/SIZE] MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE [FONT=Verdana][COLOR=#333333]if your not using Ubercms Just Skip To the database Part[/COLOR][/FONT] [B][FONT=Verdana][COLOR=#333333]Find this in Class.users.php[/COLOR][/FONT][/B] [FONT=Verdana][COLOR=#333333]PHP:[/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]Code:[/COLOR][/FONT] [COLOR=#333333][FONT=Verdana][SIZE=12px]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))[/SIZE][/FONT][/COLOR] [B][FONT=Verdana][COLOR=#333333]Replace it w[/COLOR][/FONT][FONT=Verdana][COLOR=#333333]ith[/COLOR][/FONT][/B] [FONT=Verdana][COLOR=#333333]Code:[/COLOR][/FONT] [COLOR=#333333][FONT=Verdana][SIZE=12px]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'] . "')");[/SIZE][/FONT][/COLOR] [COLOR=#333333][SIZE=12px][FONT=Verdana]$id = intval(mysql_result(dbquery("SELECT id FROM users WHERE username = '" . $username . "' ORDER BY id DESC LIMIT 1"), 0));[/FONT][/SIZE][/COLOR] [FONT=Verdana][COLOR=#333333]Then Run This Is your Database[/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]PHP:[/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]update users set last_online = UNIX_TIMESTAMP();[/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]Then Right Click On Users Click Design Table[/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]Then Set this: [/COLOR][/FONT][FONT=Verdana][COLOR=#333333][IMG]http://i.imgur.com/HRjQMiZ.png[/IMG][/COLOR][/FONT] [FONT=Verdana][COLOR=#333333]to this : [/COLOR][/FONT][FONT=Verdana][COLOR=#333333][IMG]http://i.imgur.com/luhNq8J.png[/IMG][/COLOR][/FONT] Proof ? [URL]http://devbest.com/threads/how-to-fix-phx-friend-request-bug.30186/#post-194754[/URL] sorry just dont like people finding stuff and taking own Credit [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
Common Problem Answers (Some) And Other Stuff
Top