Adds a SparkPost mail transport option to have all mails sent via your SparkPost account.
Note that v1.x of this addon is not compatible with XenForo v2.2 - immediately after upgrading to XF v2.2, you must install v2.x of this addon available here...
Hi :)
I'm facing an issue when trying to create a new Guzzle HTTP client with default headers.
<?php
// config.php
$config['container']['my-api-client'] = function (\XF\Container $c) {
return $c['http']->createClient([
'base_uri' => 'http://example.com',
'headers' => [...
Trying to wrap my head around this. Making a get request is pretty simple for just a thread.
Using this documentation: https://guzzle.readthedocs.io/en/latest/quickstart.html
Using this within Wordpress.
Working get request:
<?php
define("WP_USE_THEMES", false)...
Ok I have this so far, I'm not sure if I need more but before I test, I wanted to make sure I have what I need.
$requestLink = $region.'wow/realm/status?locale='. $locale .'&apikey=' . $options->xenwow_api_key;
try
{
$results =...
Note: I'm adding this suggestion here now that the XF2 developer preview discussion forum is about to be archived. Refer to this thread: https://xf2demo.xenforo.com/threads/guzzle-version.2524/ for the original discussion.
XF 2.0 implements Guzzle 5.3.1 which was released in July 2016 (Guzzle...
Due to PHP version constraints, XenForo 2.0 implements Guzzle 5.3 rather than the current Guzzle 6.x
This XenForo 2.0 addon replaces the built in libraries with Guzzle 6.x and provides a test suite to ensure functionality is preserved.
Important: the only reason you would want to install this...