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

vBulletin "latest threads" JS output - XF?

Discussion in 'XenForo Pre-Sales Questions' started by James, Aug 9, 2010.

  1. James

    James Well-Known Member

    vBulletin had a file that outputted all of the latest threads created (I think it was external.php?type=js), does XF have one/plan to make one?

    I was enjoying my little piece of code on my site that said "Latest threads" :cool:
     
  2. Dismounted

    Dismounted Well-Known Member

  3. James

    James Well-Known Member

    I get an error when trying to access JSON:
    Assuming JSON hasn't been allowed yet, I would like a JS output though :)
     
  4. Brandon_R

    Brandon_R Guest

    I think the JSON feature only works when accessed via XMLHttpRequest (XHR)
     
  5. Kier

    Kier XenForo Developer Staff Member

    We require that JSON is accessed with the security token in place, to prevent remote execution.
     
  6. James

    James Well-Known Member

    Is there going to be a JS output or is that what the JSON is for? :p
     
  7. Mike

    Mike XenForo Developer Staff Member

    There are currently no plans for a plain JS output format. Depending on what's implemented/how it's implemented, it's possibly a security issue.
     
  8. James

    James Well-Known Member

    You probably remember the external.php output...
    http://vbfans.com/external.php?type=js
    (Sorry, first site I thought of :p
    )
    Something like this that outputs the latest threads so we can add them to our own custom page/site.
     

Share This Page