WordPress.org

Ready to get started?Download WordPress

Forums

Restrict Categories
Would be a great plugin... (6 posts)

  1. africanforest
    Member
    Posted 1 year ago #

    ... if it would work with WP 3.5. Unfortunately i could not get it to work wether by user restrictions nor by role restrictions.

    http://wordpress.org/extend/plugins/restrict-categories/

  2. Ashep
    Member
    Posted 1 year ago #

    Exactly the same problem. Anyone got an answer?

  3. Sarah Anderson
    Member
    Posted 1 year ago #

    I've got it running on both 3.5 and 3.5.1 without any problems. Just installed it on a 3.5.1 install. Possibly a plugin clash? Have you tried deactivating any plugins remotely similar eg. user role manipulation plugins, or category ones? It works fine with the Members plugin from Justin Tadlock.

  4. chriskendall1
    Member
    Posted 1 year ago #

    I'm having the same problem. These are the plugins that I have running:

    Active Directory Integration
    Custom Login Page
    Require Login

    I've cleared out all the other plugins, but I need the above to keep working.

    Any advice/help would be appreciated!

  5. MarjoriesDaughter
    Member
    Posted 1 year ago #

    We have really liked this plugin up to the 3.5.1 update. At that time, admin users can no longer either see Categories nor assign posts/pages to categories. If we deactivate this plugin, they can see the categories again. At this point, we are looking for an alternative plugin. It's pretty weird for my client to have to deactivate this plugin when he adds new posts and then reactivate it.

  6. keendev
    Member
    Posted 1 year ago #

    Hi guys,

    I have seemed to fix the issue please do the following and let me know if it works for you.

    I believe the issue stems from the following:

    If you delete a category it remains in the cached options of categories a user can post to. Now since Restrict Categories will loop through all these categories and try find the ID a deleted category will return no id cause the query to mess up. This could be something inside 3.5 causing the issue.

    So do the following:

    Find:
    $this->cat_list .= $term_id . ',';

    Above Add:
    if ( !empty( $term_id ) )

    You will need to perform this twice. The lines associated with these edits is 461 and 484.

    Please let me know what happens :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.