Starting with an idea I got while reading a thread on the MT Support Forums, I started working on a new plugin: MTBlogPings .
It doesn't do much just yet, but I imagine I'll be adding more features to it in the future.
Download one of the following files, unpack it, and place pings.pl in your plugins/ directory.
It provides the following tags:
- MTBlogPingCount
- Returns the number of pings the blog has received in total
Future Plans:
- Adding an MTPing tag, in the same form as MTEntry
- Feel free to suggest any more ideas...
Update: (2003-05-13 17:15)
- Added a new container tag, MTBlogPings, which acts like MTPings, except that you can give it lastn, offset, and tb_id (the number in your trackback urls) arguments. If given a tb_id, MTBlogPings will only return pings to that specific id.
- MTBlogPings will also import either the Category or Entry that was pinged, so you can use all of the MTEntry* and MTCategory* tags.
- Within MTBlogPings, you can use the two new conditional tags ( MTBlogPingsIfEntry and MTBlogPingsIfCategory ) to determine whether the trackback was sent to a Category or an Entry, so you can determine the appropriate tags to use.
Update: (2003-06-05 16:58)
- MTBlogPings can now take one additional argument, category.
- MTBlogPings is now aware of Category contexts (e.g. with the MTCategories tag) and will return Trackbacks for that Category.
Update: (2003-06-09 15:26)
- MTBlogPingCount can now take a category argument as well. It will return the number of pings to that Category.
template_tags=MTBlogPingCount,MTBlogPings,MTBlogPingsIfEntry,MTBlogPingsIfCategory
neat plug in.
i was hoping to be able to have the voting thingy you have at the right work like a regular poll with regular questions, since i dont have access to any db's besides the main one. any chance?
happy birthday babeee!!!!!
thank you for your reply in MT Support Forum.
i have another question.
it seems that the "sort_order" within MTBlogPings doesn't work on my site.
did you find the same problem in your environment?
The container needs an MTBlogPingsExcerpt or at least to understand MTPingExcerpt tag.
Thanks.
Oh, I like the little sidebar that lists the tags provided! Very nice idea :)
lastn="5" displays the first 5, not the last 5
is there a way to adjust that?
thanks :)
actually, it lists them in alpha order.
I guess you've forgot to include "sort_order" attribute, which is very crucial.
I guess you've forgot to include "sort_order" attribute, which is very crucial.
very cool plug in!
I look you like the god :)
This is profitable for me. thank you :)
Any chance you'll get this working with MT3.2 (it currently includes junk trackbacks in the count).. or maybe 6A will add a [MTBlogTrackBackCount] tag in the next release...