How to serve new registrator?

12 years 10 months ago #167252 by richard_zhuzhen
How to serve new registrator? was created by richard_zhuzhen
Hello,
My requirement is:
In my site, there are two kind of registrator: teacher and student. When a new student registered, is it possible to assign a teacher to serve the new registrator according to some rules. Are there any potential solutions.
Thanks!
richard

Please Log in to join the conversation.

12 years 10 months ago #167368 by krileon
Replied by krileon on topic Re: How to serve new registrator?
Don't understand, what do you mean by "serve the new registrator". Please be more specific as to what you're wanting.


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 to join the conversation.

12 years 10 months ago #167624 by richard_zhuzhen
Replied by richard_zhuzhen on topic Explain about "How to serve new registrator?"
It is like a customer service system. When a new student sign in for the first time.
The administrator can assign a teacher to serve the student though a link or a cb tab,
and they can talk for each other like the connection function of community builder.
Thanks!
richard

Please Log in to join the conversation.

12 years 10 months ago #167677 by krileon
So you're wanting to automatically make a connection between 2 users based off some pre-defined rules? If am understanding correctly then you could use incubator project CB Queries using the after registration trigger and conditionally check a field to determine who they should be connected to then using queries establish the connection. Example query as follows.
INSERT IGNORE INTO `#__comprofiler_members` ( `referenceid`, `memberid`, `membersince` ) VALUES ( '[user_id]', 'TEACHERS_USER_ID', NOW() )


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.
The following user(s) said Thank You: richard_zhuzhen

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.208 seconds

Facebook Twitter LinkedIn