• 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?

James

Well-known member
#1
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:
 

James

Well-known member
#3
I get an error when trying to access JSON:
{"error":["Security error occurred. Please press back, refresh the page, and try again."],"templateHtml":"\n\n<div class=\"errorOverlay\">\n\t<a class=\"close OverlayCloser\"><\/a>\n\t\n\t\t<h2 class=\"heading\">The following error occurred:<\/h2>\n\t\t\n\t\t<div class=\"baseHtml\">\n\t\t\n\t\t\t<label for=\"ctrl_0\" class=\"OverlayCloser\">Security error occurred. Please press back, refresh the page, and try again.<\/label>\n\t\t\n\t\t<\/div>\n\t\n<\/div>"}
Assuming JSON hasn't been allowed yet, I would like a JS output though :)
 

Kier

XenForo Developer
Staff member
#5
We require that JSON is accessed with the security token in place, to prevent remote execution.
 

Mike

XenForo developer
Staff member
#7
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.