• Currently 4.7/5
  • 1
  • 2
  • 3
  • 4
  • 5
Ghostwriter

A Movable Type Plugin to Edit Entry/Page Author

Users with Editor role (or greater) may edit the author on Edit Entry screen and Edit Page screen.

This plugin is perfect for those who commonly create entries for which their boss to take credit!

Works with MT4.x and MT5.x

Requirements

5 Comments

To allow this to work correctly with 4.2, the fix I'm using looks like:

diff Ghostwriter.pl ~/rpm/SOURCES/www/cgi-bin/mt/plugins/Ghostwriter/. 81c81

<

83,84d82 < my $authorperms = $author->permissions($app->param('blogid')); < if($authorperms->canedit_assets){ 92d89 < }

Let me try this again since I can't edit my last comment:

 diff Ghostwriter.pl ~/rpm/SOURCES/www/cgi-bin/mt/plugins/Ghostwriter/.
 81c81
 <     
 ---
 > 
 83,84d82
 <         my $author_perms = $author->permissions($app->param('blog_id'));
 <  if($author_perms->can_edit_assets){
 92d89
 <  }

In MT 5, Ghostwriter 1.1 causes the author dropdown to appear at the very top of the HTML document. Would it be a quick fix to get this plugin updated for MT 5?

I contacted the plugin developer and he provided this quick fix and says he'll update it in the next few days:

Change line 138 of Ghostwriter.pl from

my $status = $template->getElementById('status');

to

my $status = $template->getElementById('basename');

Making that change placed the SELECT in the right place and it works now. It's pushed off to the right, which I believe is because the generated HTML is:

<div id="entryauthorname-field" class="field field-left-label ">

but should be

<div id="entryauthorname-field" class="field field-top-label ">

The SELECT element is too wide, also, but these are much smaller problems than the functionality obviously.

Here's a link to a screenshot of what it looks like: http://badgerherald.com/media/2010/01/ghostwriter-off.gif