Recent content by StrangeWill

  1. S

    Dynamic thread url & descriptions for embedding

    @Xon I noticed in https://xenforo.com/community/threads/post-preview-shows-thread-body-on-embed-instead-of-post-body.236700/#post-1777760 that it doesn't support unfurling for the URLs provided by the webhook or the share button, only when the ?post= parameter is used, is this an oversight or...
  2. S

    XF 2.3 Post Preview Shows Thread Body On Embed Instead of Post Body

    Yeah, no good, linking to the post (https://forums.devanooga.com/threads/test.104/post-286) still gives the description of the thread, it only works if I do: https://forums.devanooga.com/threads/test.104/?post=286 Instead, but this is not the link given by the webhook. The source code doesn't...
  3. S

    XF 2.3 Post Preview Shows Thread Body On Embed Instead of Post Body

    It seems the odata provided when we link directly to a post via /posts/[post id]/, we get OData for the thread, not for the post, causing embeds to be significantly less useful. Is there a better link to use (I'm using the link off of the webhook), or is this just a side effect of how these...
  4. S

    Fixed InvalidArgumentException: Invalid string IP: e\v in src/XF/Util/Ip.php at line 17

    This appears to be caused when you modify your Xenforo install to support HTTP_X_FORWARDED_FOR headers like so: if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']); } Doing something like this helps: $_SERVER['REMOTE_ADDR'] =...
Back
Top Bottom