Tag: actions
-
Set user expiration to a fixed date
The PayPal Subscription Extension operates by setting a user’s expiration date to today + the subscription period. For example, if the subscription period is 1 year, the expiration date will be one year from now. But what if you want all users to expire/renew on the same day of the year? Or if you would…
-
Set user forum access when using bbPress with the PayPal subscription extension
When using WP-Members with bbPress and the WP-Members PayPal subscription extension, there are some additional considerations for your setup to integrate these plugins smoothly and restrict forum access for paid users who have a valid expiration date.
-
Confirm password at registration and have password meet specific criteria
I’ve shown other code snippets for similar things – password validation at registration and having a password meet specific criteria. However, the password requirements example was geared toward a setup that was requiring this when a user changes their password (they were not allowing it to be set at registration). So here is an example…
-
Use an invitation code with the PayPal subscription extension
When running the PayPal subscription extension, you might have some users you want to give a free account to. Or you might want to offer a discount to users with a specific code. Here is are some code snippets that will allow you to validate a promotion code in the registration form and if it…