So I was writing some crude scripts that converted GPS waypoints into MoveableType blog entries, using the MT API. One of the steps is to ping geourl with the...
Hi Adam, ... Many thanks for responding. You're right, this is an approach that would make be a bit uncomfortable. There are so many ways it could go wrong...
... Hash: SHA1 Hi Matt, ... One of the things we're adding in the next version of MT is many more API hooks. What kind of a hook would make this possible for...
My message is bellow... ... a user has permission ... (speed-wise) way ... outlined in the ... (http://www.movabletype.org/docs/ ... do a triple join with ... ...
Hi! I've just jointed your group. I'm Charli and I live in Springfield, MO. I just finished an MT course in November with the Virtual Learning Center and...
Charli, this isn't a Medical Transcription group. It's a development group for a software product called Movable Type. ;-) _____ From: Charli Hightower...
I would just like to ask all the plugin developers out there to take a look at my proposal for how to integrate what I am envisioning for the PM Plugin ...
Hi, how would one go about intercepting the MT::Entry::save method so that a plugin process would be run only when a new or edited entry is saved to the db,...
This is how i did it: { # Trap ugly redefinition warnings local $SIG{__WARN__} = sub { }; # Replace MT::Entry::save with our # own subroutine entrySave() but...
Thanks Gavin... how is this triggered? Do you have it running as a plugin that is triggered by a template tag? Or some other approach? I'm having trouble...
... Whenever mt.cgi runs, one of the first things it does is execute the code in all the .pl files in the plugins directory. So you can put this code in a...
Anyone have any idea of the order of execution if multiple overrides are specified? Say I write Plugin A, and override the save routine, then Kevin writes ...
Ah, I get it. Thanks, exactly what I needed to make my brain click. Hopefully as each plugin that overrides save is called, it actually globally redefines the...
In our plugin code, if we redefine *MT::Entry::save to be our own internal subroutine, which then calls the previous existing version of MT::Entry::save, then...
... If all the plugins in question use code like the code Gavin posted, then that is how it would work. In other words, if the plugin that's loaded first...
Hi all, It's good to see such an in-depth discussion about the DB layer of the MT platform. You might be interested to know that MT 3.0 will contain a built-in...
Hi Ezra - Wondering how detailed this will be. For instance, is it only at the beginning and ending of a routine, or will there be hooks possible within the...
By the way, it appears there are cases where save is called multiple times in a post cycle. Specifically, when there is a list of urls to ping - in that case,...
Wouldn't that break on mod_perl installs? $count would ever be increasing, and never would be reset to 0 as the files are only loaded once (well not once, but...
(sorry about the fat-finger). It could be, I haven't done much mod_perl. What would be the best way to make $count persistent only within an http request...
Take a look at the MT::Request class. Search the source for uses of it-- I think it's precisely what you're needing. ... -- Brad Choate http://bradchoate.com/...
Hey all, thanks for the help on intercepting save. I have the rough beginnings of a revision history plugin. You know, the whole RCS thing, revision history...
... html diff would probably help with the one-line paragraph issue: http://www.aaronsw.com/2002/diff/ It's written in python, but that shouldn't stop you ;) ...
I just would like to point out you can get away without passing the blog id. $entry->blog_id Thats all I really noticed but I'm still just waking up. Gavin...
Sweet. I implemented usage of HTML::Diff, and used the <div> technique that was used in the python script - it seems to work really well so far! The...
You could always use the template system (see build_page), people can edit the output without messing with the code. yea. Although I guess each save you could...