SA-MP Forums Archive
UCP Registration [Help] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: UCP Registration [Help] (/showthread.php?tid=574035)



UCP Registration [Help] - ThePeaceMakeR - 12.05.2015

Hello I am making an rp server and I want it to have the feature where you must register on the forums to be able to go ingame. I would really appreciated if someone did it for me or just showed me how to do it. Please add me on skype @ exclusivefx_ if you are looking to help me. Also I am interested in giving high admin rank in my server for anyone that helps.


Re: UCP Registration [Help] - J0sh... - 12.05.2015

https://sampforum.blast.hk/showthread.php?tid=447813&page=822


Re: UCP Registration [Help] - zT KiNgKoNg - 12.05.2015

Honestly, it depends on your preference; If you're using Pure PHP (wouldn't recommend it) or a backend framework like 'Laravel' (pretty handy, just need php experience and a little know-how from their docs)..


Re: UCP Registration [Help] - Abagail - 12.05.2015

It depends on the forum software. If using MySQL as your gamemode's account loading / saving system you can simply perform an insert query on register.php, activation.php or wherever their account is created.

Example:
<?php
.. code
mysql_query("INSERT INTO ...");
?>


Re: UCP Registration [Help] - ThePeaceMakeR - 13.05.2015

Oh ight well I never used MySql or knew how to use it. Well I havent even tried. I might try MySql since I heard that is the best way to save stats.


Re: UCP Registration [Help] - X337 - 14.05.2015

Quote:
Originally Posted by ThePeaceMakeR
Посмотреть сообщение
Oh ight well I never used MySql or knew how to use it. Well I havent even tried. I might try MySql since I heard that is the best way to save stats.
You can see MySQLi or PDO tutorial.
Since MySQL syntax on PHP are deprecated.