Blog
Documentation
Book a Demo
toggle menu
Categories
Discussions
Activity
Best Of...
Sign In
Sign In
Categories
Discussions
Activity
Best Of...
Sign In
×
Home
›
Vanilla 2.0 - 2.8
Discussion
How to display last 10 posts out of vanilla?
Author
Date within
1 day
3 days
1 week
2 weeks
1 month
2 months
6 months
1 year
of
Examples: Monday, today, last week, Mar 26, 3/26/04
Search
How to display last 10 posts out of vanilla?
valajbeg
New
January 2011
edited January 2011
in
Vanilla 2.0 - 2.8
I want to display 10 last posts on my web page, is there any pattern how to do that? At least SQL query or something like that...
0
Comments
garymardell
✭
January 2011
You could use the RSS feed of your forum and just take the first 10 on it.
1
valajbeg
New
January 2011
Ou... that is nice tip...
0
Mark
Vanilla Staff
January 2011
You can also use the API:
http://vanillaforums.org/docs/api
0
krishnik
January 2011
edited January 2011
Hi Mark,
How can i use this API from an external page? I want to display latest 10 post in my sites home page?
I tried this
http://mysite.com/forum/discussions.json
But it returns a page not found error. I'm using vanilla 1.1.10
0
garymardell
✭
January 2011
@krishnik
The api is part of the new Vanilla 2. Vanilla 1 is no longer in development by the vanilla guys.
0
Sign In
or
Register
to comment.
Comments
How can i use this API from an external page? I want to display latest 10 post in my sites home page?
I tried this
http://mysite.com/forum/discussions.json
But it returns a page not found error. I'm using vanilla 1.1.10