Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Top posts in Wordpress sidebar via embed vanilla?

LanternLantern New
edited July 2011 in Vanilla 2.0 - 2.8
Here is what I would like to do:

Have a sidebar list in a wordpress blog of vanilla forum posts that I (the forum mod) deem as a top post.

How would I do this?

(1) I could use embed vanilla and create a special category called "top posts", but that means moving the post out of its proper category and into the "top posts" category. Is it possible to have a post in two categories at the same time?

(2) Is it possible to add a tag and search on it?

I've already modded the embed vanilla plugin and added an ability to do a search on text in a post . An example can be seen here: http://www.nerds4cain.com/Blog/archives/418 . The link at the bottom that says "Click here to comment on this story in the forum" is actually a wordpress shortcode [vf_get_link search="pidwwwnerds4caincom418"], so I could probably do the mod. But I'm not sure how to do the search via the API on a tag.

If so, is it possible to restrict the usage of a specific tag to only the moderator?

(3) Any other suggestions on how to get this list?
Tagged:

Answers

  • moensmoens New
    edited July 2011
    search on tag and owner...

    oops, scratch that, I was thinking this was a wp plugin... not vanilla api. Sorry, too many hours in wp.

    Maybe its time for a quick, "How to write an API" article?
Sign In or Register to comment.