MT RebuildBlogs

UPDATE: I've released v1.01 due to bugs faced with the paths to the plugin being incorrect on pre-3.16 systems. Download and follow the installation instructions.

I often need to rebuild many blogs on my system because I make system wide changes (for example renaming the comment script) and the way MT currently works, I need to go around, blog-to-blog hitting rebuild.

The previous script did work but it was too much of a security risk, anyone could hit the script multiple times bringing the server crashing down. As a result, I whipped up a quick plugin so that I could quickly rebuild multiple blogs (since it is a proper plugin, it uses MT's authentication so only MT users can rebuild the blogs). Go ahead and download MT RebuildBlogs from the very new Trac installation!


tyler durden said:
on May 12, 2005 6:24 AM | Reply

I think a feature that you should add is that so only authors who originally have permissions to rebuild blogs can access this plugin. At the current state, it's letting authors without rebuilding permissions rebuild when this plugin is installed.

Simon Cox said:
on May 13, 2005 1:15 AM | Reply

Just installed MT RebuildBlogs as per instructions. Set the correct permission on the file and logged into MT. Its registered as a plug in - cool. Go to MT RebuildBlogs plug in page and click Rebuild all - get error page. Tried checking all blogs and hitting rebuild sselected and I get the same.

My 404 page though tells me what file was asked for: /cgi-bin/mt311/mt-rebuild-blogs.cgi - so its looking in the root folder for the script - but it's not in there is it...

Any ideas?

Arvind Satyanarayan said:
on May 13, 2005 8:23 AM | Reply

MT RebuildBlogs needs MT 3.16 installed as it fixed a major bug. I do not plan on support older releases as it involves hacking a lot of the paths etc. Consider upgrading, 3.16 is probably the most stable MT release ever, I haven't come across any bugs whatsoever beyond the known issues.

Arvind Satyanarayan said:
on May 13, 2005 2:17 PM | Reply

This has been fixed with version 1.01.

pepe said:
on May 29, 2005 9:32 AM | Reply

hi there, first of all many thanks for another great plugin!

i installed MTRebuildBlogs (on MT 3.16) and all seems to work fine. but when i rebuild several weblogs with the plugin, all my Blogroll links/entries disappear! ...when i rebuild the weblog in MT again the Blogroll entries will also be rebuilded and return again!

did i explain myselfe ?

rgrds, pepe.