The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limit plugin for some resselers

Discussion in 'cPanel Developers' started by activa, Nov 28, 2010.

  1. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Hello ,

    i have a cpanel plugin , is there any option or howto limit this plugin for some resselers user's . now this plugin is for X3 Theme , and availabale for all users usinf the X3 Themes , i want to limit this plugins for just some reseller's users .

    Thanks
     
  2. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This can be done, but you will need to manually create your dynamic UI file to do so.

    AddingIconsAndGroup < DeveloperResources < TWiki


    Now, with this, you will notice that there is an "if" block you can use, under this you can do something like if=>$CPDATA{'OWNER'}=='resellername' to limit the users that see the plugin.
     
Loading...

Share This Page