Skip to content

Instantly share code, notes, and snippets.

@radie1230
radie1230 / xf_auth.php
Last active April 3, 2016 07:29 — forked from sharkiller/xf_auth.php
Fork of Sharkiller's script to authenticate user logins between a Bukkit Minecraft server and a Xenforo forum's user database. In this fork, it no longer decrypts the password from user data in the MySQL database. As the structure of the Xenforo database changed with the latest update, this method uses Xenforo's framework so that in case of futu…
<?php
/*
Script for XenForo 1.X
Tested with: 1.2.4
Created by: #SG# Sharkiller
Forked by: radie1230
Verison: 0.2.1
*/
###############
<?php
/*
Script for XenForo 1.X
Tested with: 1.0.X, 1.1.X
Created by: #SG# Sharkiller
Verion: 0.2
*/
###############
## Variables ##