Recent content by Forumly

  1. F

    XF 2.2 threads/ API endpoint has a "last_days" default?

    It appears on at least the threads/ API endpoint that there is some default last_days when you at least include prefix_id as an input. I'd assume that it doesn't need prefix_id input for this to happen but it's the only time ive run into data not returning since i have enough other threads to...
  2. F

    Multi Prefix [Paid]

    can report back that this works. thanks @Xon
  3. F

    Multi Prefix [Paid]

    do you have any suggestions on anything we can look at changing internally?
  4. F

    Multi Prefix [Paid]

    hey @Xon, we found a strange bug. we use your add-on and when we try and make a new thread via the API (using a POST to /threads/) to a forum that requires a prefix_id the multi-prefix add-on is taking out the prefix_id:Int that we send in the body and then we are getting the error: when we...
  5. F

    XF 2.2 is the mark-read API 2.3 only?

    nvm -- got this working in 2.2
  6. F

    XF 2.2 is the mark-read API 2.3 only?

    Is the API endpoint for marking a thread read a new endpoint for 2.3 only? I'm getting an error when i try it out in Postman: "message": "Requested endpoint cannot be found.",
  7. F

    XF 2.2 API and Poll results

    Taking a shot in the dark but was wondering if there's an endpoint for POSTing to a threads poll on a user's behalf so they can answer it something similar to the the POST threads/{id}/vote imagine i'll have to create that endpoint myself right now but just in case :)
  8. F

    XF 2.2 loading image urls and hitting the auth/login-token request API trigger verification emails

    the image download triggering a 2fa verification email was strange to me so i did some more digging. Appears that it's because a redirect is happening. whats strange is that the image can be loaded anyways -- the 2fa doesn't actually get in the way of that -- whether loading in the app or in an...
  9. F

    XF 2.2 loading image urls and hitting the auth/login-token request API trigger verification emails

    Im making a native mobile app and i am noticing that when i download an image from a URL that i get back from the Rest API and also when hitting the auth/login-token post request that it triggers for a verification token email to be sent out to users who have two factor notification on. Does...
  10. F

    XF 2.2 adding FirstPost to API results

    ahh, think it was becuase i was overriding it later got it now :)
  11. F

    XF 2.2 adding FirstPost to API results

    We're extending the API so that we can grab watched threads and we'd like to also include the first_post from each thread. You can see what I'm doing here: class DNWatchedThreads extends AbstractController { public function actionGet() { $page = $this->filterPage()...
  12. F

    XF 2.2 extending BasePushNotification

    hmmm couldn’t find \XF\Repository\Alert but did find a \XF\Repository\UserAlert, would that work?
  13. F

    XF 2.2 extending BasePushNotification

    Does anyone know where I can execute a PHP function after a user receives an alert/notification, as our attempts at extending BasePushNotification::sendNotifications() have been unsuccessful :( Any help would be greatly appreciated!
  14. F

    XF 2.2 How to login user programmatically in XF?

    check out the API. XF handles auth a lil untraditionally though. https://xenforo.com/community/pages/api-endpoints/#route_post_auth_
  15. F

    XF 2.2 API endpoint to fetch all prefix_id's

    the multi-prefix addon doesn't have an endpoint for this (or anything last I checked) so you need to make an additional addon to extend it with an additional endpoint. https://xenforo.com/docs/dev/lets-build-an-add-on/
Back
Top Bottom