Results 1 to 3 of 3

Thread: Custom WHMAP import script

  1. #1
    Join Date
    May 2007
    Posts
    166

    Default Custom WHMAP import script

    Hello,

    I'm working on my custom WHMAP import script, because I need to import only user accounts and invoices, and user ID must be the same like is in WHMAP database.

    Now, I don't know how to generate a new client area passwords like "gaHEap3Zow==" ?
    What's is used for encryption ?
    Can I leave this field blank and WHMCS will create a new password automatically if is blank ?


    Update: what is defined in field "tblinvoiceitems.relid" ?


    Regards

  2. #2
    Join Date
    Dec 2007
    Posts
    7

    Default

    You need to use the WHMCS API to encrypt the passwords before inserting them into the whmcs database. Instructions on this are in the WHMCS manual.

    Regards

    Will

  3. #3
    Join Date
    Feb 2007
    Location
    London, United Kingdom.
    Posts
    3,885

    Default

    You might want to contact WHMCS to see if there is a later version of the existing script, brought upto date with the 3.5.x db changes

    I submitted a modified version a while ago, which lets you pick-and-choose what you want to import, and handled a few other conditions not originally covered.

    Not being a php programmer my code was probably appalling, but maybe the WHMCS guys have incorporated the concept of the changes into the standard version
    Rob Golding UK Web Hosting est 1996 - Cloud/VPS/Servers in own UK London Docklands DataCentre - ICANN Accredited Registrar (PM me for a free WHMCS domain reseller module)
    WHMCS Modules: Registrars:CentralNIC, RRPProxy, AstutiumDomains, Cacti Bridge, APC/Raritan Power Control, Linux-Ensim, DNS Manager, VAT Reports, Samba Control

Similar Threads

  1. Custom Import Script
    By osirion in forum Import Scripts
    Replies: 1
    Last Post: 07-02-12, 11:58 PM
  2. Custom import script - Client language
    By alexander.giehl in forum Customisation & Integration Questions
    Replies: 2
    Last Post: 08-17-11, 03:28 PM
  3. Custom Import Script
    By Mark Donne in forum Import Scripts
    Replies: 0
    Last Post: 02-12-08, 10:23 PM
  4. Status on the WHMAP import script?
    By mrprez in forum Import Scripts
    Replies: 5
    Last Post: 09-04-06, 10:48 PM