-
Author
-
November 8, 2017 at 18:05 #179276cgaParticipant
Hi everyone,
I have a question about membership. You provide a piece of code for a user to suscribe as default level
add_action(‘user_register’, ‘kleo_pmpro_default_level’);
function kleo_pmpro_default_level($user_id) {
pmpro_changeMembershipLevel(1,$user_id);
}
I need to add an expiration date in the code. Can you tell me how I can do it?
Thanks
November 10, 2017 at 01:05 #179416LauraModeratorHello, what do you mean by expiration? That is not available, you will have to delete the code when you don’t want to use it anymore
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 11, 2017 at 17:30 #179554cgaParticipantHi,
thanks for your reply.I need users to register for free for 48 hours. After that access must be blocked until the customer chooses a payment method. Is it possible?
Thanks.November 13, 2017 at 13:14 #179722LauraModeratorHello, you can create a level that expired in 48h and has access to all ( i suggest disabling private messages ) and this way when they register ( make sure that accounts with no leve has restrictions to all ) after they choose the trial they can test it and after 48h its expired
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 13, 2017 at 13:42 #179728cgaParticipantHi, in fact, you can create a level with a date expiration but I have a problem.
When the customer logs with the registration form, it does nothing.
I need when you use the registration form, automatically do it for free and for 48 hours.
I saw here a piece of code that could do that but I can’t insert the expiration date.
What can I do to make it free and for 48 hours through the registration form?Thanks
November 14, 2017 at 18:45 #179847LauraModeratorHello, what we can do, is automatically assign all new users that free level, i can help you with that but will need admin access
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 14, 2017 at 18:45 #179848LauraModeratorIs like your code, but the level itself expires after 48h it can be setup at the level settings, not at the code
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.