WordPress.org

Ready to get started?Download WordPress

Forums

Can we fix batch-categories? (53 posts)

  1. thebloke
    Member
    Posted 9 years ago #

    Hi Kafkaesqui,
    Thanks very much for the files. I can open the Admin page now and am able to check out what batch-categories can do. I find something wierd about the search though. It only lists the first 10 posts and there is no way to browse the next ten or etc.
    If I try to search for posts containing a keyword, it lists them in the Manage Posts page rather than Manage Batcats page.
    Can someone offer me a tip on how to navigate the posts?
    Thanks again! You guys are very helpful and I appreciate it!

  2. thebloke
    Member
    Posted 9 years ago #

    Hi Kafkaesqui,
    Thanks for the package. It worked! However I have a problem. The Manage Batchcats only lists the first 10 posts. I cannot browse to the next posts. And when I try to search using keywordsl, it switched to the Manage Posts page so I cannot use the Batchcat anyway. Is there a way for me to do so?
    Thanks! You guys are so helpful! I appreciate it!

    Best regards, TheBloke

  3. thebloke
    Member
    Posted 9 years ago #

    Opps! Sorry for the duplicate! I thought I what I posted earlier didn't make it!

  4. Kafkaesqui

    Posted 9 years ago #

    @thebloke, the problem with search etc. comes down to those features using the "GET" method, which as is will reload the current page. For my "pluggable" mod of the script, under the Manage pages this is going to be edit.php, and not batch-categories.php.

    There's no pagination, a limitation of Batch Categories as is. I thought there was a way of providing &num=#posts in the url, which would at least let you specify how many posts to display, but that seems to be AWOL.

    I'll send along a fix for these.

  5. Lorelle
    Member
    Posted 9 years ago #

    Kaf, et al, is there a solid site that offers the "working" batch categories anywhere for download? I'm starting to get weary of giving everyone the information on fixing this so it will run instead of having just a fixed version.

    Anything yet?

    Thanks.

  6. thebloke
    Member
    Posted 9 years ago #

    Hi Kaf,

    Thanks for your continued help. I wasn't sure what you meant in your reply. Were you going to send a fix to me directly, or are you going to be working on this sometime and then let us know when it is ready? Sorry for the misunderstanding, but I have been waiting at my in box breathlessly the past few days! :)

    Anyway, I appreciate all the help you guys are giving out, and apologize that I haven't learned Php well enough to return any flavors yet. My skill level is still stuck at "Clueless Hacker" when it comes to PHP. It has been "fun" though. :)

  7. Kafkaesqui

    Posted 9 years ago #

    Sorry guys, I was *away* for a bit.

    I'm banging out the dents in a few mods to BC, mainly to make sure everything works as intended (which it doesn't). I'm stuck in some mainly non-WP (read: not fun), real world stuff right now, but I'll put up a post in the next few days on my site about the pluggable version, with appropriate fixes.

    I'll mention it here.

  8. chweifly
    Member
    Posted 9 years ago #

    Following gpaulson's advice, I still have a problem:

    The link of bach-categories in manage panel is following:
    http://localhost/wordpress/wp-admin/edit.php?page=batch-categories.php

    But not the right link just like other button: http://localhost/wordpress/wp-admin/batch-categories.php

    Why? Need Help!
    PS: I use WordPress v1.5.1.1

  9. chweifly
    Member
    Posted 9 years ago #

    OH! It's strange! If I rename "batch-categories.php" to anything, it work great!

    Who can have an explication: why can't I use the name "batch-categories.php"?

  10. Lorelle
    Member
    Posted 9 years ago #

    I found the same thing, and no reason why. I call it batch2.php and it works.

    To change the number of posts show:

    Find:
    // by default, show only 10 posts
    if(empty($cat)&&empty($s))
    {
    if(empty($num))
    {
    $showposts=10;

    Change 10 to whatever you want. I choose 50. I later changed that to 75 and then 200 and let me warn you. When this script says it consumes a lot of resources, at 200 IT DID. Took forever. I recommend keeping it to 75 or below, less is best, unless Kaf can fix that power hungry part in some way.

    To change it is now easy, so when I was in a major crunch to use it at 200, I did, but then changed it back to 50 after wards. Once the dirty work is done, I hardly use it, so this is a use as you need kind of utility, but when you need it, there ain't nothing better!

  11. chweifly
    Member
    Posted 9 years ago #

    If it have more filter option, Great More!

  12. thebloke
    Member
    Posted 9 years ago #

    Thanks for the tip!

    I was able to change the display option to 600 and complete what I wanted to do for now, but it would still be good to have a fix for the plugin so that it can be usable in the future.

  13. Skeary
    Member
    Posted 9 years ago #

    I'm about to go through all these recommendations and test my luck ;)

    Is there any chance of a no-piddly-bits version of the plug-in being released soon or ever?

  14. Lorelle
    Member
    Posted 9 years ago #

    I kep asking that every other day - but so far....just asking. Need to kick someone's buns. This is an AWESOME tool.

    Just remember, it's not a plugin, though some have tried to make it one. I wish it was. It should just sit in your /wp-admin folder, if you find the right version, and run from typing in the link in the address of your browser.

  15. nmallory
    Member
    Posted 9 years ago #

    So...nothing I've done will make it work. This would be an awesome tool as I keep resorting my categories.

  16. cybertooth
    Member
    Posted 9 years ago #

    Hello, I have been trying to make batch-categories work for about ahalf an hour and I don't understand the problem it has on my WP install.

    I get this message when I try and load it :

    Fatal error: Cannot instantiate non-existent class: cachedfilereader in /var/www/free.fr/a/c/cybertooth/carnet/wp-includes/wp-l10n.php on line 72

    The paragrah containing line 72 in the given file consist of this :

    function load_textdomain($domain, $mofile) {
    global $l10n;

    if (isset($l10n[$domain])) {
    return;
    }

    if ( is_readable($mofile)) {
    $input = new CachedFileReader($mofile); //line 72
    } else {
    return;
    }

    $l10n[$domain] = new gettext_reader($input);
    }

    Anybody can help ?

  17. lcf
    Member
    Posted 8 years ago #

    I get the "batch-category" loaded under wordpress 1.5.2. But, it does not show the categories of the listed post. All blank.

    Anyone using "batch-category" with WordPress 1.5.2?

  18. aquarius
    Member
    Posted 8 years ago #

    I've updated Batch Categories to work properly for 1.5.2. See the updated script for more and installation instructions.

  19. moshu
    Member
    Posted 8 years ago #

    That's a great news - thanks, aquarius!
    I am sure many people will be happy to use it.

  20. bernadette
    Member
    Posted 7 years ago #

    is there a final version for this that works with ver 2.0?

    thanks!

  21. KerimFriedman
    Member
    Posted 7 years ago #

    Bump on bernadette's question.

  22. moshu
    Member
    Posted 7 years ago #

    No need for bumping. Since November 2005 (=last year!) nobody ever posted anything about it. Sorry.

  23. novaangel
    Member
    Posted 7 years ago #

    Correct it to:

    $title = __('Batch Categories');
    $parent_file = 'edit.php';
    require_once('admin.php');
    require_once('admin-header.php');

    If you get a blank page.
    (that is add

    require_once('admin.php');

    above the

    require_once('admin-header.php');

    in batch-categories.php

Topic Closed

This topic has been closed to new replies.

About this Topic