MySQL and Forums
#1

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..
Reply
#2

Me too want it dude.Someone help us plz
Reply
#3

... Why not post your own topic?
Reply
#4

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.
Reply
#5

So just check the XenForo documentation, and it will tell me if it has SA-MP support?
Reply
#6

Quote:
Originally Posted by [MM]18240[FMB]
Посмотреть сообщение
So just check the XenForo documentation, and it will tell me if it has SA-MP support?
No.

You will have to create a custom API to migrate/intergrate with the database.
Reply
#7

Does anyone know of an API to do this?
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)