Importing old phpnuke existing users

Discussion in 'Integration' started by fuzioneer, May 1, 2004.

  1. fuzioneer

    fuzioneer Guest

    I am in the process of installing amemberPro with an existing phppal phpnuke v6.9 setup.

    I have over 3000 existing paid members which i want to import into amember pro to keep a transparent to the users upgrade path :)

    Has anyone done this before and could give useful pointers ?

    also what version of NSN Groups do i need to run on my setup with amember ?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    First, install and confugre aMember with phpNuke plugin. Get latest NsnGroups plugin compatible with phpNuke 6.9 (it is necessary that NSNGroups plugin compatible with YOUR version of phpNuke).

    Then, when you get everything installed and configured, you may import users from NSNGroups to aMember. In the phpNuke plugin folder, you may find script
    import_n.php
    Edit this script and remove second line ( exit(); )
    Also edit following lines in the script :
    $p['expire_date'] = '2099-12-31'; // subscription expiration date for imported members
    $p['product_id'] = 1; // aMember product #

    Then access this script via Web, like http://yoursite.com/amember/plugins/protect/phpnuke/import_n.php
    It will take some time ,and it will add all phpNuke customers to aMember database.

    Then click to aMember CP -> Rebuild Db. It's all - import finished.
  3. fuzioneer

    fuzioneer Guest

    ive followed your advice, but when i try and execute the import_n.php file it prompts me to save/open the file and doesnt execute it !!!

    i have checked and the file perms are 777 on the file ?
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    make sure your server is correctly configured. files with extension .php must be never available for download, no matter which permissions are set.

    you can send me ftp details if you need help with this.
  5. fuzioneer

    fuzioneer Guest

    resolved the download issue, but I now get this error message when i try and execute the import_n.php file:-

    <b>Warning</b>: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in <b>/home/admin/public_html/amember/plugins/protect/phpnuke/import_n.php</b> on line <b>22</b><br />
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Have you configured phpNuke plugin at aMember CP -> Setup -> phpNuke? Which value did you enter for phpNuke DB?
  7. fuzioneer

    fuzioneer Guest

    If i go to control panel -> Setup then phpnuke isnt listed as an option to click on at the top, even though if i click on plugins it is highlighted in the protect section therefore i cannot configure it ?

    I have selected .htpasswd, php-include and phpnuke, the former two have clickable links off the setup root menu whereas phpnuke does not ?
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    There is a problem with upload. File
    amember/plugins/protect/phpnuke/config.inc.php
    has not been uploaded or broken during upload. Please check it.
  9. fuzioneer

    fuzioneer Guest

    the file is def there, and i have reuploaded to ensure integrity to no avail !!!

    I will email you the contents of the file to see the small changes for my particular db credentials if that will help ?
  10. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    If you send me aMember CP login info and FTP info, I will try to help.
  11. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021

Share This Page