By default, the date in the PayPal extension displays as MM/DD/YYYY. Here is a filter for the extension to change that display to whatever date format is set in your WP settings. Continue Reading →
Tips and Tricks
WP-Members 3.1 will include an image upload field that will be able to be used for many things, including user avatars. Since this is a new feature, I expect that it will take a little bit of time before the process is fully mature.
With that in mind as well as considering that not everyone updates to the latest version and that some people just like the WP User Avatar plugin, this post describes a nicely integrated process for a user to update their avatar on the WP-Members user profile screen.
This code snippet will add a link to the WP-Members user profile update screen to update the user’s avatar, and will set up a custom screen for avatar update screen.
The snippet can be used “cut-and-paste” but also has some elements that could be customized. Additionally, the features of the WP User Avatar front end process could have some CSS applied for theme integration. The screenshot here is a demo site using Twenty Fourteen, so colors and buttons will look different for you.
I recently had a user ask how he might be able to push a user to PayPal without the need to click the “Continue to PayPal” button. Since the extension relies on the PayPal IPN system and is intended to avoid the need for setting up payment gateways and the headaches of managing user’s financial transactions, the primary thing you give up is reducing the steps to complete the transaction. So I thought the question was an interesting challenge. This post provides the code snippet that was the result. Continue Reading →
This code example is similar in both the code used and the concept as what was outlined in Force User to Update Password from Randomly Set Password. The main difference here is that we are looking for the user to update required user fields that may not yet be complete.
This may be useful in situations where user data is imported into the site but may not be fully complete and you need the user to update (or confirm) their information before continuing to use the site. Continue Reading →