I've got two setups running at the moment:
- Xenforo 1.3
However, these users are not on my xenforo installation, and I want to offer them a seamless account/website integration, meaning: keeping them on my MODx installation instead of on a wild-goose chase on a forums that is completely unrelated. I've already set up what I can on Xenforo.
Currently on my Xenforo installation, I have a 'style' which forcefully removes all styling/templating/theming from xenforo pages, which are the core of the inter-website system. The Xenforo pages then use xen syntax to return all of the information I need. (For example, a users' ID, if they're a part of a certain group or not).
Right now, in my mind, I am envisioning two-three possible types of integrating this into my MODx installation, with the "Efficient Integration" being my favorite choice - if it is possible (with my skills anyways).
Preferred Integration (Server Based)
This method is quite simple - it uses php's
I'm wondering if there is some sort of way to take the users' session/IP/cookie or w/e that Xenforo uses to authenticate and have my MODx server appear as them - allowing me to get all the information I could ever need!!!
Basic Integration (Client Based)
Intense Integration (Server ~ Database Based)
This method would simply be having my MODx server run the php classes which manage xenforo's account system, and having them query the same database for verification and whatnot. If you know about this, please do point out the files (directory to them, if possible) of what I'd need, as well as how to manage the session/cookie/etc. The main things here would be being able to retrieve the users' username, email, and user groups (to see if they've purchased a product or not).
Any help is greatly appreciated - I'm not currently able to afford two xenforo licenses, and even though these are hosted on the same machine, they are different domains and located in different directories, so... It would be amazing if you could give me a detailed "laymans" response, as I'm completely inexperienced with this specific area of php.