Charge for access to specific pages. Requires the Paid Memberships Pro plugin.
…fig.php or another custom plugin to set.)
|shortcodes||Fixed some bugs in the pmpro_addon_packages shortcode.|
|pmpro-addon-packages.php||Commented out PMPROAP_EXP_DAYS constant definition. (Put it in wp-con…|
=== PMPro Addon Packages === Contributors: strangerstudios Tags: pmpro, paid memberships pro, ecommerce Requires at least: 3.6 Tested up to: 3.8.1 Stable tag: .4.2 Allow PMPro members to purchase access to specific pages. This plugin is meant to be a temporary solution until support for multiple membership levels is added to PMPro. You must have the latest version of Paid Memberships Pro installed (currently 1.4.5). == Description == Story * Admin designates a post as an "addon package". * Sets a price for access to the post. (pmproap_price) * Selects which membership levels can purchase the package. (pmproap_levels) * For users without access, the page will show a link to purchase at the bottom of the page. * Purchase goes to either a new checkout page or the PMPro checkout page with some parameters passed in. * After checking out, they are taken to a new confirmation page or the PMPro confirmation page with extra info. * After purchasing, the user ID is added to post meta (pmproap_users). The post ID is also added to user meta (pmproap_posts). Limitations * Only one time charges. * No tax. * No discount codes. == Installation == 1. Upload the `pmpro-addon-packages` directory to the `/wp-content/plugins/` directory of your site. 1. Activate the plugin through the 'Plugins' menu in WordPress. 1. Edit a post or page to set a price for it. == Frequently Asked Questions == = I found a bug in the plugin. = Please post it in the issues section of GitHub and we'll fix it as soon as we can. Thanks for helping. https://github.com/strangerstudios/pmpro-addon-packages/issues = I need help installing, configuring, or customizing the plugin. = Please visit our premium support site at http://www.paidmembershipspro.com for more documentation and our support forums. Please Note: This plugin is meant as a temporary solution. Most updates and fixes will be reserved for when this functionality is built into Paid Memberships Pro. We may not fix the pmpro-addon-packages plugin itself unless it is critical. == Changelog == = .4.2 = * Added optional "expires in X days" global * Fixed bug in pmpro_addon_packages shortcode. * Supporting non-default wp-content directories. (Thanks, Adam-Moss on GitHub) = .4.1 = * Added pmproap_action_add_to_package and pmproap_action_remove_from_package hooks. (Thanks, DanHarrison) = .4 = * Added shortcode to show addon packages. * Fixed confirmation URL to properly add the ap parameter. The "continue on to ..." link now appears in the membership confirmation. (Thanks, jons7) = .3 = * Updating text a bit for cases where you are checking out for a level you already have to purchase a package. = .2 = * Wrapped some functions in if(!function_exists("...")) for PMPro 1.7.5 support. = .1.3 = * The pmproap_profile_fields function can now take either a user_id or user object. This will fix some bugs. * Using the pmpro_paypal_express_return_url_parameters filter to add the 'ap' param to the PayPal Express return URL to make this plugin more compatible with PayPal Express. = .1.2 = * Added the pmproap_all_access_levels filter to allow developers to designate certain levels as "all access levels", which will have access to all addon packages without being charged. Some code to use this: https://gist.github.com/3845777 * Added purchased packages to the edit user/profile page with the ability to add/remove packages. = .1.1 = * Changed what text is shown when a page is locked. * If you don't have a required level, when viewing a locked page, the checkout link will choose a free membership level to switch to if one is available. = .1 = * Initial release.