vBulletin "latest threads" JS output - XF?

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:
 

James

Well-known member
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
We require that JSON is accessed with the security token in place, to prevent remote execution.
 

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.
 
Top