Limit Categories Plugin (4 posts)

  1. supor1t
    Posted 8 years ago #

    I downloaded Owen's Limit Categories plugin 1.5.2 from: http://redalt.com/Resources/Plugins/Limit+Categories

    Right off I needed to replace <? in the first line with <?php to get it "working." Now everything seems to work fine except that the /wp-admin/post.php page comes up completely blank unless the "post to any category" option is selected under options > Limit Cats. This defeats the whole purpose of the plugin. Does anyone have any experience with this plugin, know how to get it working, or know of an alternative plugin?

  2. supor1t
    Posted 8 years ago #

    I fixed the white screen problem by changing this line:
    if(preg_match('|/wp-admin/post.php|', $_SERVER['REQUEST_URI'])) {

    to this:
    if(preg_match('/wp-admin/post.php', $_SERVER['REQUEST_URI'])) {

    Can a php guru please explain to me why editing these lines should be necessary? The syntax seemed fine to me.

  3. Jaycos
    Posted 8 years ago #

    thanks, that was very helpful!

  4. kalico
    Posted 8 years ago #

    Joel Rothschild is working on improving Owen Winkler’s Limit Cats plugin. It doesn’t work properly in 2.1.x, but it is a great complementary plugin to Role Manager, which is now being handled by Thomas. The revision starts with some modifications to the original, two options, found here: http://mahzeh.org/?p=24
    Then continues with a totally renewed version here: http://mahzeh.org/?p=25. There seems to be some trouble with the all-new version (a white screen problem, to which I will now attempt to apply the fix mentioned here!), but the earlier, modified version worked well for me.

Topic Closed

This topic has been closed to new replies.

About this Topic