ULX

Author Topic: Link forum account with ulx / steam account  (Read 3795 times)

0 Members and 2 Guests are viewing this topic.

Offline DoubleN

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Link forum account with ulx / steam account
« 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.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Link forum account with ulx / steam account
« Reply #1 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?

Offline DoubleN

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Link forum account with ulx / steam account
« Reply #2 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.
« Last Edit: August 27, 2013, 12:27:23 AM by DoubleN »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Link forum account with ulx / steam account
« Reply #3 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.

Offline DoubleN

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Link forum account with ulx / steam account
« Reply #4 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.
« Last Edit: August 27, 2013, 02:46:54 AM by DoubleN »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Link forum account with ulx / steam account
« Reply #5 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.

Offline DoubleN

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Link forum account with ulx / steam account
« Reply #6 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

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Link forum account with ulx / steam account
« Reply #7 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.