PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Drupal custom module add user manually lm_paypal subscription

November10

Download. I have created my first module which manually adds subscribers to lm_paypal subscription module, ie if the admin needs to add subscribers to the lm_paypal subscription they can do so using the module.

It is not an ideal solution for beginners but is useful who people who know what they are doing.

Click here to download the file.

posted under Drupal
2 Comments to

“Drupal custom module add user manually lm_paypal subscription”

  1. On February 3rd, 2010 at 3:26 pm lesley Says:

    Thanks for this, I may use your solution (the problem is lm_paypal assumes that a user ID exists, and can be assigned a ’subscriber’ role but if no user ID exists, that won’t work!) I’m not sure if your module is doing this or is just adding the role to a user for testing purposes, but thanks.

  2. On February 10th, 2010 at 9:06 am admin Says:

    You have to first add the user using the registration form then you can use this module to add the lm_paypal subscription. You have to even given the user the designated role manually from the admin->user->user page.

    This is the only way I could play around with lm_paypal to synchronize the users listing on my website. Otherwise it was a mess keeping track of users who had bought membership through lm_paypal and the ones i had added manually.

    Check http://www.phpjavascript.com/drupal-lm_paypal-export-csv-subscriptions-node-profile/ where i have altered the export csv module to export users list who had a particular role on my website listing lm_paypal subscription details, user details (extra fields in the registration form). It is a complicated one and a very customized solution.

Email will not be published

Website example

Your Comment:

 

1,852 spam comments
blocked by
Akismet