Posts: 355
Threads: 33
Joined: Jul 2011
Reputation:
0
I have forums, and IMO they are pretty cool, but how can I make it so when someone types /forums [PASSWORD] it adds a user to the MySQL database with Player's name, and given password. I use XenForo software, and I have a MySQL Database, how do I make this, though. It is hard to explain..
Posts: 670
Threads: 49
Joined: Dec 2011
Reputation:
0
Me too want it dude.Someone help us plz
Posts: 355
Threads: 33
Joined: Jul 2011
Reputation:
0
... Why not post your own topic?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Why you would want to install a paid forum software on a free host is beyond me. Probably nulled. Check the documentation to see if there's an API available. I don't know how XF works internally, but it might be possible that you have to insert data into different tables.
Posts: 355
Threads: 33
Joined: Jul 2011
Reputation:
0
So just check the XenForo documentation, and it will tell me if it has SA-MP support?
Posts: 355
Threads: 33
Joined: Jul 2011
Reputation:
0
Does anyone know of an API to do this?
Posts: 159
Threads: 14
Joined: Jul 2010
Reputation:
0
As far as I know, there isn't one. You'll have to make it.
It's not very difficult, link your server to the XenForo database and put in a query to create an account (make sure you check if their username is already registered) when they use that command.
I run an XenForo as well, I'll take a look and see if I can get it working.