This was an item cooked up by Lynda of digitalwoe.com but her original entry appears to be lost and this hack is so handy, I wanted to make sure it was readily available to anyone who wants it. You need to be using PHP to use this – just insert the code in your MT index template after inserting your IP iformation:
<?
$ip = $REMOTE_ADDR;
if ($ip == "IP #1" || $ip == "IP #2") {
print "<a href=\"<$MTCGIPath$>mt.cgi?__mode=view&_type=entry&id=<$MTEntryID$>&blog_id=<$MTBlogID$>\" target=\"edit\" title=\"For me, not you\">[edit]</a>";
}
?>
(replace "IP #1" and "IP #2" with your IP address(s) that you want to be able to edit posts from)
Guest authored by:
Donna – deliriouscool.org