Injader
Forum > Help Forum > Plugins

< Understanding the syntax : More Questions >

ginkgo100
Permalink

Created: June 10, 2009 18:54

Plugins

Is there a library of plugins available?  I would like to set up sections, probably in the sidebar, for recent articles, popular articles, and recent forum threads. I suppose I could incorporate the site RSS feed for the recent articles, but I'm not sure about the rest. I see that Top 10 Blog Tips has recent and popular articles—have you shared the "plugins" for those?  I looked at the Help Wiki's info on plugin development, but this is brand new territory for me still. (BTW—thanks for the info on Heredoc syntax; it's a lot simpler than I thought it was!)

In the page.php code, in the comments section, there is a remark that it's possible to rate an article without commenting on it.  I don't see any place to rate an article or an option in the CP to turn this on.

How do you determine which posts are in the Top 10 Blog Tips "Popular Posts" list? Most pageviews?

Unrelated question:

An area feed contains ONLY articles in that area, but not articles in child subareas—correct?

One more question:

Do you ever sleep, Ben? You always seem to answer forum questions right away, no matter what time of day it is in your part of the world. =)

Tags: None.

Ben's avatar

Ben
Permalink


1

Created: June 10, 2009 20:03

Actually, Top Ten doesn't have any plugins. Because of the thumbnails, the lists of recent and popular content are created via some custom theme code. I do have a few plugins on some of my sites, but I would need to reinstate the Import Plugin option to pass the code around.

Here's how to create a New Content plugin (new guide, just added). There's also how to create a Most Commented plugin. Comments is what I use to determine the most popular posts.

Ratings were removed a while back, I'll need to remove that from the theme.

Re: area feeds - you are correct.

And yes, I do sleep! :)
ginkgo100's avatar

ginkgo100
Permalink


2

Created: June 11, 2009 03:34

Thanks for the new guides! Using the old and new info in the Help Wiki (and an SQL tutorial, thanks WP3 Schools) I was able to successfully create plugins for Most Viewed Articles (using the 'hits' column), Most Commented Articles, Recent Articles for content areas, and Recent Posts in just the forums. I found the column names in /sys/includes/db/ .

I also created a plugin for Most Used Tags, which shows the 20 most-often used tags in descending order. This is a small sidebar-friendly plugin to complement the Tag Map, which takes the user off the current page. I'll post it in Theme Sharing.

You do not have access to post comments in this area.