You are not logged in.
Perhaps useful to some who posted opinions here.
A little plugin that’s meant to be used right after first installation on a new textpattern site. It…
† These operations may fail if the filesystem permissions don’t allow the script to make the changes.
Please don’t use on any install with content you wish to keep.
Change Log & download links.
| Version | Date | Notes | Source | Download Link |
|---|---|---|---|---|
| v0.8 | 1st Sep, 2011 | Improved warning messages and fixed bad URL (Thanks Adi) | Source | Compressed |
| v0.7 | 11th Aug, 2011 | Added warning on install. Added confirmation on use in sites with 2 or more articles. No longer deletes the entire content of the files directory — so should leave any backups in place if you happen to have some there. | Source | Compressed |
| v0.6 | 5th Aug, 2011 | Switched plugins over to .plugin extension. Added page, form, style imports from the files directory. Extended the AddSection scripting command. |
Source | Use later version |
| v0.5 | 1st Aug. 2011 | Added new cleanup actions: RemoveSection, AddSection, RemovePage, BlankPage, BlankCSS, RemoveForm & BlankForm. Updated cleanups.php to show how to do jpdupont’s requested cleanups. | Source | Use later version |
| v0.4.2 | 1st Aug. 2011 | Bugfix: Don’t remove the category roots. (Thanks jpdupont) | Source | Use later version |
| v0.4.1 | 31st Jul, 2011 | Bugfix: Use table prefixes where needed. (Thanks jpdupont) | Source | Use later version |
| v0.4 | 31st Jul, 2011 | Move cleanups.php to the /files directory. Add plugin auto-loading from /files too. Auto-loads occur before your cleanups are done and cleanups can now enable plugins. |
Source | Use later version |
| v0.3 | 30th Jul, 2011 | Adds a small scripting module to allow you to record and perform your favourite cleanups/pref settings. Now you can quickly setup the prefs the way you want on all your new sites via the cleanups.php file. | Source | Use later version |
| v0.2 | 30th Jul, 2011 | Adds removal of setup directory (where possible). | Source | Use later version |
| v0.1 | 29th Jul, 2011 | Initial release. Removes default content & resets some prefs. | Source | Use later version |
Last edited by net-carver (2011-09-01 17:07:16)
— Steve
Textile | My plugins on GitHub | @netcarver
Offline
The blank slate!
Thaaanks, Steve! :)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Online
Uli
Thanks. Still needs some work on sections, pages, styles & forms.
— Steve
Textile | My plugins on GitHub | @netcarver
Offline
Offline
Sweet :)
Does it also mean that the ID# of the first article I will publish will be #1 instead of #2?
(that will give it a really cool “format” feel)
Offline
Offline
THE BLUE DRAGON wrote:
Sweet :)
Does it also mean that the ID# of the first article I will publish will be #1 instead of #2? (that will give it a really cool “format” feel)
It should reset all auto-incrementing IDs on the articles and other content it removes as it uses a MySQL TRUNCATE TABLE query to do its thing. Specifically from the documentation for that call…
“The table handler does not remember the last used AUTO_INCREMENT value, but starts counting from the beginning. This is true even for MyISAM and InnoDB, which normally do not reuse sequence values.”
— Steve
Textile | My plugins on GitHub | @netcarver
Offline
It should reset all auto-incrementing IDs on the articles and other content it removes
Oh that would be terrific. Thank you for this plugin.
Offline
— Steve
Textile | My plugins on GitHub | @netcarver
Offline