Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter rockwell08

    (@rockwell08)

    I’ve been playing some more with this, and it appears it does work, it just doesn’t display properly in the control panel, since the new update to the admin interface with the modules and everything.

    It looks like only the display needs to be updated…

    Thanks!

    rockwell08,
    Did you really get this to work on 2.7?
    And if so, can you please share?

    Thanks

    Thread Starter rockwell08

    (@rockwell08)

    Web11, I just installed it and ran with it. It doesn’t do anything administratively, but it does restrict which categories a user can post to, just not what categories a user can see. I’m also using TDO mini forms, and everytime a user posted from the form, it posted to a specified category (in my case, I created a category for each user upon account creation). It ended up not being exactly what I needed, so I’ve extended TDO Mini forms a little more to get what I need.

    Probably not exactly what you were looking for, but I hope it gives you some direction…

    it does work, it just doesn’t display properly in the control panel

    rockwell08, how were you able to ascertain this? Is there some URL that I can type in manually to access the otherwise-invisible control panel?

    Thread Starter rockwell08

    (@rockwell08)

    I ended up writing my own plugin to bind a user to their own category. When a user signs up, I just created a category for that user, then when that users posts, i just make sure that the post gets assigned to that user’s category.

    Working with v0.2b, line 79 of bind-user-to-cat.php looks like this:

    add_management_page(__('Bind user to category'), __('Bind user to category'), 10, basename(__FILE__), "butc_form");

    This is supposed to create a sidebar link to the Bind User to Category admin page, but the add_management_page() function is deprecated, so it doesn’t work, making the plugin admin page inaccessible and giving the impression that the plugin doesn’t do anything.

    Replacing this line with

    add_submenu_page('users.php', __('Bind User to Category'), __('Bind User to Category'), 10, basename(__FILE__), "butc_form");

    fixes the problem, adding the Bind User to Category admin page link to the Users menu.

    From: https://www.technokinetics.com/bind-user-to-category-wp-28/

    Also, I used Adminimize plug-in to get rid of the categories option for bound to category users. Bind User to Cat is supposed to do it, but doesn’t. Adminimize works great for that as well as other option removals.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Bind user to category] Updated for 2.7?’ is closed to new replies.