This topic contains 3 replies, has 2 voices. Last updated by Raam Dev 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Oct 30th, 2012 at 1:49 pm #30174 | |
Hi All, I have built a custom Login Welcome Page and I am already using PHP conditionals to display the appropriate information. The page displays links to custom capability memberships they have paid for. That works great. I am selling access to some external sites and I control their access by creating their login information on that site. I have master account privileges so I can create multiple users under my login. I need to be able to be notified of Payment and create their login details before they can see their access on the Login Welcome Page. My question is I’m not sure what conditional to use that I could set on the WordPress user page possibly that I could check for on the Login Welcome Page. I don’t want them to see their access for that particular link until I’ve completed my step. I saw there was an administrative notes section in the user page. I’m thinking if I could test for null? I could populate a string to signify I’ve completed my steps. The PHP could test this? I don’t know if this is accessible though. Or could I place a value in the custom value field and test that? I’m only using custom capabilities so I don’t care about upgrade / downgrade. Could I use the custom capabilities field and add a field? Then I could test for that? If the user subscribed to something else it would be overwritten, I would be notified of a payment, and start the process over right? Any ideas? UPDATE: It seems to work. So after I register the user to the external site I come back and put in “elr” into the custom value box and then when they go to the Login Welcome Page it will show their link. So this is theoretical as I am still in development and have not processed a payment yet. Don’t know if it will populate the custom value box with anything yet. Thanks.
|