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
Help with ubercms/phx?
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="Cronus" data-source="post: 223268" data-attributes="member: 35689"><p>Hey so I followed this:</p><p> </p><p> </p><p><span style="font-family: 'Trebuchet MS'">[spoiler][/spoiler]</span>[spoiler]<strong><span style="font-size: 15px">Ubercms2 Friend Request D/C Fix-</span></strong></p><p>MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE ~<span style="font-size: 15px"><em><strong>CREDITS TO Br4d</strong></em></span></p><p></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">if your not using Ubercms Just Skip To the database Part</span></span></span></p><p></p><p><strong><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Find this in Class.users.php</span></span></span></strong></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">PHP:</span></span></span></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Code:</span></span></span></p><p><span style="color: #333333"><span style="font-size: 13px"><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></span></p><p></p><p><strong><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Replace it w</span></span></span><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">ith</span></span></span></strong></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Code:</span></span></span></p><p><span style="color: #333333"><span style="font-size: 13px"><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></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-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Then Run This Is your Database</span></span></span></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">PHP:</span></span></span></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">update users set last_online = UNIX_TIMESTAMP();</span></span></span></p><p></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Then Right Click On Users Click Design Table</span></span></span></p><p></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">Then Set this: </span></span></span><span style="font-size: 13px"><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></span></p><p></p><p></p><p><span style="font-size: 13px"><span style="font-family: 'Verdana'"><span style="color: #333333">to this : </span></span></span><span style="font-size: 13px"><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></span>[/spoiler]</p><p> </p><p> </p><p> </p><p><span style="font-family: 'Trebuchet MS'">But I get this:</span></p><p> </p><p><span style="font-family: 'Trebuchet MS'">[spoiler][/spoiler]</span>[spoiler]<span style="font-size: 15px"><span style="font-family: 'verdana'"><span style="color: #000000">UberCMS has encountered an error</span></span></span> </p><p><span style="font-size: 15px"><span style="font-family: 'verdana'"><span style="color: #000000">Incorrect time value: '' for column 'last_online' at row 1</span></span></span>[/spoiler]</p></blockquote><p></p>
[QUOTE="Cronus, post: 223268, member: 35689"] Hey so I followed this: [FONT=Trebuchet MS][spoiler][/spoiler][/FONT][spoiler][B][SIZE=4]Ubercms2 Friend Request D/C Fix-[/SIZE][/B] MAKE SURE YOUR USERS TABLE IN DATABASE IS EMPTY! OR IT WILL NOT SAVE ~[SIZE=4][I][B]CREDITS TO Br4d[/B][/I][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]if your not using Ubercms Just Skip To the database Part[/COLOR][/FONT][/SIZE] [B][SIZE=13px][FONT=Verdana][COLOR=#333333]Find this in Class.users.php[/COLOR][/FONT][/SIZE][/B] [SIZE=13px][FONT=Verdana][COLOR=#333333]PHP:[/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]Code:[/COLOR][/FONT][/SIZE] [COLOR=#333333][SIZE=13px][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][/SIZE][/COLOR] [B][SIZE=13px][FONT=Verdana][COLOR=#333333]Replace it w[/COLOR][/FONT][/SIZE][SIZE=13px][FONT=Verdana][COLOR=#333333]ith[/COLOR][/FONT][/SIZE][/B] [SIZE=13px][FONT=Verdana][COLOR=#333333]Code:[/COLOR][/FONT][/SIZE] [COLOR=#333333][SIZE=13px][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][/SIZE][/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] [SIZE=13px][FONT=Verdana][COLOR=#333333]Then Run This Is your Database[/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]PHP:[/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]update users set last_online = UNIX_TIMESTAMP();[/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]Then Right Click On Users Click Design Table[/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]Then Set this: [/COLOR][/FONT][/SIZE][SIZE=13px][FONT=Verdana][COLOR=#333333][IMG]http://i.imgur.com/HRjQMiZ.png[/IMG][/COLOR][/FONT][/SIZE] [SIZE=13px][FONT=Verdana][COLOR=#333333]to this : [/COLOR][/FONT][/SIZE][SIZE=13px][FONT=Verdana][COLOR=#333333][IMG]http://i.imgur.com/luhNq8J.png[/IMG][/COLOR][/FONT][/SIZE][FONT=Trebuchet MS][/FONT][/spoiler][FONT=Trebuchet MS][/FONT] [FONT=Trebuchet MS]But I get this:[/FONT] [FONT=Trebuchet MS][spoiler][/spoiler][/FONT][spoiler][SIZE=4][FONT=verdana][COLOR=#000000]UberCMS has encountered an error[/COLOR][/FONT][/SIZE][SIZE=4][FONT=verdana][COLOR=#000000] [/COLOR][/FONT][/SIZE] [SIZE=4][FONT=verdana][COLOR=#000000]Incorrect time value: '' for column 'last_online' at row 1[/COLOR][/FONT][/SIZE][FONT=Trebuchet MS][/FONT][/spoiler][FONT=Trebuchet MS][/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with ubercms/phx?
Top