CONTENTS OF CURRENT PATCH ------------------------- 1. Correction of minor bug in hook user: $user had not been declared as global in lm_paypal_donations and lm_paypal_paid_adverts, which prevented these lists from displaying on user profile page. 2. Parallel publishing system for paid content: LM PayPal's legacy API uses subscription status to determine if the title, body and teaser should be obscured. Nodes are set as 'published' ($node->status == 1) throughout. This patch implements a system to have node->status default to 0 when content is created, and sets it to 1 when the content is paid for. a. New field 'toggle_node_status' added to table lm_paypal_subscriptions. b. Control of 'toggle_node_status' added to Subscriptions Edit. c. Logic to determine if node->status should be used, and to control node->status added to lm_paypal_paid_adverts. d. Processing of ipn's in lm_paypal_subscriptions calls routines in lm_paypal_paid_adverts. Calls are wrapped in module_exists() to prevent unknown function errors if lm_paypal_paid_adverts is disabled. e. Hook nodeapi in lm_paypal_paid_adverts now checks subscription status, and unsets node->status if necessary for insert and update operations. f. Hook cron in lm_paypal_subscriptions now includes a routine to synchronize the states for node->status and subscription->status. 3. Changes to README.txt: README.txt has been updated to explain the use of the new options. Patch was created against lm_paypal_5x.1x_dev revision 1.32.2.13, Sun Jan 18 12:45:16 2009.