Recent content by LandNetwork

  1. LandNetwork

    XF 2.0 CSRF Token

    Once again, thanks for the apt response. That's perfect.
  2. LandNetwork

    XF 2.0 CSRF Token

    That's perfect. Perhaps worth adding to the documentation? (Unless it is already, and I just missed it?) Further, is there any way to define a POST route? E.g. doesn't accept GET or any other methods. I've made a route that works with POST but seems to work with GET also?
  3. LandNetwork

    XF 2.0 Composer autoload method

    Not meaning to necropost, but this is a brilliant solution which I will use if you don't mind. Thank you very much.
  4. LandNetwork

    XF 2.0 CSRF Token

    Hi, I'm using XenForo 2.0 for my site and I'm building an add-on. I find the documentation very lacking for 2.0 and am disappointed by this. Also, coming from a Laravel background, Zend and XenForo frameworks are fairly new to me. All I am trying to do is retrieve a CSRF token in a view to...
  5. LandNetwork

    [WMTech] Double Post Merge

    The [DOUBLEPOST] syntax becomes visible.
  6. LandNetwork

    [WMTech] Double Post Merge

    Yeah, we're waiting for XF 2.0 version, too.
  7. LandNetwork

    Where are cookies set?

    Look, it's you @LiamW :)
  8. LandNetwork

    Where are cookies set?

    I'm looking to authenticate against XenForo from an application on an external domain but to do so I'd need to have a way to, where cookies are set, define a value in a shared Memcached server. To do this, I need to know where XenForo, in it's PHP code, actually creates said cookies.
  9. LandNetwork

    Change user's style via PHP

    Thank you for responding. We're now up and running!
  10. LandNetwork

    Change user's style via PHP

    That's cool for getting the user but how do I go about updating the value without causing badly cached data to pop up?
  11. LandNetwork

    Change user's style via PHP

    Still looking for an answer to this. Any help is appreciated :)
  12. LandNetwork

    Change user's style via PHP

    I'd like to change the style of all users that have got a custom preference field (nightmode) set to yes based on the time in the timezone that they are in. How would I go about doing this? I need to get every single user ID that has nightmode enabled. Would I use XenForo connector to get all...
  13. LandNetwork

    Get user by custom field

    It literally is ->getUserById(). Couldn't find it documented anywhere, though! Thanks, @Snog .
  14. LandNetwork

    Get user by custom field

    I need to get XenForo user by their user ID now in PHP. Anybody? I can only find by username.
  15. LandNetwork

    Get user by custom field

    I want to get user(s) by a custom field, as a XF User_Model object in PHP, where I can say: 'Hey, get the user that has their Minecraft UUID as someuuid in the custom field mcuuid'. Any ideas? Google is no help.
Top Bottom