Page 1 of 6 123 ... LastLast
Results 1 to 20 of 115

Thread: DA User Tool

  1. #1
    Join Date
    Jun 2003
    Posts
    1,471

    DA User Tool

    This is a tool that currently allows Users to be converted to Resellers, Resellers back to Users, and changing of any user's owner. See below for a full features list.

    Current Version: v1.2
    Last updated 2004-02-06 at 7:01 PM EST

    Instructions:
    Features:
    • Convert Users to Resellers
    • Convert Resellers to Users
    • Change the owner of users
    • RH and FBSD support

    Have fun!
    Last edited by l0rdphi1; 02-06-2004 at 04:19 PM.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  2. #2
    Join Date
    Sep 2003
    Location
    Montreal
    Posts
    217
    GREAT idea here

  3. #3
    Join Date
    Jun 2003
    Posts
    1,471
    Thanks

    Example run:
    perl dausertool.pl -fr l0rdphi1 sumaleth
    User `l0rdphi1' has sucessfully been converted to a Reseller.
    User `sumaleth' has sucessfully been converted to a Reseller.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  4. #4
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326
    Tool added to the DA server checklist under 'add-ons & advice' section

    http://www.directadmin.com/forum/sho...0&pagenumber=1

    Chris
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  5. #5
    Join Date
    Jun 2003
    Posts
    1,471
    Good job
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  6. #6
    Join Date
    Jun 2003
    Location
    The Netherlands
    Posts
    415
    Perhaps this could be integrated in a new version?

  7. #7
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280
    very very nice, i think this might come in handy!
    Mark Harris
    mharris@octane-design.biz

  8. #8
    Join Date
    Jun 2003
    Posts
    1,471
    S2S-Robert sent me an email asking for some new features. Here was the key part of my responce:
    I do actually have plans to extend the tools ability via 'change user name' and 'change user owner' functions, along with anything else thought up, but all time permitting, of course.
    On incorporating this into DA, I don't have any problems with that, but I'm not exactly sure how it would work, especially when I want to release a new version, but nonetheless it could work.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  9. #9
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280
    you would create a custom script linked out of DA

    rename user shouldnt be too hard to do...
    Mark Harris
    mharris@octane-design.biz

  10. #10
    Join Date
    Jun 2003
    Posts
    1,471
    Originally posted by phriendly-Mark
    you would create a custom script linked out of DA
    Yes, I see... linked out of DA? *grumble* Not sure exactly how you mean to do that there Maybe we should wait to see what John/Mark thinks of this and how it would be done.

    Originally posted by phriendly-Mark
    rename user shouldnt be too hard to do...
    That's the easy part


    *edited for clarity*
    Last edited by l0rdphi1; 11-29-2003 at 08:46 AM.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  11. #11
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280
    linked out of DA with an icon just as if it was a standard feature!
    Mark Harris
    mharris@octane-design.biz

  12. #12
    Join Date
    Jun 2003
    Posts
    1,471
    Okay, I see.

    Hmm.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  13. #13
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280
    I had john make me some API functions to allow exactly this to happen. I will make an php class and perl module to use these fast and easily once 1.203 is released.
    Mark Harris
    mharris@octane-design.biz

  14. #14
    Join Date
    Jun 2003
    Posts
    1,471
    If they're API functions I can probably do it simply by using the class I already wrote; can't wait to see how this turns out
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  15. #15
    Join Date
    Jun 2003
    Location
    Perth, Australia
    Posts
    280
    you can, they are pretty simple.
    Mark Harris
    mharris@octane-design.biz

  16. #16
    Join Date
    Jun 2003
    Posts
    1,471
    Originally posted by phriendly-Mark
    I had john make me some API functions to allow exactly this to happen. I will make an php class and perl module to use these fast and easily once 1.203 is released.
    Any news on these APIs?
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  17. #17
    It this what you're looking for?

    http://www.directadmin.com/features.php?id=234

    I'll try and update the api.html file, as there are a few commands that need to get added.

    John

  18. #18
    Join Date
    Jun 2003
    Posts
    1,471
    Okay, I *think* I understand where this is going. I can create an external script and tap into DA's current session to validate the end user. Interesting.

    This brings a few questions up for me. First, where can I get 'session_id' from? A cookie? If this is stored in a cookie, will not the browser have to access scripts via port 2222? Maybe the cookies aren't port-2222 specific, but I'm positive a script couldn't be located just anywhere on the server.

    Looking good though; keep up the good work. I guess I was after more of a 'plugin' API for DA. An API where I wouldn't have to modify a skin to link my script directly from DA, e.g.,
    PHP Code:
    $plug = new Plugin('DA User Tool');
    $plug->add_admin_option('User Tools','CMD_USER_TOOLS');

    if ( 
    $plug->cmd 'CMD_USER_TOOL' )
    {
        
    // someone clicked on the user-tools link...

    }


    // or even a structure like:
    class DAUserTool extends DAPlugin {

        var 
    $name 'DA User Tool';
        var 
    $key 'DA_USER_TOOL'// cmd key to get into this plugin

        
    function chooser()
        {
            if ( 
    $this->user_level == 'admin' && ... ) 
            {
                
    $this->user_tools_menu();
            }
        }

        function 
    on_add_user_save()
        {
            
    // do stuff... :}

        
    }

        function 
    user_tools_menu()
        {
            echo 
    "blah blah";
        }


    In DA I'm not sure how CMD's are handled, but to do this you'd most likely have to call an external PHP and/or Perl script when the CMD value specified can not be found in DA itself.

    Just an idea, but it's probably a bit too much.
    Last edited by l0rdphi1; 12-03-2003 at 11:45 AM.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  19. #19
    |SESSION_ID| and the cookie named "session"

    John

  20. #20
    Join Date
    Sep 2003
    Location
    The Netherlands
    Posts
    556
    I am really really really sorry for this giant kick, but i do have a question.

    I used this tool today to migrate a user to a reseller account, but the reseller account the user is created from still lists it in allocated quota size.
    How can i make sure this migrated user, made by a reseller called 'abcd' entirely goes to the admin as if it was created by the admin user.

    Second note: After the migration no IP's are standard transferred to the reseller to use...

    Thanks in advance,

    Icheb

    edit:
    I can explain this way simpler :

    Ok, so far i have :
    * converted the user to a reseller
    * added an ip to use for the reseller
    * changed the user.conf so that the reseller appears to be created by admin instead of another reseller
    * changed users.list of the original reseller so that the new reseller is no longer listed

    Problem : The for the user/new reseller allocated disk space is still available on the reseller panel for the reseller that previously had the user. How do i change this to reflect the correct settings without deleting the reseller ?
    Last edited by Icheb; 01-19-2004 at 02:04 PM.

Page 1 of 6 123 ... LastLast

Similar Threads

  1. Ability to customize what the user backup tool does
    By interfasys in forum Feedback & Feature Requests
    Replies: 0
    Last Post: 07-01-2009, 05:21 PM
  2. My.cnf tool
    By wattie in forum Feedback & Feature Requests
    Replies: 0
    Last Post: 10-04-2008, 12:44 AM
  3. User quota information in tool tip.
    By hky123 in forum General Technical Discussion & Troubleshooting
    Replies: 0
    Last Post: 02-04-2008, 11:21 PM
  4. Sites not displaying after using the user backup tool in DA
    By tarquel in forum System-Level Technical Discussion
    Replies: 4
    Last Post: 03-23-2007, 01:47 PM
  5. ensim --> DA tool
    By outpernet in forum DirectAdmin-related Products and Services [Advertising Forum]
    Replies: 5
    Last Post: 11-12-2005, 07:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •