Previous post:

Next post:

Batch Categories 0.9

by Stephanie Booth on 13.07.2004

in Wordpress

[fr]

Batch Categories pour WordPress a été corrigé et fonctionne à  présent. Le compagnon idéal si vous desirez changer les catégories de nombreux billets en même temps.

[en]

Batch Categories 0.9 is out! It’s the ideal companion for large-scale post-import messy category work. List all posts belonging to a category or matching a keyword, and edit their categories, easily visible at a glace with a collection of sexy drop-down lists. What’s new since the the first draft?

  • It now works, and does not “eat” categories without a warning. (Pretty nice of it, huh?)
  • It tells you what it did — which categories it added to which posts, and which ones it removed.
  • Add a whole bunch of posts to a category with one click.
  • Remove a whole bunch of posts from a category with one click.
  • Ensures that all the categories for a post are always listed, whatever the setting for the limit number of drop-down lists.
  • This is what it can look like.

You can still access it as a plugin or edit the Edit navigation menu, as described in my post introducing Batch Categories. If you’re in a hurry, just drop the PHP file into your wp-admin directory and send your browser straight on it.

Next steps?

  • Gather feedback from courageous testers (please don’t blame me if you haven’t backed up your post2cat table and things go wrong) for chasing the last bugs, improving interface and functionality.
  • Redo the code which generates the drop-down lists to take advantage of the category cache, and avoid flooding the database with useless queries.
  • Allow more subtle selection of posts: combinations of categories (AND/OR/NOT), categories without their subcategories…
  • Anything else you would want…?

Update 24.07.04: BB made me notice that “All” and “None” didn’t make much sense in the drop-down which allows one to select the categories to display. Replaced them in v. 0.91 by “Any category”.

Similar Posts:

{ 59 trackbacks }

coldforged.org > Blog Archive > WordPress batch category editing
17.11.2004 at 17:03
Mangas Verdes » Peleà¡ndome con el WP (II)
06.12.2004 at 22:48
॒œ’‹ä’º’Œè?’œé’³’¥à¥’¿’™è’£’¡à¥?’·é’–’’ » WordPress R
09.01.2005 at 17:42
mindtrap::weblog » Blog Archive » Coole Wordpress Plugins
20.02.2005 at 12:22
Kurz notiert » Blog Archive » Update mit Tücken und Zeit für einen Neustart
20.02.2005 at 13:25
Hugos House of Weblog Horror » Blog Archive » Batch Categories 0.9
21.02.2005 at 21:46
Polikua » Category Updated
27.02.2005 at 7:52
:// aloha! dO15 mi£ € ©1nc() » Benzedrinas Wordpress
08.03.2005 at 21:31
Mindbleed » Blog Archive » WordPress plugins causing grief
16.03.2005 at 16:31
Taking Your Camera on the Road » Really Rocking with WordPress
24.03.2005 at 16:43
Taking Your Camera on the Road » Really Rocking with WordPress
31.03.2005 at 15:57
Penguinwired.org » Change over is a go
01.04.2005 at 6:20
WordPress Italy » Archivio Blog » Plugin WordPress: Batch Categories
24.04.2005 at 12:08
…in the outer… » Site Updates
01.05.2005 at 8:44
core/dump » Wodpress - the next step…
02.05.2005 at 15:37
Batch Categories Hack at the Dogberry Patch
08.05.2005 at 4:00
empdesign » Blog Archive » Plugins-WP
16.05.2005 at 17:50
empdesign » Blog Archive » Plugins Wp
16.05.2005 at 18:19
Training Today’s Athlete » WordPress Plugins
23.05.2005 at 4:58
S H V E L M U R . C O M » Blog Archive » getting batch categories to work with Word press 1.5.1.1
26.05.2005 at 23:36
Footsteps in the Mirror » The Very Long List Of Problems…
02.06.2005 at 9:59
Bitacoras Pueblos de Espaà±a » wordpres
18.06.2005 at 16:15
Bitacoras Pueblos de Espaà±a » wordpres
18.06.2005 at 16:19
Bitacoras Pueblos de Espaà±a »
18.06.2005 at 16:28
Batch Categories Hack at the Dogberry Patch
18.07.2005 at 7:13
tylerwillis.com - more website fun
20.07.2005 at 22:42
Cyberthoughts 2.0 » Archives du blog » mysql-categories.handmade
30.08.2005 at 19:57
as days pass by » Batch Categories for Wordpress, updated for 1.5.2
18.11.2005 at 21:04
Word Press Plugins for ProBloggers: Blog Tips at ProBlogger
02.12.2005 at 5:25
You Got Me Blogging » WordPress Hack - Batch Categories
13.12.2005 at 9:09
Azzie Elbub. Полублог » Домашние будни
12.02.2006 at 13:27
Climb to the Stars (Stephanie Booth) » My Categories are a Mess
18.02.2006 at 11:42
Climb to the Stars (Stephanie Booth) » Liberté d’écrire
31.08.2006 at 8:50
一年了 at 逸·Ease
12.09.2006 at 23:16
frag-den-nerd.de » Blog Archive » Categories verwalten in Wordpress :: wordpress
22.11.2006 at 18:25
Roblog » Batch Categories
14.12.2006 at 0:29
Los Blog’s de la pagina de UiDoS » Plugins para WordPress
23.12.2006 at 16:01
BlueCat is sleepy» Blog Archive » Wordpress Plugin: Batch Categories
18.01.2007 at 19:59
BlueCat is sleepy» Blog Archive » Wordpress Plugin: Category manager
18.01.2007 at 20:12
20 Good but Not so Famous Wordpress Plugins at List Posts
20.02.2007 at 13:50
Profesor Blog » Los Mejores Plugins Para Worpress
14.04.2007 at 11:13
The Ziggurat of Doom
12.05.2007 at 5:31
voozzy.com » Blog Archive » Плагины для WordPress
04.09.2007 at 13:51
Mehrere Beitr
25.09.2007 at 21:13
Wordpress god300 tools for running your wordpress blog by mashabale.com · Cyber Space in One Hand
28.09.2007 at 10:37
53 Plugins para Administrar Wordpress
09.10.2007 at 21:28
53 Plugins to Manage Wordpress
09.10.2007 at 21:28
WORDPRESS TODAY CHOICE at Artistik Intelligence Agency
26.10.2007 at 16:10
WordPress: +100 plugins et applications pour votre blog WP
11.11.2007 at 22:18
WordPress: +100 plugins et applications pour votre blog WP
11.11.2007 at 22:18
Climb to the Stars (Stephanie Booth) » Tags and Categories, Oh My!
30.11.2007 at 18:24
Wordpress插件大全之55个管理相关插件 | 徐果萍博客网
28.12.2007 at 10:57
50+ Tools For The WordPress Admin
09.01.2008 at 16:34
Các plugin cần thiết hỗ trợ việc quản lý Wordpress | Việt Tutorial - VietTut.info
10.01.2008 at 13:35
Các plugin cần thiết hỗ trợ việc quản lý Wordpress - .: Aptechite's Forum :.
15.01.2008 at 7:01
Các plugin cần thiết hỗ trợ việc quản lý Wordpress - .: Aptechite's Forum :.
15.01.2008 at 7:01
Enchula tu Blog,Plugins Para Worpress
14.04.2008 at 17:25
Plugins para la administración de Wordpress « [ Balrof ]
23.04.2008 at 16:06
[CA] Extended Categories Manager | daily gadgets, computers, and electronic news
31.07.2008 at 22:48

{ 141 comments… read them below or add one }

1 BB 24.07.2004 at 6:37

I can’t get it to show more posts. I change the “$showposts=10;” to “$showposts=200;” and “$showposts=99;”, but I still don’t get any more posts. I’m trying to remove all posts on my WP blog from their parent categories and leave them in just their subcategories.

2 Steph 24.07.2004 at 10:36

Try using the select box to choose a category — that will show you all the posts in that category. Then you can use the “Add category” drop-down to put them in the parent category, and then the “Remove category” (same drop-down) to remove them from their old child category.

Does this help?

3 BB 24.07.2004 at 5:37

I can't get it to show more posts. I change the “$showposts=10;” to “$showposts=200;” and “$showposts=99;”, but I still don't get any more posts. I'm trying to remove all posts on my WP blog from their parent categories and leave them in just their subcategories.

4 BB 24.07.2004 at 13:16

I got it working. Thank you. Actually, I regret having got it working, because in unassigning posts to their parent categories it took them off of the category dropdown on my index.php page. I ended up causing myself a problem, rather than a solution. Anyway, it works.

5 Steph 24.07.2004 at 9:36

Try using the select box to choose a category — that will show you all the posts in that category. Then you can use the “Add category” drop-down to put them in the parent category, and then the “Remove category” (same drop-down) to remove them from their old child category.

Does this help?

6 BB 24.07.2004 at 12:16

I got it working. Thank you. Actually, I regret having got it working, because in unassigning posts to their parent categories it took them off of the category dropdown on my index.php page. I ended up causing myself a problem, rather than a solution. Anyway, it works.

7 PJ Holden 12.09.2004 at 2:22

Stumbled across your site from google, really would like easy category editing – but I can’t get it to work! :( — I’m getting Parse error: parse error, unexpected T_VARIABLE in /../wordpress/wp-admin/batch-categories.php on line 24
. I’ve tried on my home server and my internet server but it’s exactly the same on both! any ideas?

Cheers!

  • pj
8 PJ Holden 12.09.2004 at 1:22

Stumbled across your site from google, really would like easy category editing – but I can't get it to work! :( — I'm getting Parse error: parse error, unexpected T_VARIABLE in /../wordpress/wp-admin/batch-categories.php on line 24
. I've tried on my home server and my internet server but it's exactly the same on both! any ideas?

Cheers!

- pj

9 Steph 12.09.2004 at 18:08

make sure there is no whitespace before the opening ?php tag and the closing ? one, first of all.

10 Steph 12.09.2004 at 17:08

make sure there is no whitespace before the opening ?php tag and the closing ? one, first of all.

11 Podz 03.10.2004 at 22:26

I just used this great plugin to recat 827 posts.

Reset all posts to default.
Asked plugin to display the default (this was a mistake on my part asking it to do so much work), and then recat’d the posts in several huge chunks.
No crashes, no oddness, worked wonderfully – great stuff !

Thank you !

12 Podz 03.10.2004 at 21:26

I just used this great plugin to recat 827 posts.

Reset all posts to default.
Asked plugin to display the default (this was a mistake on my part asking it to do so much work), and then recat'd the posts in several huge chunks.
No crashes, no oddness, worked wonderfully – great stuff !

Thank you !

13 Nick Evil 07.12.2004 at 13:33

Ah..
Just got it tweaked nicely into my admin panel. Thank you. This Brings me one step closer to my migration from Blogger to WP.

Nick // SC

14 Nick Evil 07.12.2004 at 12:33

Ah..
Just got it tweaked nicely into my admin panel. Thank you. This Brings me one step closer to my migration from Blogger to WP.

Nick // SC

15 Dave M. 17.01.2005 at 22:54

I think I may have found a bug in Batch Categories. Although, being careful, I think I can avoid it in the future…

I was cleaning up some categories I had duplicated. I just finished batch changing all the posts. I went into the Categories screen, went to the sub-category to be removed. The categories I was working on looked something like this:
WWW
- Spamming
- – Referral
- – Comment

All three categories had posts that I moved to a different category that better fit. I had just finished removing the ‘Spamming’ category from posts that had them when I went to delete the Spamming category.

When I deleted the ‘Spamming’ category, the admin pages died. The site was still OK, but I got errors when trying to access WP’s Admin pages. It was reporting a php error saying something about the fact that some headers were attempting to be loaded when index.php had already loaded them or something like that. It mentioned batch-access.php, so I deleted that file from the plugins folder and tried reloading the admin pages.

I was able to reload the pages at that point. Whew! I uploaded the batch-access.php file and re-activated the plugin. Everything still works.

The two sub-categories that were under ‘Spamming’ were now sub-categories of ‘WWW’. So I deleted them without incident.

I am assuming that by attempting to delete a sub-category that had sub-categories of its own was not a good thing.

I’m still going to use this plugin often, I just know I’ll need to move things around again. I’ll just stay away from deleting the category I had just batch moved if it has sub-categories of it’s own. :)

Just thought you might want to know in case you can reproduce it.

16 Dave M. 17.01.2005 at 21:54

I think I may have found a bug in Batch Categories. Although, being careful, I think I can avoid it in the future…

I was cleaning up some categories I had duplicated. I just finished batch changing all the posts. I went into the Categories screen, went to the sub-category to be removed. The categories I was working on looked something like this:
WWW
- Spamming
- – Referral
- – Comment

All three categories had posts that I moved to a different category that better fit. I had just finished removing the 'Spamming' category from posts that had them when I went to delete the Spamming category.

When I deleted the 'Spamming' category, the admin pages died. The site was still OK, but I got errors when trying to access WP's Admin pages. It was reporting a php error saying something about the fact that some headers were attempting to be loaded when index.php had already loaded them or something like that. It mentioned batch-access.php, so I deleted that file from the plugins folder and tried reloading the admin pages.

I was able to reload the pages at that point. Whew! I uploaded the batch-access.php file and re-activated the plugin. Everything still works.

The two sub-categories that were under 'Spamming' were now sub-categories of 'WWW'. So I deleted them without incident.

I am assuming that by attempting to delete a sub-category that had sub-categories of its own was not a good thing.

I'm still going to use this plugin often, I just know I'll need to move things around again. I'll just stay away from deleting the category I had just batch moved if it has sub-categories of it's own. :)

Just thought you might want to know in case you can reproduce it.

17 Lorelle 25.01.2005 at 6:18

Trying to install this from WP Plugin Manager brings up a file called “batch-categories.tar.tar” which doesn’t unzip to anything. Can you make sure you include a zip as well as a tar since that works for just about everyone?

18 Lorelle 25.01.2005 at 6:33

I’m working with v1.5 and I’ve been trying for days to get this to work and it won’t even be recognized by the plugin admin screen. It’s there, there are no spaces where they shouldn’t be, but I can’t get it to work. It worked perfectly in 1.2.

19 Steph 25.01.2005 at 7:12

Lorelle: first thing you need to know is that Batch Categories is not a “real” plugin. The plugin file (batch-access.php) was provided as a convenient way to offer a link to the extra admin screen I provide (batch-categories.php). If I were to recode this now (and it’s somewhere on the to-do list), I would indeed integrate it more with the existing admin interface.

The file you really want is batch-categories.php (don’t worry about the other one). Just drop it in your wp-admin directory, then point your browser to it (something like http://example.com/wp-admin/batch-categories.php).

I’m not sure if it’ll work in 1.5 — I haven’t tried. Be really careful to back up your database if you do so, and let me know the result!

Hope this helps.

20 Lorelle 25.01.2005 at 5:18

Trying to install this from WP Plugin Manager brings up a file called “batch-categories.tar.tar” which doesn't unzip to anything. Can you make sure you include a zip as well as a tar since that works for just about everyone?

21 Lorelle 25.01.2005 at 5:33

I'm working with v1.5 and I've been trying for days to get this to work and it won't even be recognized by the plugin admin screen. It's there, there are no spaces where they shouldn't be, but I can't get it to work. It worked perfectly in 1.2.

22 Steph 25.01.2005 at 6:12

Lorelle: first thing you need to know is that Batch Categories is not a “real” plugin. The plugin file (batch-access.php) was provided as a convenient way to offer a link to the extra admin screen I provide (batch-categories.php). If I were to recode this now (and it's somewhere on the to-do list), I would indeed integrate it more with the existing admin interface.

The file you really want is batch-categories.php (don't worry about the other one). Just drop it in your wp-admin directory, then point your browser to it (something like http://example.com/wp-admin/batch-categories.php).

I'm not sure if it'll work in 1.5 — I haven't tried. Be really careful to back up your database if you do so, and let me know the result!

Hope this helps.

23 Lorelle 28.01.2005 at 2:12

Thanks for the specifics. The other batch-categories plugin I used embedded itself right into the EDIT/MANAGE window of the WordPress Admin. This had me a little confused.

It works like a charm with 1.5 with no trauma, so far….

I’ll make a link from the manage window, but it would be nice it you could make it like a plugin so it would automatically make a link appear. Wonderful!

24 Lorelle 28.01.2005 at 1:12

Thanks for the specifics. The other batch-categories plugin I used embedded itself right into the EDIT/MANAGE window of the WordPress Admin. This had me a little confused.

It works like a charm with 1.5 with no trauma, so far….

I'll make a link from the manage window, but it would be nice it you could make it like a plugin so it would automatically make a link appear. Wonderful!

25 Eduardo Arcos 08.02.2005 at 0:21

Hi, great plugin, I am having a very small problem:

When I try to use the “num=N” variable in the URL, it doesn’t work. Also the “Update” button doesn’t work. Any pointers?

26 Eduardo Arcos 07.02.2005 at 23:21

Hi, great plugin, I am having a very small problem:

When I try to use the “num=N” variable in the URL, it doesn't work. Also the “Update” button doesn't work. Any pointers?

27 Eduardo Arcos 08.02.2005 at 7:56

I figured out the first problem (num=N), it was browser related. The second problem the “Update” button, still doesn’t work. Any pointers?

28 Eduardo Arcos 08.02.2005 at 6:56

I figured out the first problem (num=N), it was browser related. The second problem the “Update” button, still doesn't work. Any pointers?

29 jim 10.02.2005 at 3:12

This is great, thanks so much.

30 jim 10.02.2005 at 2:12

This is great, thanks so much.

31 Joe Edmon 18.02.2005 at 8:16

Unfortunately, this does not work with WP1.5. It conflicts with the admin.php script, lines 6-9. I hope you’re able to resolve the problems, because this looks like a great and much needed utility.

32 Joe Edmon 18.02.2005 at 7:16

Unfortunately, this does not work with WP1.5. It conflicts with the admin.php script, lines 6-9. I hope you're able to resolve the problems, because this looks like a great and much needed utility.

33 JazzleBug 18.02.2005 at 23:09

I’ve been using this for a long time and LOVE it. Unforunately, I can’t get it to work in 1.5 either. Will keep trying, though.

34 Riff 19.02.2005 at 2:42

FYI, Post Levels v0.1 and Batch Categories 0.91 are not compatible when both installed and activated in WordPress v1.5 (final). I installed, activated and tested Post Levels first, and everything was fine. I installed Batch Categories next, and upon activation I got several PHP errors at the top of the Manage Plugins page itself, as well as every other page (have removed full path info from errors):

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 6

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 7

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 8

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 9

Errors stopped as soon as I deactivated Batch Categories and refreshed the page.

Would be extremely nice if you and the Post Levels author could collaborate on a fix so both plugins will co-exist on one WP installation. Thanks!

35 JazzleBug 18.02.2005 at 22:09

I've been using this for a long time and LOVE it. Unforunately, I can't get it to work in 1.5 either. Will keep trying, though.

36 Riff 19.02.2005 at 1:42

FYI, Post Levels v0.1 and Batch Categories 0.91 are not compatible when both installed and activated in WordPress v1.5 (final). I installed, activated and tested Post Levels first, and everything was fine. I installed Batch Categories next, and upon activation I got several PHP errors at the top of the Manage Plugins page itself, as well as every other page (have removed full path info from errors):

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 6

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 7

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 8

Warning: Cannot modify header information – headers already sent by (output started at /home/.[...]/wp-content/plugins/batch-access.php:11) in /home/.[...]/wp-admin/admin.php on line 9

Errors stopped as soon as I deactivated Batch Categories and refreshed the page.

Would be extremely nice if you and the Post Levels author could collaborate on a fix so both plugins will co-exist on one WP installation. Thanks!

37 Steph 19.02.2005 at 10:03

Actually, the “batch-access” part of Batch Categories is not necessary and just makes access to the page easier (batch categories is not actually a plugin, in a sense that it does not use any API hooks; it’s just a standalone page which allows you to mess with the database).

You can try accessing batch-categories.php directly by typing the address of the file in your browser. I am really not sure if it will work or not with 1.5 — so if you do try it, please:

a) back up your database
b) let me know how it went

I will be converting Batch Categories into a real 1.5 plugin at some point, but I just have too much other stuff to deal with now.

38 Steph 19.02.2005 at 9:03

Actually, the “batch-access” part of Batch Categories is not necessary and just makes access to the page easier (batch categories is not actually a plugin, in a sense that it does not use any API hooks; it's just a standalone page which allows you to mess with the database).

You can try accessing batch-categories.php directly by typing the address of the file in your browser. I am really not sure if it will work or not with 1.5 — so if you do try it, please:

a) back up your database
b) let me know how it went

I will be converting Batch Categories into a real 1.5 plugin at some point, but I just have too much other stuff to deal with now.

39 Lorelle 21.02.2005 at 5:06

As I’ve told you, and will again and again, I adore this wonderful plugin. I just installed the new “final” Strayhorn v1.5 and now batch-categories won’t work for nothing. I’ve played around with bits and pieces but all I get is a blank screen. No error messages to help me narrow anything down.

With everyone switching to 1.5 now (well, billions of folks at least – hee hee), this is too valuable a tool to let slide off the map. I think it should be part of the WordPress package – what a contribution!

I really need this to work. It was working up until the new CVS….not happy.

40 Steph 21.02.2005 at 8:24

I’m really sorry to hear the plugin doesn’t work with 1.5.

As I might have mentioned, I’m swamped right now. If nobody does it before me, I’ll adapt it to 1.5 at some point. If anybody feels like doing it, just go ahead! I really don’t care if it’s me or somebody else who writes the 1.5 version of Batch Categories.

41 Lorelle 21.02.2005 at 4:06

As I've told you, and will again and again, I adore this wonderful plugin. I just installed the new “final” Strayhorn v1.5 and now batch-categories won't work for nothing. I've played around with bits and pieces but all I get is a blank screen. No error messages to help me narrow anything down.

With everyone switching to 1.5 now (well, billions of folks at least – hee hee), this is too valuable a tool to let slide off the map. I think it should be part of the WordPress package – what a contribution!

I really need this to work. It was working up until the new CVS….not happy.

42 Steph 21.02.2005 at 7:24

I'm really sorry to hear the plugin doesn't work with 1.5.

As I might have mentioned, I'm swamped right now. If nobody does it before me, I'll adapt it to 1.5 at some point. If anybody feels like doing it, just go ahead! I really don't care if it's me or somebody else who writes the 1.5 version of Batch Categories.

43 Kaf 25.02.2005 at 7:09

To fix the blank page issue in 1.5, at the top of batch-categories.php, right above the require line for admin-header.php, add another for admin.php, like so:

require_once(‘admin.php’);
require_once(‘admin-header.php’);

That should be all you need.

-Kaf

44 Kaf 25.02.2005 at 6:09

To fix the blank page issue in 1.5, at the top of batch-categories.php, right above the require line for admin-header.php, add another for admin.php, like so:

require_once('admin.php');
require_once('admin-header.php');

That should be all you need.

-Kaf

45 Lorelle 03.03.2005 at 17:17

Thanks to Kaf (as mentioned above) and in the WordPress Forums at http://wordpress.org/support/topic.php?id=25084 this now works like a charm. I wish it was a plugin but it’s working and I adore it. THANK YOU to everyone.

46 M1BXD 03.03.2005 at 19:14

I had quick look at trying to get this to work with mu WordPress within the last month:
http://mu.wordpress.org/

Has anyone had any success?

Cheers Mark

47 Lorelle 03.03.2005 at 16:17

Thanks to Kaf (as mentioned above) and in the WordPress Forums at http://wordpress.org/support/topic.php?id=25084 this now works like a charm. I wish it was a plugin but it's working and I adore it. THANK YOU to everyone.

48 M1BXD 03.03.2005 at 18:14

I had quick look at trying to get this to work with mu WordPress within the last month:
http://mu.wordpress.org/

Has anyone had any success?

Cheers Mark

49 Gary 08.05.2005 at 4:36

I see my system has sent a pingback I still wanted to say thanks for a great little utility. I have documented what it took for me to get Batch-Categories to work for me in WP 1.5

Only thing I could hope for now is to figure out how to call the routine with just one post
ie: wp-admin/batchcategories.php?post=134
That would make it perfect – since I could easily update categories without the ‘post_modified’ date changing.

50 Gary 08.05.2005 at 3:36

I see my system has sent a pingback I still wanted to say thanks for a great little utility. I have documented what it took for me to get Batch-Categories to work for me in WP 1.5

Only thing I could hope for now is to figure out how to call the routine with just one post
ie: wp-admin/batchcategories.php?post=134
That would make it perfect – since I could easily update categories without the 'post_modified' date changing.

51 Kafkaesquí 16.05.2005 at 7:49

Stephanie, when you get around to updating Batch Categories let me know, as I have a reconfigured version that works as a plugin. Still has the separate script (which needs some 1.5 remodeling), but your batch-access now incorporates the admin page automatically, including batch-categories.php from a plugins subdirectory.

52 Stephanie 16.05.2005 at 9:19

Don’t hesitate to release it yourself in the meantime! I don’t really care if it’s me or somebody else who does it, as long as it’s available for people :-)

53 Kafkaesquí 16.05.2005 at 6:49

Stephanie, when you get around to updating Batch Categories let me know, as I have a reconfigured version that works as a plugin. Still has the separate script (which needs some 1.5 remodeling), but your batch-access now incorporates the admin page automatically, including batch-categories.php from a plugins subdirectory.

54 Stephanie 16.05.2005 at 8:19

Don't hesitate to release it yourself in the meantime! I don't really care if it's me or somebody else who does it, as long as it's available for people :-)

55 Shivanand Velmurugan 26.05.2005 at 23:34

Firstly, I must once I got your plugin working, it was a boon.

I have written a tutorial on the changes that need to be made to get it working in 1.5.1, and also appear on the admin menu.

I also have hosted the changed files for download. If you have any objections to it, let me know and I will remove it.

I also have a couple of ideas for improving the work flow
Check my post at http://shvelmur.com/wpress/?p=54

56 Shivanand Velmurugan 26.05.2005 at 22:34

Firstly, I must once I got your plugin working, it was a boon.

I have written a tutorial on the changes that need to be made to get it working in 1.5.1, and also appear on the admin menu.

I also have hosted the changed files for download. If you have any objections to it, let me know and I will remove it.

I also have a couple of ideas for improving the work flow
Check my post at http://shvelmur.com/wpress/?p=54

57 Stephanie 27.05.2005 at 7:16

No objections at all, I’m very happy other people are stepping in to keep Batch Categories alive!

58 Stephanie 27.05.2005 at 6:16

No objections at all, I'm very happy other people are stepping in to keep Batch Categories alive!

59 Grendel 15.06.2005 at 13:06

Hi,
I had this error, too
Warning: Cannot modify header information – headers already sent by (output started [...]

The files had trailing spaces at the end, remove them and it’ll work.
ciao

Grendel

60 Grendel 15.06.2005 at 13:16

p.s.: I have to correct myself, with the current WP 1.5.1.2 version the batch-categories.php file doesn’t work (I can’t post the php error log though, don’t have access to it)

61 Grendel 15.06.2005 at 12:06

Hi,
I had this error, too
Warning: Cannot modify header information – headers already sent by (output started [...]

The files had trailing spaces at the end, remove them and it'll work.
ciao

Grendel

62 Grendel 15.06.2005 at 12:16

p.s.: I have to correct myself, with the current WP 1.5.1.2 version the batch-categories.php file doesn't work (I can't post the php error log though, don't have access to it)

63 theHawke 13.08.2005 at 9:52

OK so I actually have 2 blogs into the same database with different URLs. There is the one in my link there and

http://unfilterednewsnetwork.com/North_South_Blog/

Because the wordpress blogs are installed in a subfolder, I think I am having some weird errors. What code do I need to fix to get this to work? Here are the errors:

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 10

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 11

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 12

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 13

When I click on the plugin URI per instructions, I get this:
Warning: main(North_South_Blog/wp-admin/admin-header.php): failed to open stream: No such file or directory in /home/unfilter/public_html/North_South_Blog/wp-admin/batch-categories.php on line 16

Fatal error: main(): Failed opening required ‘North_South_Blog/wp-admin/admin-header.php’ (include_path=’.:/usr/local/lib/php’) in /home/unfilter/public_html/North_South_Blog/wp-admin/batch-categories.php on line 16

64 theHawke 13.08.2005 at 8:52

OK so I actually have 2 blogs into the same database with different URLs. There is the one in my link there and

http://unfilterednewsnetwork.com/North_South_Blog/

Because the wordpress blogs are installed in a subfolder, I think I am having some weird errors. What code do I need to fix to get this to work? Here are the errors:

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 10

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 11

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 12

Warning: Cannot modify header information – headers already sent by (output started at /home/unfilter/public_html/North_South_Blog/wp-content/plugins/batch-access.php:11) in /home/unfilter/public_html/North_South_Blog/wp-admin/admin.php on line 13

When I click on the plugin URI per instructions, I get this:
Warning: main(North_South_Blog/wp-admin/admin-header.php): failed to open stream: No such file or directory in /home/unfilter/public_html/North_South_Blog/wp-admin/batch-categories.php on line 16

Fatal error: main(): Failed opening required 'North_South_Blog/wp-admin/admin-header.php' (include_path='.:/usr/local/lib/php') in /home/unfilter/public_html/North_South_Blog/wp-admin/batch-categories.php on line 16

65 LcF 14.10.2005 at 18:59

I got it works on version 1.5.1 but it does not work anymore under 1.5.2. It loads but it does not show the category(s) of the listed posts.

This script is over 1 year old. I hope somebody can update it for Wordpress version 1.5.2 or later.

66 LcF 14.10.2005 at 17:59

I got it works on version 1.5.1 but it does not work anymore under 1.5.2. It loads but it does not show the category(s) of the listed posts.

This script is over 1 year old. I hope somebody can update it for Wordpress version 1.5.2 or later.

67 Nico 15.10.2005 at 3:27

Warning: Cannot modify header information – headers already sent by (output started at /home/fansubto/public_html/nicoyan/wp-content/plugins/batch-access.php:11) in /home/fansubto/public_html/nicoyan/wp-admin/admin.php on line 10

i get that error when activating the theme …

68 Nico 15.10.2005 at 2:27

Warning: Cannot modify header information – headers already sent by (output started at /home/fansubto/public_html/nicoyan/wp-content/plugins/batch-access.php:11) in /home/fansubto/public_html/nicoyan/wp-admin/admin.php on line 10

i get that error when activating the theme …

69 chrish 29.10.2005 at 15:46

Nico, there are two spaces after the very last greater than sign in batch-access.php that you need to remove.

All the same, it still doesn’t work for me. batch-categories.php brings up a totally blank window, and when yo view the source, it’s blank too.

70 chrish 29.10.2005 at 14:46

Nico, there are two spaces after the very last greater than sign in batch-access.php that you need to remove.

All the same, it still doesn't work for me. batch-categories.php brings up a totally blank window, and when yo view the source, it's blank too.

71 eston 18.11.2005 at 4:16

Yes, this script doesn’t work at all. I had Nico’s problem, and now I’ve got chrish’s problem. Can you please fix this, Steph?

72 eston 18.11.2005 at 2:16

Yes, this script doesn't work at all. I had Nico's problem, and now I've got chrish's problem. Can you please fix this, Steph?

73 Daisy Duck 19.12.2005 at 6:08

Hey, thanks for your effort, but it does not work (at all) on WP 1.5.2, the “plugin hack” had spaces after the closing php tag, that were causing the “headers already sent” error. I removed those. The link is pointing to the / directory and I have wp intalled on a folder, I figured and fixed, but the page itself shows nothing. I removed the comment for the line where it does a print_r on the post variable. It shows an empty array, as expected. The required files are there – no errors, but there is no other information on the page.

74 Daisy Duck 19.12.2005 at 4:08

Hey, thanks for your effort, but it does not work (at all) on WP 1.5.2, the “plugin hack” had spaces after the closing php tag, that were causing the “headers already sent” error. I removed those. The link is pointing to the / directory and I have wp intalled on a folder, I figured and fixed, but the page itself shows nothing. I removed the comment for the line where it does a print_r on the post variable. It shows an empty array, as expected. The required files are there – no errors, but there is no other information on the page.

75 Nicolas Delsaux 09.01.2006 at 17:59

I’ve just added a little hack to this wonderful admin panel (which unfortunatly generates lots of warning on WP 1.5.2

Add this code (copied from wp-admin/edit.php)


    get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts ORDER BY post_date DESC");
        foreach ($arc_result as $arc_row) {
            $arc_year  = $arc_row->yyear;
            $arc_month = $arc_row->mmonth;

            if( isset($_GET['m']) && $arc_year . zeroise($arc_month, 2) == (int) $_GET['m'] )
                $default = 'selected="selected"';
            else
                $default = null;

            echo "';
            echo $month[zeroise($arc_month, 2)] . " $arc_year";
            echo "\n";
        }
    ?>

        "  />

Just after the category selector, and you’ll have a month selector for your batch moves.
It works really smooth. Thanks a lot Stephanie !

76 Nicolas Delsaux 09.01.2006 at 16:59

I've just added a little hack to this wonderful admin panel (which unfortunatly generates lots of warning on WP 1.5.2

Add this code (copied from wp-admin/edit.php)

<pre>

get_results(“SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts ORDER BY post_date DESC”);
foreach ($arc_result as $arc_row) {
$arc_year = $arc_row->yyear;
$arc_month = $arc_row->mmonth;

if( isset($_GET['m']) && $arc_year . zeroise($arc_month, 2) == (int) $_GET['m'] )
$default = 'selected=”selected”';
else
$default = null;

echo “';
echo $month[zeroise($arc_month, 2)] . ” $arc_year”;
echo “n”;
}
?>

” />

</pre>

Just after the category selector, and you'll have a month selector for your batch moves.
It works really smooth. Thanks a lot Stephanie !

77 abstrakone 10.01.2006 at 9:07

Will you be adding support for Wordpress 2.0?

78 abstrakone 10.01.2006 at 8:07

Will you be adding support for Wordpress 2.0?

79 Dylan Kinnett 11.01.2006 at 1:31

I would also like to encourage you to upgrade this plugin for wordpress 2.0. I’ve enjoyed using it.

80 Dylan Kinnett 11.01.2006 at 0:31

I would also like to encourage you to upgrade this plugin for wordpress 2.0. I've enjoyed using it.

81 Ed 21.01.2006 at 13:35

WP2.0 support would be fantastic!

82 Ed 21.01.2006 at 12:35

WP2.0 support would be fantastic!

83 netfrost 27.01.2006 at 19:42

I would love it if there was 2.0 support for this

84 netfrost 27.01.2006 at 18:42

I would love it if there was 2.0 support for this

85 fab 19.02.2006 at 2:48

jep, i would also like to get wordpress 2.0 support for this plugin :)

86 fab 19.02.2006 at 2:51

ups, i just now read your other post .. please ignore my other comment.

87 fab 19.02.2006 at 1:48

jep, i would also like to get wordpress 2.0 support for this plugin :)

88 fab 19.02.2006 at 1:51

ups, i just now read your other post .. please ignore my other comment.

89 Thomas 28.02.2006 at 22:15

I’m in need of a plugin like this for WP 2.0. Please update!!

Thanks

90 Thomas 28.02.2006 at 21:15

I'm in need of a plugin like this for WP 2.0. Please update!!

Thanks

91 Brendan Loy 10.03.2006 at 0:38

I also posted this over at as days pass by

“All the batch changes work properly with the hack above, but the update’ feature does not work due to an incorrect ID #. I’m going to see if I can figure out why.”

I am actually having a similar problem with WordPress 1.5.2. I can make batch changes to the entire group, but pressing the “Update” button next to each post has no effect. There’s no error message or anything — it just reloads the page without making any changes.

Just for the heck of it, I tried Myles’s workaround, even though it was designed for a different version of WP… but it had no effect. Any ideas?

92 Brendan Loy 09.03.2006 at 23:38

I also posted this over at as days pass by

“All the batch changes work properly with the hack above, but the update’ feature does not work due to an incorrect ID #. I’m going to see if I can figure out why.”

I am actually having a similar problem with WordPress 1.5.2. I can make batch changes to the entire group, but pressing the “Update” button next to each post has no effect. There’s no error message or anything — it just reloads the page without making any changes.

Just for the heck of it, I tried Myles’s workaround, even though it was designed for a different version of WP… but it had no effect. Any ideas?

93 achio1115 13.05.2006 at 21:07

WP 2.0 support would be awesome…

94 achio1115 13.05.2006 at 21:07

WP 2.0 support would be awesome…

95 andryonline 17.05.2006 at 10:30

Please, I need the compatible version with WP 2.0

96 andryonline 17.05.2006 at 10:30

Please, I need the compatible version with WP 2.0

97 Adam 21.05.2006 at 23:27

We would love if this supported WP 2.0!

Thanks for your hard work

98 Adam 21.05.2006 at 23:27

We would love if this supported WP 2.0!

Thanks for your hard work

99 c 27.05.2006 at 21:00

Just another voice in favor of mass category management for WP 2.0 ;)

100 c 27.05.2006 at 21:00

Just another voice in favor of mass category management for WP 2.0 ;)

101 casey 02.06.2006 at 23:02

All I am getting is a blank page when I use batch-access.php to get to the batch-category.php file. I’ve looked for extra spaces and such (removed them) but like I said, I’m not seeing this page.

Please help?

102 casey 02.06.2006 at 23:02

All I am getting is a blank page when I use batch-access.php to get to the batch-category.php file. I've looked for extra spaces and such (removed them) but like I said, I'm not seeing this page.

Please help?

103 Hikoto 23.06.2006 at 16:11

Ahh…great plugin. I would love to use it but I’m currently on Wordpress 2.0. Hope you’re working on a compatible version!

104 Hikoto 23.06.2006 at 16:11

Ahh…great plugin. I would love to use it but I'm currently on Wordpress 2.0. Hope you're working on a compatible version!

105 Mike Purvis 05.08.2006 at 18:24

For anyone interested, I’ve released a plugin that allows ajax-y mass category management under WP 2.0: http://uwmike.com/wordpress/wp-cats/

106 Mike Purvis 05.08.2006 at 18:24

For anyone interested, I've released a plugin that allows ajax-y mass category management under WP 2.0: http://uwmike.com/wordpress/wp-cats/&lt;/p>

107 Stephanie 06.08.2006 at 16:17

cool! I’ll give it a try when I get around to cleaning my categories!

108 Stephanie 06.08.2006 at 16:17

cool! I'll give it a try when I get around to cleaning my categories!

109 Mem 12.08.2006 at 2:01

Plugin looks great but unfortunately doesn’t work with wordpress 2.0.3 :(

Mike – Any chance of making your plugin so you can do more then one at a time?

110 Mem 12.08.2006 at 2:01

Plugin looks great but unfortunately doesn't work with wordpress 2.0.3 :(

Mike – Any chance of making your plugin so you can do more then one at a time?

111 Bastiaan 23.08.2006 at 13:31

Very nice functionality (exactly what I was looking for)!
I’ve changed the plugin a bit so it would work with WP 2.0, if you want I can send you the code.

112 Stephanie 23.08.2006 at 18:49

Do publish it on your blog and send a trackback here!

113 Bastiaan 23.08.2006 at 13:31

Very nice functionality (exactly what I was looking for)!
I've changed the plugin a bit so it would work with WP 2.0, if you want I can send you the code.

114 Stephanie 23.08.2006 at 18:49

Do publish it on your blog and send a trackback here!

115 Andre 12.09.2006 at 5:54

Please Baastian, publish the hack! Thanks :)

116 Andre 12.09.2006 at 5:54

Please Baastian, publish the hack! Thanks :)

117 Andre 18.09.2006 at 17:15

HELP! Support for 2.0 pleeeease!

118 Andre 18.09.2006 at 17:15

HELP! Support for 2.0 pleeeease!

119 Maria 29.10.2006 at 5:39

This plugin is exactly what I have been looking for. But looks like it doesn’t work in WP2. Any plans of making it work in WP2 in the near future?

Thanks!

120 Maria 29.10.2006 at 4:39

This plugin is exactly what I have been looking for. But looks like it doesn't work in WP2. Any plans of making it work in WP2 in the near future?

Thanks!

121 Torley 29.10.2006 at 21:58

This looks like what I need for my WordPress too — going through many articles and categorizing them is such a chore! I read talk of a WP 2.0-compatible version up there, is this out somewhere? Please advise, I’d love to know! Thanx!

122 Torley 29.10.2006 at 20:58

This looks like what I need for my WordPress too — going through many articles and categorizing them is such a chore! I read talk of a WP 2.0-compatible version up there, is this out somewhere? Please advise, I'd love to know! Thanx!

123 Yohay Elam 03.11.2006 at 22:45

I’ll join the crowd in asking for a version of your plugin that works in Wrodpress 2.

Thanks!

124 Yohay Elam 03.11.2006 at 21:45

I'll join the crowd in asking for a version of your plugin that works in Wrodpress 2.

Thanks!

125 David 22.11.2006 at 18:35

Hi,
I got problems getting the php-script running, it just gives out the php-code (nice coloured)
Take a look:
http://the-barcelona-tourist-information.com/wp_frag-den-nerd/wp-admin/batch-categories.php
I tried it with the original (ext phps) and it questioned if it should be downloaded.
And when I copy the PHPS in the Plugins-Folder (original or renamed to php) it ignores it.

I think it´s a small thing I forgot, but I would be happy about support.

Thanks
David

126 David 22.11.2006 at 17:35

Hi,
I got problems getting the php-script running, it just gives out the php-code (nice coloured)
Take a look:
http://the-barcelona-tourist-information.com/wp...
I tried it with the original (ext phps) and it questioned if it should be downloaded.
And when I copy the PHPS in the Plugins-Folder (original or renamed to php) it ignores it.

I think it´s a small thing I forgot, but I would be happy about support.

Thanks
David

127 Insight 29.11.2006 at 16:38

Hi,

I have installed the plugin on a 2.0.5 WP install.

When I click the link nothing happens? I get a blank white screen which states “Done” in the browser status bar.

I uploaded the files as per the instructions. Possibly not compatible with 2.0.5?

128 Insight 29.11.2006 at 15:38

Hi,

I have installed the plugin on a 2.0.5 WP install.

When I click the link nothing happens? I get a blank white screen which states “Done” in the browser status bar.

I uploaded the files as per the instructions. Possibly not compatible with 2.0.5?

129 Najam 25.12.2006 at 14:12

I want to use batch-categories and in hurry therefore I save a page
of ur code as batch-categories.php and drop it in wp-admin folder then
when I try to access
“http://pindaal.com/blog/wp-admin/batch-categories.php” then code
appeared. What shud I do?

130 Stephanie 25.12.2006 at 19:07

Use this updated version which works with 2.0: http://robm.me.uk/2006/12/13/batch-categories/

131 Najam 25.12.2006 at 13:12

I want to use batch-categories and in hurry therefore I save a page
of ur code as batch-categories.php and drop it in wp-admin folder then
when I try to access
“http://pindaal.com/blog/wp-admin/batch-categories.php” then code
appeared. What shud I do?

132 Stephanie 25.12.2006 at 18:07

Use this updated version which works with 2.0: http://robm.me.uk/2006/12/13/batch-categories/&lt;/p>

133 The Ziggurat of Doom 12.05.2007 at 5:31

Category update…

Your neighborhood friendly admin speaking.
Since I have a job that consists largely of being paid to sit on my ass and refill the printer paper once every three hours, I reworked the categories. Several have been renamed and reclassified to fit more th…

134 Martino 13.07.2007 at 9:27

Very nice plugin – already in use at my blog. Thank you!

135 Martino 13.07.2007 at 9:27

Very nice plugin – already in use at my blog. Thank you!

136 Mr Henree 18.10.2007 at 15:15

Thanks for the previous works. Looking for upgrades. I’m using wordpress 2.3.

137 Mr Henree 18.10.2007 at 15:15

Thanks for the previous works. Looking for upgrades. I'm using wordpress 2.3.

138 Train 24.03.2008 at 18:53

Unfortunately, after pointing my browser to the php file, I receive this error:

Warning: require_once(../wp-includes/wp-l10n.php) [function.require-once]: failed to open stream: No such file or directory in /home/thebeach/public_html/blog/wp-admin/batch-categories.php on line 12

Fatal error: require_once() [function.require]: Failed opening required ‘../wp-includes/wp-l10n.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:/usr/local/ioncube’) in /home/thebeach/public_html/blog/wp-admin/batch-categories.php on line 12

I did not notice a wp-l10n.php file in the includes folder. However, there was a l10n.php file. After renaming it and refreshing the browser, I still got the same errors.

Thanks for any help! :-)

139 Train 24.03.2008 at 17:53

Unfortunately, after pointing my browser to the php file, I receive this error:

Warning: require_once(../wp-includes/wp-l10n.php) [function.require-once]: failed to open stream: No such file or directory in /home/thebeach/public_html/blog/wp-admin/batch-categories.php on line 12

Fatal error: require_once() [function.require]: Failed opening required '../wp-includes/wp-l10n.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/ioncube') in /home/thebeach/public_html/blog/wp-admin/batch-categories.php on line 12

I did not notice a wp-l10n.php file in the includes folder. However, there was a l10n.php file. After renaming it and refreshing the browser, I still got the same errors.

Thanks for any help! :-)

140 Elvis_The_Pelvis 22.10.2008 at 22:07

Doesn't work with 2.5

141 Fotos de Famosas 25.03.2009 at 23:20

No funciona en WP 2.7

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

« Back to text comment

Additional comments powered by BackType