1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

List recent XenForo threads w/excerpt in a WP widget?

Discussion in 'XenForo Pre-Sales Questions' started by jasondpx, Jan 16, 2012.

Thread Status:
Not open for further replies.
  1. jasondpx

    jasondpx New Member

    Is there an easy way to pull the latest (5) XenForo threads and list them along with a excerpt in a WordPress widget?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Two approaches I can think of:

    1) Write some PHP code (as a WP widget) to query the latest threads from the XF database.

    2) Use javascript to output the contents of XF's global feed. See this post:

    http://xenforo.com/community/threads/display-recent-activity-elsewhere.8621/#post-118918

    But the global feed only contains thread titles, no excerpts. Here is an addon for a global feed (from before XF had its own global feed) which includes excerpts:

    http://xenforo.com/community/threads/global-rss-xml-feed.7856/
     
  3. jasondpx

    jasondpx New Member

    Thanks!
     
  4. EasyTarget

    EasyTarget Well-Known Member

  5. jasondpx

    jasondpx New Member

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Only customers can download resources; they are useless without an installation anyway.
     
  7. jasondpx

    jasondpx New Member

    Makes sense. But I'm a dev and a this is for a client. So, I guess the only way to get it would be to have the client download it and send it to me?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Has the client given you a copy of their software?
     
  9. jasondpx

    jasondpx New Member

    No, I'm responsible for the WordPress part of their site. Hence my need for the WordPress widget. :)
     
  10. jasondpx

    jasondpx New Member

    So, I had the client download it and send it my way. Unfortunately it doesn't work. Here's my issue and maybe someone can give me a hand.

    It seems the forum RSS feed only pulls the pubdate and not the date/time the thread was last updated, is that correct?

    If so, how can I pull that info so I can use it?

    For example, here is my clients forum RSS feed: http://www.diablo3builds.com/forum/forums/-/index.rss

    Notice all the dates are either Mon, 05 Mar 2012 19:24:01 +0000 or Mon, 05 Mar 2012 18:18:11 +0000 ...which is incorrect. Why is that?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    This is not the correct forum for support.

    You will need to speak to your client to add you to their account so you can access the customer forums.

    I have closed this thread, feel free to post on the add-on thread once you have access.
     
Thread Status:
Not open for further replies.

Share This Page