XFCoder :: Latest XF Threads Widget for WordPress

Add-ons XFCoder :: Latest XF Threads Widget for WordPress 1.0.4

Register & Get access to index
Compatible XF Versions
2.2
Visible Branding
No
The plugin allows you to create "Latest XenForo Threads" widgets on your WordPress installation.
  • Utilizes the XenForo API, which means you can also fetch the latest threads of a remote website that isn't on your own server if you want to.
  • Uses AJAX for loading the widget content, so as not to interfere with your page load performance.
  • Widget options allow you to control exactly what information is being displayed.
  • You can choose between displaying the 'latest created' or 'latest updated' threads.
  • CSS classes are attached to each display element so you can further style the widget.

Widget example:

widget.png


Widget options:

options.png


Plugin settings:

settings.png


Notes:
If you choose to display the 'latest updated' rather than the 'latest created' threads, the user associated with the thread will be the user who made the last post (rather than the thread creator). Similarly, the link to the thread will direct to its latest post in that case.

Is Cloudflare blocking your XenForo API calls?
If your XenForo server is proxied by Cloudflare, your API calls may end up reaching Cloudflare's browser challenge screen, or just being blocked altogether. This is a general problem that isn't unique to this widget.

If you are unable to whitelist the API within your Cloudflare configuration, one fix for this is to edit your server's hosts file and exclude Cloudflare from interfering with requests originating from your own server IP.

Normally you would need to edit /etc/hosts and add the entry: your.ip.addr your.domain (replace these with the proper values).
  • Like
Reactions: Aram and Anis07
Author
XenForo
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. 1.0.4

    Various code improvements
Back
Top Bottom