Skip to Content Skip to Menu

Linking invites to specific pages

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 228
  • Thanks: 26
  • Karma: 2
1 month 2 weeks 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: 49643
  • Thanks: 8493
  • Karma: 1465
1 month 1 week 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.

  • mjl1817
  • mjl1817
  • OFFLINE
  • Posts: 48
  • Thanks: 7
  • Karma: 1
2 weeks 1 day ago #342104 by mjl1817
Replied by mjl1817 on topic Linking invites to specific pages
well this is a part of this..... I want to enable a select group of users to have an invite code that can be reused. like in a youtube video info area where when they arrive it works just like a regular invite (connects them to the person who invited them) I want to use this for content creators who have a sizable following so they can bring their entire base over all at once. Would I use the invite system or would a autoaction do this?
 

I wish I knew, Then we would both know.

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

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 228
  • Thanks: 26
  • Karma: 2
2 weeks 18 hours ago #342112 by kdave321
Replied by kdave321 on topic Linking invites to specific pages
I did get that CB registration example working ( it had an error ), so it was easy to create the user, retrieve the new id and then use the api to edit the user with his avatar.

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

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 228
  • Thanks: 26
  • Karma: 2
2 weeks 18 hours ago #342114 by kdave321
Replied by kdave321 on topic Linking invites to specific pages
I have invites from JEvents working but still need to link the invitee to the inviter.

I would also like an invite to a non-member from a CB group to be connected to that group after they register. On my site, I set up "Custom Groups" that have their own unique login pages, and when they log in, it redirects to their group page.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49643
  • Thanks: 8493
  • Karma: 1465
2 weeks 18 hours ago #342115 by krileon
Replied by krileon on topic Linking invites to specific pages
That's doable with CB Auto Actions. You'd have a text fields for example called "Creator Code" you can then match that code to another user and connect the two or do whatever behavior you like. You'd just need to work out how you're establishing these creator codes. You could for example automatically generate them using PHP and CB Code Field. If you can provide a bit more detail about the registration flow you're wanting I can try to provide some examples.

Alternatively I can review adding support for reusable invite codes to CB Invites since CB Invites already supports invite codes.


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