Problem with RSS feed from external.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. Jinx
    New Member
    • Jan 2017
    • 7
    • 3.8.x

    Problem with RSS feed from external.php

    I would like to setup a RSS feed that only displays newly created threads.
    As far as I know this can be accomplished by using something like external.php?type=rss2
    However, this will give a list of all threads that have new posts. So if someone replies to an old thread, this thread is also listed in the RSS feed.

    Reading the manual at http://www.vbulletin.com/docs/html/m...r_implementing I would expect the RSS feed only shows newly created threads.
    "Threads will be returned in descending order based on the date of their creation"

    Am I doing something wrong here, or could this be a small bug?
    I'm using 3.8.10

    Example:
    https://ziggo-gebruikers.nl/forum/ex...lastpost=false
    Last edited by Mr. Jinx; Sun 12 Mar '17, 3:41am.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    I believe it shows recently updated, it always have every time I've seen it used.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Mr. Jinx
      New Member
      • Jan 2017
      • 7
      • 3.8.x

      #3
      So the 'lastpost' option is not working?
      From the manual: "If &lastpost=1 is added to the feed URL, threads will be returned in descending order based on the date of the last post of the thread. Description information will be returned from the last post of the thread."
      What ever I try, it always returns the same. Don't see any difference when adding "&lastpost=1" or "&lastpost=0"

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Not heard of it being reported as a bug before, but to be honest if it doesn't work then it doesn't work, no bugs will be fixed in vBulletin 3 now.

        I will see if I can replicate it later.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • pet0etie
          New Member
          • Mar 2010
          • 18
          • 3.8.x

          #5
          can't u solve it using the hook 'external_query' by filling up the $hook_query_fields and the $hook_query_where ?

          $hook_query_field = "thread.dateline";
          $hook_query_where = "and thread.dateline > " . (TIMENOW - $cachetime);

          didn't try it myself but maybe it could give u a first step in solving your problem ..

          ps : mind the table_prefix in the hook if u use it !
          Last edited by pet0etie; Mon 13 Mar '17, 11:29am.

          Comment

          • Mr. Jinx
            New Member
            • Jan 2017
            • 7
            • 3.8.x

            #6
            Thanks for providing this information, but this is a bit too complicated for me right now
            Anyway, I found a workaround by disabling the caching in external.php.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...