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

RSS Feed for Categories and Child Forums 1.0.0

RSS Feed for Categories and Forum Feeds Include threads from sub forums

  1. shabbirbhimani

    shabbirbhimani Active Member

    shabbirbhimani submitted a new resource:

    RSS Feed for Categories and Child Forums - RSS Feed for Categories and Forum Feeds Include threads from sub forums

    Read more about this resource...
  2. Pierce

    Pierce Active Member

    I am getting an error on line 67 about first parameter being "null" instead of array on certain forums.
  3. Pierce

    Pierce Active Member

    actually dont mind me, xfa cover is causing the conflict.

    shabbirbhimani likes this.
  4. shabbirbhimani

    shabbirbhimani Active Member

    Hope its all sorted?
  5. Pierce

    Pierce Active Member

    Nah they can't recreate it.

    I'm still evaluating my needs for this.

    I can get around it in other ways.

    You would think the default xenforo would list all posts of sub forums as they are all connected to the parent.
  6. shabbirbhimani

    shabbirbhimani Active Member

    No they don't
    Pierce likes this.
  7. /GriFFin

    /GriFFin Member

    Any way to sort the feed, like how you can with the normal rss feeds for forums, i want in list of thread start times, not with the most recent post in an old thread at the top.

    EDIT: Figured it out after doing a ton of searching on here.

    I changed a section in the Forum.php in your library addon

     $threads = $threadModel->getThreads(
                    'forum_id' => $forumIds,
                    'limit' => $threadsPerPage * 3, // to filter
                    'order' => 'last_post_date',
                    'join' =>
                            XenForo_Model_Thread::FETCH_FORUM | XenForo_Model_Thread::FETCH_FORUM_OPTIONS |
                            XenForo_Model_Thread::FETCH_USER | XenForo_Model_Thread::FETCH_FIRSTPOST,
                    'permissionCombinationId' => $visitor['permission_combination_id']
    I removed the LAST_ part on line 56, and that makes the RSS feed sort by started thread time.

    Might be nice to add as option in your next option, so far its a great add-on, love it! :)
    Last edited: Oct 20, 2016 at 2:02 PM

Share This Page