Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: DoubleN on August 26, 2013, 10:50:00 AM

Title: Link forum account with ulx / steam account
Post by: DoubleN on August 26, 2013, 10:50:00 AM
I want to make something so people can link there forum account with there steam account or account on my serevr so if I change there rank on the forums it changes on the server and when I change it on the server it changes on the forums.

I use MYBB.
Title: Re: Link forum account with ulx / steam account
Post by: MrPresident on August 26, 2013, 10:54:35 AM
Firstly, this is no possible without the use of an SQL module.

Before you even get your hopes up, let me ask you 2 questions:

1. Is your game server hosted on the same box as your web server?

2. Is your web server a shared host and do you have access to the MySQL database your forums are saved to?
Title: Re: Link forum account with ulx / steam account
Post by: DoubleN on August 27, 2013, 12:23:17 AM
I don't know what you mean by is it hosted by the same box but I host my server with Nitrous gaming and my website off of GoDaddy.

And yes, my website is shared host and have access to mysql.
Title: Re: Link forum account with ulx / steam account
Post by: MrPresident on August 27, 2013, 01:52:46 AM
I would check with GoDaddy, but you most likely can not make any kind of outside connection to your MySQL server. Meaning that your game server could not connect to it.

Also, you'd have to check with your gmod server host, because installing the MySQL module requires root access to the gmod directory and some hosts won't let you install .dll modules.
Title: Re: Link forum account with ulx / steam account
Post by: DoubleN on August 27, 2013, 02:31:48 AM
I  asked GoDaddy if I can make any kind of outside connection to my Mysql server and they said yes.
I do have access to the gmod directory and can install .dll modules.
Title: Re: Link forum account with ulx / steam account
Post by: MrPresident on August 27, 2013, 08:30:45 AM
Good deal. You might want to try out the MySQLOO module then. There are some examples floating around on how to use those for authentication on these forums. If you look around facepunch (or maybe even here too) you might find some code that integrates it with the MyBB software which is what you wanted in the first place.
Title: Re: Link forum account with ulx / steam account
Post by: DoubleN on August 27, 2013, 10:58:29 AM
Thank you for your support Mr. President!
I have found this on FacePunch and just wanted to make sure this is what is needed.
http://facepunch.com/showthread.php?t=1189744
Title: Re: Link forum account with ulx / steam account
Post by: MrPresident on August 27, 2013, 12:17:36 PM
I don't think so.

This looks more like a way to register from in game on the forums and to link your forum profile with your game account (steamID most likely).

You could easily modify this to include support for ULX groups if you knew some lua.