ConfigUI 1.0
This is a quick plugin I wrote during the beta tests because I frequently changed the values of my config file to test bugs and hated scrolling page comments or having to manually enter in directives. ConfigUI is a plugin that quite simply adds a graphic user interface to the config file. It has been built for MT 3.2 and uses almost every new API available. It works by re-writing your config file so you need to make sure:
- mt-config.cgi (or mt.cfg) is writeable by the web server
- your check your settings before saving
Have a look at the screenshot to see what it looks like. It basically lists all non-critical directives (this means it doesn't list the CGIPath or Database values for security purposes) and to edit a directive, you must unlock it first and then edit. It doesn't describe what the directives are, I felt that would clutter the UI, instead it offer's a help link that point directly to Six Apart's docs (some of those links are broken as the necessary docs haven't been created yet). This plugin is also very secure. It checks the author's permissions and the author is only presented the screen if they are a system administrator.
Installation is quite simple, grab your copy and the folders in the distribution correspond to folders in your MT installation, so eventually you will get a folder called ConfigUI in your plugins folder.
Many thanks to Brad Choate for his assistance.

Jenna Pfister said:
on Aug 30, 2005 1:58 AM | Reply
Awesome! Thanks, Arvind.
Viking KARWUR said:
on Aug 30, 2005 9:14 AM | Reply
:) Thanks Arvind! Good Job! Wish you all the best! Greetings from Indonesia.
David said:
on Sep 3, 2005 12:45 PM | Reply
I had a small problem with this plugin: it only seems to save the final item in the GlobalSanitizeSpec setting. I can reproduce this bug by simply loading ConfigUI and clicking "save" -- everything in the GlobalSanitizeSpec field except the last item disappears.
Lola Lee said:
on Oct 5, 2005 3:11 AM | Reply
Maybe I'm missing something . . . the .pl file needs to go within the mt directory, where mt-config.cgi resides, and the tmpl files needs to go within the tmpl directory? If so, I'm not seeing any link to ConfigUI anywhere from within System Overview view.
Lola Lee said:
on Oct 5, 2005 3:15 AM | Reply
Err . . . never mind! Got it resolved.
Adam Dewitz said:
on Oct 24, 2005 9:22 AM | Reply
I found a small bug in the code.
If the AdminScript variable is changed. The ConfigUI link on the System-wide Plugins page no longer points to the correct mt admin page.
Eg:
If mt.cgi is changed to mt.pl the link System-wide Plugins page still points to mt.cgi
This seems to the result of hard coding the MT admin page name in the configui.pl file. See line 19:
configlink => '../../mt.cgi?mode=cfgui',
If line 19 is changed to reflect the changed admin name file. Everything works fine. E.g
configlink => '../../mt.pl?mode=cfgui',
Other than that, great plugin!
salguod said:
on Dec 8, 2005 8:35 AM | Reply
I love the idea of this plugin, however I too have hte same issue with the GlobalSanitizeSpec setting. I changed another spec and now no HTML works in comments! I tried to re-set the GlobalSanitizeSpec setting, but it drops everything but 'pre'.
I looked at the config.cgi file and found this:
I was able to fix my site by manually editing the file.I also noticed that the plugin removes all the text in the config.cgi file except the settings themselves. The file works just fine, but there are no explinations anymore.
keven said:
on Nov 18, 2006 1:19 AM | Reply
I would only recommend using this type of plugin during development stages, having a config file globally writable is well...
not so good.