Support » Plugin: ThirstyAffiliates Affiliate Link Manager » How to Disallow Other user-group from editing/adding an Affiliate link

  • Resolved die2mrw007


    I am running a multi-user blog and wish to disallow the addition of any link to the ThirstyAffiliate system, disallow modification of thirsty affiliate cloaked links for all other user-group except administrator.

    Also wish to hide the Thirsty Affiliate Dashboard menu for all other user-group except Administrator.

    Please guide me accordingly to accomplish this task.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Josh Kohlbach


    Hi die2mrw007,

    I haven’t tested doing this specifically in a MU environment but I’d recommend using something like Role Scoper or Capability Manager Enhanced.

    ThirstyAffiliates introduces a custom post type so you should be able to block access based people’s user role.

    I have tried those mentioned plugins and as I have experienced, the plugin is not maintained/updated by the plugin author with respect to the latest developments in wordpress and other functionalities.

    The major thing is that the plugin clashes with many other features of wordpress plugin and third party plugins making the situation even worse. When installed with Capability Manager Enhanced, the sitemap link of the blog gets broken (WordPress SEO by Yoast enabled Sitemap)

    I would really appretiate if you let me know a workaround for this situation. All I need is total control of the “editing link” feature of thirstyaffiliate so that no other user group other than administrator could edit the links.

    Plugin Author Josh Kohlbach


    Hrm, best I could do is give you is a snippet to remove the menu for non-admin:

    function removeThirstyMenu() {
    	if (!current_user_can('manage_options'))
    		remove_menu_page( 'edit.php?post_type=thirstylink' );
    add_action('admin_init', 'removeThirstyMenu');

    Failing that, I recommend the Adminimize plugin which is very good at hiding specific menu items. I believe it’s MU compatible.

    Hi, I can’t make a new topic, so I think it’s best to post my question here?

    Hi, the plugin is not working. I get a 404 redirect everytime:

    I followed the faq: but it’s still not working for me.

    Thanks in advance,

    Plugin Author Josh Kohlbach


    Hi hanshans, your question has been answered in the other thread you started. Closing this one off..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Disallow Other user-group from editing/adding an Affiliate link’ is closed to new replies.