I have a problem and i'll kindly like you to help me. I have a website that users login and register using Community Builder login/register. But for them to access a particular external url, they need to be
1. logged in
2. Enter their billing infor (Paypal..etc)
3. Access the External url
Current Situation
At the moment when they login, and click on the link (Number 3) the access the external url. Number 1 and they move to 3
My Problem :'(
I will like to get their billing info before they access that external url (This should be along with the login info detials)
please find attached to this message the screenshot
Your help will be deeply appreciated..Thanks
I don't understand why you're trying to do this, sorry. How does this stop them from just directly going to your external URL. What PayPal info are you wanting to collect? Need more context to understand what you're trying to do as a better solution maybe possible.
As it stands what you want can't happen without you custom developing something to fit your needs. You would first need a template override for the login module login form to add your custom inputs. Next you'd need a new CB plugin to act on the before login trigger and validate your new inputs. At that point you'd adjust the return URL through the login trigger and let CB handle the redirect from there. CB Auto Actions can't really help with this since it can not modify variables by reference from actions.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Thanks for your reply. They actually need to enter their billing details before they access that section of the website. Is there any other way i can do this reasonably?
What do you mean by billing details? Address? What is the URL they're trying to access? If it's a CB URL there maybe a trigger available to force them to profile edit to provide the address fields. I don't know what to really advise as you're basically needing a custom solution. You need to intercept the URL they're trying to access, check if their profile has your billing detail fields completed, if not send them to a page to supply them, otherwise allow access. Most simple solution I can suggest is act on the onAfterLogin trigger and redirect to profile edit if their billing detail fields are incomplete.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.