Recent content by Dannymh

  1. Dannymh

    Standard Library by Xon

    I did update the files and that is the issue. Added all the files ran the update, and the hash for those min files is different. I re-uploaded them again to make sure
  2. Dannymh

    Standard Library by Xon

    The update has the incorrect file hashes associated with it. Replacing the files makes the file health check trigger a warning on js/sv/lib/relative_timestamp.min.js Unexpected contents js/sv/vendor/moment/moment.min.js Unexpected contents
  3. Dannymh

    [DohTheme] - Forum Design Services

    I wanted to add a testimonial to the work by dohtheme. We run a sports based forum and for years have been working with personally modified themes. After speaking with the team here we decided to go ahead with a custom created theme for the site. The prices were extremely reasonable. Within two...
  4. Dannymh

    XF 2.2 Reacting via API

    Thanks Mike, that was my conclusion today. Tried every which way I could including guests and direct entry. Might be worth folding this back from the API though as most I plemebtstions are going to be content between sites but users likely won't exist in both sites. I'll look at a custom...
  5. Dannymh

    XF 2.2 Reacting via API

    I am implementing a system that manages content across multiple sites using the API. SO members of Site A can make a post on Site A which gets copied to site B via an API user. The aim here is to not have individual keys for every user but instead have the content pushed via a single user with...
  6. Dannymh

    XF 2.2 Is it possible to access and change message after $replier->setMessage

    Actually figured it out. Was working but was using preg_match instead of preg_match_all
  7. Dannymh

    XF 2.2 Is it possible to access and change message after $replier->setMessage

    Hi. I am looking at modifying the API post replier, I need to access the message after it has been though $replier->setMessage as part of that I need to access the message before it is saved to extract a part of it. I can do that if I access it inside setupThreadReply() however I need to access...
  8. Dannymh

    XF 2.2 Does the API trigger specific endpoints or use standard xenforo process

    never mind I think typing this let my brain click its api/posts i need to hook into if I can
  9. Dannymh

    XF 2.2 Does the API trigger specific endpoints or use standard xenforo process

    Hi All, I have been trawling the code but my head doesn't seem to be working today. Just wondering whether when I trigger say api/posts does that trigger the standard adding a post routine on the target site, or does it use the API post routine? I want to hook into that routine if possible to...
  10. Dannymh

    XF 2.2 getting the post ID from API Post -> post

    Just closing the loop on this, I was for some reason not functioning as an adult and returned $response instead of $response->getBody()->getContents() Returning the full getContents pulls in the foreign post entity from the response body
  11. Dannymh

    XF 2.2 getting the post ID from API Post -> post

    Thank you. It was returning blank in my test site but looking at the code it should be returning the post data. I'll re-test it this weekend to see what might have been happening. I was only getting the 200 ok, but I am using promises in guzzle and that may be part of the response issue
  12. Dannymh

    XF 2.2 getting the post ID from API Post -> post

    I thought it was earlier when I used postman but coming null now. I'll retest it and see. Thanks
  13. Dannymh

    XF 2.2 getting the post ID from API Post -> post

    Unfortunately I'm using the posts endpoint and it's response is null which makes me think I'll have to find another way
  14. Dannymh

    XF 2.1 Trying to create a post from an external application via REST API is timing out

    Shouldn't you be form encoding the data object and not json encoding
  15. Dannymh

    Lack of interest REST API: Add ability send JSON bodies

    wish I had seen this when I needed, json would be a much better solution that form encode, but guzzle handles both well
Top