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

XF 1.1 Recent Activity with a CMS

Discussion in 'XenForo Questions and Support' started by Skull, May 28, 2012.

  1. Skull

    Skull Member

    Hi There,

    My site uses Joomla as its CMS, and our forums are on XenForo (after moving from vB4 - it's so much faster!).
    Joomla is able to read an RSS feed for a module on its front page. I've currently got this pointed at the forums/-/index.rss url, however is there a way to show the Recent Activity feed on the CMS - either via RSS or another way?

    Thanks in advance guys :)
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. Skull

    Skull Member

    Yes, along those lines, however if it's possible I'd like to get everything from the activity, rather than just latest posts (ie xxx liked a post yyy, xxx replied to thread yyy, xxx started new thread yyy) as it presents stuff nicer in my opinion.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There isn't a feed for that. Custom PHP is required to get those records from the database and then display them on your Joomla page. You need a programmer for this.
  5. Skull

    Skull Member

    Ok, if there's not anything existing out there I'll have a dig down and find out how it works and see if I can put something together.
    Thanks for the help :)
  6. Rob

    Rob Well-Known Member

    I would start by inspecting the 'recent activity' query...
    Start by looking in xenforo/ControllerPublic/RecentActivity.php and then trace the code back.
    It should be fairly easy to rip out the nessesary stuff and format it into a block.
  7. Skull

    Skull Member

    Ahh brilliant, cheers :)

Share This Page