• Resolved prashanthag

    (@prashanthag)


    HI

    How to achieve the following using UPICRM plugin
    1. HOW to Provide Access permission to upload/Add New user for UpiCRMUser.
    2. How to send a Newsletter for every new lead uploaded by UPICRMuser or UpiCRMadmin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter prashanthag

    (@prashanthag)

    I added following code but it shows error not access this page suppose login as subscriber
    if (is_admin())
    {
    add_action(‘admin_menu’, ‘my_menu’);
    }
    else
    {
    add_action(‘admin_menu’, ‘my_menu1’);
    }

    function my_menu()
    {
    add_menu_page(‘import_export’, ‘import_export’, ‘subscriber’, ‘/admin.php?page=upicrm_import_export’, ”);
    }

    function my_menu1()
    {
    add_menu_page(‘import_export’, ‘import_export’, ‘admin’, ‘import_export’, ”);
    }

    Plugin Author Upi

    (@upi)

    Hi
    1.UPI uses users from the wordpress database, so any administrator can assign a user to the lead.
    2. The notification about the occurred actions is assigned in the User Center
    3. Subscriber by access level is lower than admin, probably therefore the code resulted by you does not work

    Thread Starter prashanthag

    (@prashanthag)

    if (current_user_can('subscriber')) 
    			   {
    			   
    			   add_submenu_page( 'upicrm_index', __('Add Lead','upicrm'), __('Add Lead','upicrm'), 'read', 'upicrm_Add_Lead', array( $this, 'onDisplayAddLead' ) );
    
    }
    Plugin Author Upi

    (@upi)

    Hello!
    At you all turned out?

    @prashanthag where did you add the code?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow add new Lead Access permission to UpiCRMUser’ is closed to new replies.