Skip to Content Skip to Menu

Linking invites to specific pages

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 217
  • Thanks: 26
  • Karma: 2
1 day 59 minutes ago #341795 by kdave321
Replied by kdave321 on topic Linking invites to specific pages
I was hoping to register the User with most of the required fields in CB's registration page. One that we require is the avatar.  I see how the process works ( with \CBLib\Image\Image ) but I can't say what the final image filename will be without knowing the userid.  How does CB registration page do that, and can it be done from that registerUser function?   Or do I need to edit the user with the filename after retrieving the new userid?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49480
  • Thanks: 8471
  • Karma: 1465
15 hours 27 minutes ago #341800 by krileon
Replied by krileon on topic Linking invites to specific pages
That's going to be substantially more complicated then. Seams like it would be easier to just send users to CBs registration and have CBs registration accept the invite. Easiest way to do that is just use a session variable or even a cookie. The process would be Link > JEvents > Cookie/Session Variable > CB Registration > Accept Invite. That's more or less how CB Invites does it anyway.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum