Recent content by Contex

  1. Contex

    XenAPI - XenForo PHP REST API

    Not yet, but if you add a feature request for it on GitHub I will try to get it added to the next version :-) I sadly don't have time for a write up an example guide, but you can look at the examples: PHP Wrapper and implementation of the wrapper here (with some of the functions/actions...
  2. Contex

    XenAPI - XenForo PHP REST API

    You would still have to register a XenForo user, but you can do so with the API (via the register action). I suggest checking out the PHP wrapper I made on GitHub to use as an example. Regarding login; the master branch method contains a dirty hack method, and does not work in all cases. dev-1.4...
  3. Contex

    XenAPI - XenForo PHP REST API

    Contex updated XenAPI - XenForo PHP REST API with a new update entry: Important update! SQL injection exploit and misc fixes Read the rest of this update entry...
  4. Contex

    Unmaintained XenAPI - XenForo PHP REST API - Important update! SQL injection exploit and misc fixes

    Important update! 1.4.1 and lower versions have a SQL injection exploit with the getGroups and getUsers actions. See below for more information. Do note that some of the actions are still not documented. You can now: Get users by IP address. Get users by array. Get user upgrades when...
  5. Contex

    XenAPI - XenForo PHP REST API

    That should already be possible? /** * Returns the User class of the $input parameter. * * The $input parameter can be an user ID, username or e-mail. * Returns FALSE if $input is NULL. */ public function getUser($input, $fetchOptions = array()) { if (!empty($fetchOptions['custom_field']))...
  6. Contex

    XenAPI - XenForo PHP REST API

    You should always encode the parameters before sending a http request. See urlencode() if you're using PHP.
  7. Contex

    XenAPI - XenForo PHP REST API

    Of course, but I have always prefered not to allow remote resources (like storing an image). If something breaks and someone uploads a PHP shell, that'd be my fault. Either way, I'll take a look when I have some time, could you open an issue on GitHub for it?
  8. Contex

    XenAPI - XenForo PHP REST API

    Sadly, that's one of the few things which is not implemented as I reckon that would involve storing the avatar.
  9. Contex

    XenAPI - XenForo PHP REST API

    Glad to hear :-)!
  10. Contex

    XenAPI - XenForo PHP REST API

    Sorry about the late reply, but I reckon I have fixed the email issue: https://github.com/Contex/XenAPI/commit/1ec9e71ffcb4ca90478205eef5b3dd949dab7d01 Could you give it a try? https://raw.githubusercontent.com/Contex/XenAPI/fixes-1.4/net/xenapi/XenAPI/api.php
  11. Contex

    XenAPI - XenForo PHP REST API

    I'll do some testing when I get home tonight, I can't recall if I implemented that or not, I'll get back to you later tonight.
  12. Contex

    XenAPI - XenForo PHP REST API

    Not unless you edit the code, XenAPI does not modify the XenForo database in any way, you'd have to add that yourself.
  13. Contex

    XenAPI - XenForo PHP REST API

    https://github.com/Contex/XenAPI/issues/51 "end_date" in the upgrade JSON object.
  14. Contex

    XenAPI - XenForo PHP REST API

    I'll see if I can get the time to do it, but it shouldn't be hard for someone else to add it if they have a bit of knowledge of XF and PHP. I'll do my best to look at it today though.
  15. Contex

    XenAPI - XenForo PHP REST API

    Here: https://github.com/Contex/XenAPI/issues
Top Bottom