-
Hey Ahmed,
I would like to restrict access to certain pages only to users who have completed their user profile (i.e. filled all fields, e.g. address, phone number, etc.).
I saw that[userpro_private restrict_to_]
allows restriction only to verified users or to users with a specific role.
Since I don’t want users to have to request verification and then manually accept it if they completed their profile, I was wondering if I can do any of the following things:
– Restrict content for users who have a certain field filled (e.g. only users with a phone number)*,
– Automatically verify users who completed their profile,
– Automatically change the role of users who completed their profile.I’d much prefer the verification, because I’m also using myCRED for UserPro, and thus will be able to award points for verification.
*On registration only email, username and password are required, but on profile edit all needed fields are required, so if a user has one of the fields filled, I know they have them all.
I don’t mind adding any additional php code, but I’d prefer not to break the plugin for future updates.Thanks in advance!
bump
I really need to know if there’s any way to do this, as this is a crucial functionality for me.
Thanks!Hey I am extreamly sorry for the delay , but still the functionality is not currently available in UserPro!
Oh, that’s too bad… I have a couple more question on the matter, if I may:
1. Is this something you are planning on adding to future updates to UserPro?
2. Custom Redirects:
I noticed I can do a custom redirect only for users who have specific values in specific fields, and that this applies to all possible profile fields. Is there any value I can put in the “field value” text box that will apply to all possible answers? What I need is one that on one given field (be it phone, address, city, zip, city, country, gender or age) will account for all possible values, and therefore just check if the user has it set? If so, can I just create two posts for every post I’d want – one to be displayed to non-eligible users, and one that eligible users will be redirected to?Thanks in advance,
mapleteambump once again…
(I should’ve opened a support ticket, but I missed it, sorry)Thanks,
mapleteambump once again…
I really need a solution for this, it’s a vital part of my platform, and I’d much prefer not to try and code this myself, breaking UserPro on the way.Thanks,
mapleteamHello ,
First of all apologies for the disappointment , as mentioned above have you raised the ticket? , if yes could you please help me with your ticket number I will surely try my level best to make it happen if possible !
Thank YOu!Hey,
I just created support ticket nu. 571.
Prompt help will be much appreciated.Thanks,
mapleteamHi,
i’m looking for something similar as mapleteam’s request.
Is it possible to restrict access to post/page only for user of specific country?
Thanks for the support@cosacercoIT ,
It is not possiblee to restrict access to post/page only for user of specific country.
Thank you!@cosacercoIT ,
You might be able to use my idea about custom redirects, where the value of the “country” field is your desired one. It’s less than preferable, to say the least, but it might work. Do notice that it includes creating two posts/pages for every post/page you’d like: one for ineligible users, from which the custom redirect will only refer eligible users, and the post/page itself, to which the redirect will refer, and that should not be visible to all users (who will still be able to access it directly w/ the url).
Good luck, and if it works, it’d be lovely if you could update us.Still waiting for your answer regarding values for the redirection rule in reply #43201, UserPro support team. It’s been quite a long time for a simple answer.
Also, this looks like a useful addition that is not complex to code – you already have a good foundation of your current code.Thanks,
mapleteamIs it regarding ticket #571 you have raised ?
It is being pendng waiting for your reply I guess.?Yes, this is regarding ticket #571.
I replied to the email already, but the email just asked if the problem was solved – and of course it has not.Thanks,
mapleteam
You must be logged in to reply to this topic.